Status of imported field More...
Inherits Aspose::Pdf::Facades::SaveableFacade.
Classes | |
class | FormImportResult |
Class which describes result if field import. More... | |
Public Types | |
enum | ImportStatus { ImportStatus::Success, ImportStatus::FieldNotFound } |
Status of imported field More... | |
![]() | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
typedef System::Details::SharedMembersType | shared_members_type |
structure to keep list of shared pointers contained in object. More... | |
Public Member Functions | |
System::ArrayPtr< System::SharedPtr< Form::FormImportResult > > | get_ImportResult () |
Result of last import operation. Array of objects which descibre result of import for each field. More... | |
System::String | get_SrcFileName () const |
Gets source file name. More... | |
void | set_SrcFileName (System::String value) |
Sets source file name. More... | |
void | set_ConvertTo (PdfFormat value) |
Sets PDF file format. Result file will be saved in specified file format. If this property is not specified then file will be save in default PDF format without conversion. More... | |
System::String | get_DestFileName () const |
Gets destiination file name. More... | |
void | set_DestFileName (System::String value) |
Sets destiination file name. More... | |
System::SharedPtr< System::IO::Stream > | get_SrcStream () const |
Gets source stream. More... | |
void | set_SrcStream (System::SharedPtr< System::IO::Stream > value) |
Sets source stream. More... | |
System::SharedPtr< System::IO::Stream > | get_DestStream () const |
Gets destination stream. More... | |
void | set_DestStream (System::SharedPtr< System::IO::Stream > value) |
Sets destination stream. More... | |
System::ArrayPtr< System::String > | get_FieldNames () |
Gets list of field names on the form. More... | |
System::ArrayPtr< System::String > | get_FormSubmitButtonNames () |
Gets all form submit button names. More... | |
Aspose::Pdf::ContentDisposition | get_ContentDisposition () const |
Gets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline. More... | |
void | set_ContentDisposition (Aspose::Pdf::ContentDisposition value) |
Sets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline. More... | |
System::SharedPtr< System::Web::HttpResponse > | get_Response () const |
Gets Response object where result of operation will be stored. More... | |
void | set_Response (System::SharedPtr< System::Web::HttpResponse > value) |
Sets Response object where result of operation will be stored. More... | |
System::SharedPtr< Aspose::Pdf::SaveOptions > | get_SaveOptions () const |
Gets save options when result is stored as HttpResponse. Default value: PdfSaveOptions. More... | |
void | set_SaveOptions (System::SharedPtr< Aspose::Pdf::SaveOptions > value) |
Sets save options when result is stored as HttpResponse. Default value: PdfSaveOptions. More... | |
System::String | get_AttachmentName () const |
Gets name of attachment when result of operation is stored into HttpResponse objects as attachment. More... | |
void | set_AttachmentName (System::String value) |
Sets name of attachment when result of operation is stored into HttpResponse objects as attachment. More... | |
System::SharedPtr< FormFieldFacade > | GetFieldFacade (System::String fieldName) |
Returns FrofmFieldFacade object containing all appearance attributes. FormFieldFacade field = form.GetFieldFacade("field1"); Console.WriteLine("Color of field border: " + field.BorderColor); | |
Form (System::SharedPtr< System::IO::Stream > srcStream, System::SharedPtr< System::IO::Stream > destStream) | |
Constructor of Form with two stream parameters. Specify same source and destination stream for incremental update. More... | |
Form () | |
Construtcor of Form without parameters. More... | |
bool | FillField (System::String fieldName, System::String fieldValue) |
Fills the field with a valid value according to a fully qualified field name. Before filling the fields, every field's names and its corresponding valid values must be known. Both the fields' name and values are case sensitive. Please note that Aspose.Pdf.Facades supports only full field names and does not work with partial field names in contrast with Aspose.Pdf.Kit; For example if field has full name "Form.Subform.TextField" you should specify full name and not "TextField". You can use FieldNames property to explore existing field names and search required field by its partial name. More... | |
bool | FillField (System::String fieldName, int32_t index) |
Fills the radio box field with a valid index value according to a fully qualified field name. Before filling the fields, only field's name must be known. While the value can be specified by its index. Notice: Only be applied to Radio Box, Combo Box and List Box fields. Please note that Aspose.Pdf.Facades supports only full field names and does not work with partial field names in contrast with Aspose.Pdf.Kit; For example if field has full name "Form.Subform.ListBoxField" you should specify full name and not "ListBoxField". You can use FieldNames property to explore existing field names and search required field by its partial name. More... | |
bool | FillField (System::String fieldName, bool beChecked) |
Fills the check box field with a boolean value. Notice: Only be applied to Check Box. Please note that Aspose.Pdf.Facades supports only full field names and does not work with partial field names in contrast with Aspose.Pdf.Kit; For example if field has full name "Form.Subform.CheckBoxField" you should specify full name and not "CheckBoxField". You can use FieldNames property to explore existing field names and search required field by its partial name. More... | |
System::String | GetButtonOptionCurrentValue (System::String fieldName) |
Returns the current value for radio button option fields. More... | |
System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::String > > | GetButtonOptionValues (System::String fieldName) |
Gets the radio button option fields and related values based on the field name. This method has meaning for radio button groups. More... | |
System::String | GetField (System::String fieldName) |
Gets the field's value according to its field name. More... | |
System::String | GetFullFieldName (System::String fieldName) |
Gets the full field name according to its short field name. More... | |
int32_t | GetFieldLimit (System::String fieldName) |
Get the limitation of text field. More... | |
void | Save () |
Saves the value of the filled fields and close the opened Pdf document. More... | |
virtual void | Save (System::String destFile) |
Saves document into specified file. More... | |
virtual void | Save (System::SharedPtr< System::IO::Stream > destStream) |
Saves document into specified stream. More... | |
virtual void | Close () |
Closes opened files without any changes. More... | |
void | FlattenAllFields () |
Flattens all the fields. More... | |
void | FlattenField (System::String fieldName) |
Flattens a specified field with the fully qualified field name. Any other field will remain unchangable. If the fieldName is invalid, all the fields will remain unchangable. More... | |
bool | FillBarcodeField (System::String fieldName, System::String data) |
Fill a barcode field according to its fully qualified field name. More... | |
void | ImportFdf (System::SharedPtr< System::IO::Stream > inputFdfStream) |
Imports the content of the fields from the fdf file and put them into the new pdf. More... | |
void | ExportFdf (System::SharedPtr< System::IO::Stream > outputFdfStream) |
Exports the content of the fields of the pdf into the fdf stream. More... | |
void | ImportXml (System::SharedPtr< System::IO::Stream > inputXmlStream) |
Imports the content of the fields from the xml file and put them into the new pdf. More... | |
void | ExportXml (System::SharedPtr< System::IO::Stream > outputXmlStream) |
Exports the content of the fields of the pdf into the xml stream. The button field's value will not be exported. More... | |
void | ExtractXfaData (System::SharedPtr< System::IO::Stream > outputXmlStream) |
Extracts XFA data packet More... | |
void | SetXfaData (System::SharedPtr< System::IO::Stream > inputXmlStream) |
Replaces XFA data with specified data packet. Data packet may be extracted using ExtractXfaData. More... | |
void | ImportXfdf (System::SharedPtr< System::IO::Stream > inputXfdfStream) |
Imports the content of the fields from the xfdf(xml) file and put them into the new pdf. More... | |
void | ExportXfdf (System::SharedPtr< System::IO::Stream > outputXfdfStream) |
Exports the content of the fields of the pdf into the xml stream. The button field's value will not be exported. More... | |
void | FillField (System::String fieldName, System::ArrayPtr< System::String > fieldValues) |
Fill a field with multiple selections.Note: only for AcroForm List Box Field. More... | |
void | RenameField (System::String fieldName, System::String newFieldName) |
Renames a field. Either AcroForm field or XFA field is OK. More... | |
System::String | GetRichText (System::String fieldName) |
Get a Rich Text field's value, including the formattinf information of every character. More... | |
SubmitFormFlag | GetSubmitFlags (System::String fieldName) |
Returns the submit button's submission flags More... | |
Form (System::String srcFileName) | |
Constructor of Form. More... | |
Form (System::SharedPtr< System::IO::Stream > srcStream) | |
Constructor for form. More... | |
Form (System::String srcFileName, System::String destFileName) | |
Constructor of Form class. Specify same source file name and destination file name to perform incremental update. More... | |
Form (System::String srcFileName, System::SharedPtr< System::IO::Stream > destStream) | |
Constructor of Form. More... | |
Form (System::SharedPtr< System::IO::Stream > srcStream, System::String destFileName) | |
Constructor of Form More... | |
FieldType | GetFieldType (System::String fieldName) |
Returns type of field. More... | |
bool | IsRequiredField (System::String fieldName) |
Determines whether field is required or not. More... | |
PropertyFlag | GetFieldFlag (System::String fieldName) |
Returns flags of the field. More... | |
void | FillImageField (System::String fieldName, System::String imageFileName) |
Pastes an image onto the existing button field as its appearance according to its fully qualified field name. More... | |
void | FillImageField (System::String fieldName, System::SharedPtr< System::IO::Stream > imageStream) |
Overloads function of FillImageField. The input is a image stream. More... | |
Form (System::SharedPtr< Aspose::Pdf::Document > document) | |
Initializes new Form object on base of the document . More... | |
Form (System::SharedPtr< Aspose::Pdf::Document > document, System::String destFileName) | |
Initializes new Form object on base of the document . More... | |
Form (System::SharedPtr< Aspose::Pdf::Document > document, System::SharedPtr< System::IO::Stream > destStream) | |
Initializes new Form object on base of the document . More... | |
void | ImportXml (System::SharedPtr< System::IO::Stream > inputXmlStream, bool IgnoreFormTemplateChanges) |
Imports the content of the fields from the xml file and put them into the new pdf. More... | |
bool | FillField (System::String fieldName, System::String value, bool fitFontSize) |
Fills field with specified value. More... | |
Form (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::Web::HttpResponse > response) | |
Creates form which will save result into HttpResponse object. More... | |
Form (System::String inputFile, System::SharedPtr< System::Web::HttpResponse > response) | |
Creates form which will save result into HttpResponse object. More... | |
![]() | |
System::SharedPtr< Aspose::Pdf::Document > | get_Document () const |
Gets the document facade is working on. More... | |
void | SetVentureLicense (System::SharedPtr< Aspose::Pdf::LicenseManagement::VentureLicense > license) |
System::SharedPtr< Aspose::Pdf::LicenseManagement::VentureLicense > | GetVentureLicense () |
virtual void | BindPdf (System::String srcFile) |
Initializes the facade. More... | |
virtual void | BindPdf (System::SharedPtr< System::IO::Stream > srcStream) |
Initializes the facade. More... | |
virtual void | BindPdf (System::SharedPtr< Aspose::Pdf::Document > srcDoc) |
Initializes the facade. More... | |
void | Dispose () |
Disposes the facade. More... | |
![]() | |
virtual void | BindPdf (System::SharedPtr< Document > srcDoc)=0 |
Binds PDF document for editing. More... | |
![]() | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared refernce counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () const |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (unsigned int argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
![]() | |
virtual void | SetVentureLicense (System::SharedPtr< VentureLicense > license)=0 |
Protected Member Functions | |
virtual void | BindPdf (System::SharedPtr< System::IO::Stream > srcStream, System::String password) |
Initializes the facade. More... | |
virtual void | BindPdf (System::String srcFile, System::String password) |
Initializes the facade. More... | |
System::SharedPtr< System::Xml::XmlNode > | GetFieldTemplate (System::String fieldName) |
![]() | |
SaveableFacade () | |
The constructor. More... | |
SaveableFacade (System::SharedPtr< Aspose::Pdf::Document > srcDoc) | |
The constructor. More... | |
![]() | |
bool | get__IsObjectLicensed () |
Gets licensed state of the system. Returns true is system works in licensed mode and false otherwise. More... | |
Facade () | |
The constructor. More... | |
Facade (System::SharedPtr< Aspose::Pdf::Document > srcDoc) | |
The constructor. More... | |
virtual void | AssertDocument () const |
Asserts if the facade is initialized. More... | |
virtual | ~Facade () |
Static Protected Member Functions | |
static bool | IsImageField (System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > annotation) |
static FieldType | getFieldType (System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > annotation) |
Additional Inherited Members | |
![]() | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. More... | |
static const TypeInfo & | Type () |
Impleemnts C# typeof(System.Object) construct. More... | |
Status of imported field
|
strong |
Aspose::Pdf::Facades::Form::Form | ( | System::SharedPtr< System::IO::Stream > | srcStream, |
System::SharedPtr< System::IO::Stream > | destStream | ||
) |
Constructor of Form with two stream parameters. Specify same source and destination stream for incremental update.
srcStream | Source stream. |
destStream | Destination stream. |
Aspose::Pdf::Facades::Form::Form | ( | ) |
Aspose::Pdf::Facades::Form::Form | ( | System::String | srcFileName | ) |
Aspose::Pdf::Facades::Form::Form | ( | System::SharedPtr< System::IO::Stream > | srcStream | ) |
Constructor for form.
srcStream | source stream. |
Aspose::Pdf::Facades::Form::Form | ( | System::String | srcFileName, |
System::String | destFileName | ||
) |
Constructor of Form class. Specify same source file name and destination file name to perform incremental update.
srcFileName | Path of the source file. |
destFileName | Path of the destination file. |
Aspose::Pdf::Facades::Form::Form | ( | System::String | srcFileName, |
System::SharedPtr< System::IO::Stream > | destStream | ||
) |
Constructor of Form.
srcFileName | Source file path. |
destStream | Destination file path. |
Aspose::Pdf::Facades::Form::Form | ( | System::SharedPtr< System::IO::Stream > | srcStream, |
System::String | destFileName | ||
) |
Constructor of Form
srcStream | Source stream. |
destFileName | Destination file path. |
Aspose::Pdf::Facades::Form::Form | ( | System::SharedPtr< Aspose::Pdf::Document > | document | ) |
Aspose::Pdf::Facades::Form::Form | ( | System::SharedPtr< Aspose::Pdf::Document > | document, |
System::String | destFileName | ||
) |
Initializes new Form object on base of the document .
document | Pdf document. |
destFileName | Path of the destination file. |
Aspose::Pdf::Facades::Form::Form | ( | System::SharedPtr< Aspose::Pdf::Document > | document, |
System::SharedPtr< System::IO::Stream > | destStream | ||
) |
Initializes new Form object on base of the document .
document | Pdf document. |
destStream | Destination stream. |
Aspose::Pdf::Facades::Form::Form | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Creates form which will save result into HttpResponse object.
inputStream | Stream containing source document. |
response | HttpResponse object where result will be saved. |
Aspose::Pdf::Facades::Form::Form | ( | System::String | inputFile, |
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Creates form which will save result into HttpResponse object.
inputFile | Name of input file. |
response | HttpResponse object where result will be stored. |
|
protectedvirtual |
Initializes the facade.
srcStream | The stream of PDF file. |
password | The password of the PDF document. |
Reimplemented from Aspose::Pdf::Facades::Facade.
|
protectedvirtual |
Initializes the facade.
srcFile | The PDF file. |
password | The password of the PDF document. |
Reimplemented from Aspose::Pdf::Facades::Facade.
|
virtual |
Closes opened files without any changes.
Reimplemented from Aspose::Pdf::Facades::Facade.
void Aspose::Pdf::Facades::Form::ExportFdf | ( | System::SharedPtr< System::IO::Stream > | outputFdfStream | ) |
Exports the content of the fields of the pdf into the fdf stream.
outputFdfStream | The output fdf stream. |
void Aspose::Pdf::Facades::Form::ExportXfdf | ( | System::SharedPtr< System::IO::Stream > | outputXfdfStream | ) |
Exports the content of the fields of the pdf into the xml stream. The button field's value will not be exported.
outputXfdfStream | The output xml stream. |
void Aspose::Pdf::Facades::Form::ExportXml | ( | System::SharedPtr< System::IO::Stream > | outputXmlStream | ) |
Exports the content of the fields of the pdf into the xml stream. The button field's value will not be exported.
outputXmlStream | Output Xml stream. |
void Aspose::Pdf::Facades::Form::ExtractXfaData | ( | System::SharedPtr< System::IO::Stream > | outputXmlStream | ) |
Extracts XFA data packet
outputXmlStream | Stream where XML data will be stored. |
bool Aspose::Pdf::Facades::Form::FillBarcodeField | ( | System::String | fieldName, |
System::String | data | ||
) |
bool Aspose::Pdf::Facades::Form::FillField | ( | System::String | fieldName, |
System::String | fieldValue | ||
) |
Fills the field with a valid value according to a fully qualified field name. Before filling the fields, every field's names and its corresponding valid values must be known. Both the fields' name and values are case sensitive. Please note that Aspose.Pdf.Facades supports only full field names and does not work with partial field names in contrast with Aspose.Pdf.Kit; For example if field has full name "Form.Subform.TextField" you should specify full name and not "TextField". You can use FieldNames property to explore existing field names and search required field by its partial name.
fieldName | The field's name to be filled. |
fieldValue | The field's value which must be a valid value for some fields. |
bool Aspose::Pdf::Facades::Form::FillField | ( | System::String | fieldName, |
int32_t | index | ||
) |
Fills the radio box field with a valid index value according to a fully qualified field name. Before filling the fields, only field's name must be known. While the value can be specified by its index. Notice: Only be applied to Radio Box, Combo Box and List Box fields. Please note that Aspose.Pdf.Facades supports only full field names and does not work with partial field names in contrast with Aspose.Pdf.Kit; For example if field has full name "Form.Subform.ListBoxField" you should specify full name and not "ListBoxField". You can use FieldNames property to explore existing field names and search required field by its partial name.
fieldName | Name of field to be filled. |
index | Index of chosen item. |
bool Aspose::Pdf::Facades::Form::FillField | ( | System::String | fieldName, |
bool | beChecked | ||
) |
Fills the check box field with a boolean value. Notice: Only be applied to Check Box. Please note that Aspose.Pdf.Facades supports only full field names and does not work with partial field names in contrast with Aspose.Pdf.Kit; For example if field has full name "Form.Subform.CheckBoxField" you should specify full name and not "CheckBoxField". You can use FieldNames property to explore existing field names and search required field by its partial name.
fieldName | The field's name to be filled. |
beChecked | A boolean flag: true means to check the box, while false to uncheck it. |
void Aspose::Pdf::Facades::Form::FillField | ( | System::String | fieldName, |
System::ArrayPtr< System::String > | fieldValues | ||
) |
Fill a field with multiple selections.Note: only for AcroForm List Box Field.
fieldName | The fully qualified field name. |
fieldValues | A string array which contains several items to be selected. |
bool Aspose::Pdf::Facades::Form::FillField | ( | System::String | fieldName, |
System::String | value, | ||
bool | fitFontSize | ||
) |
Fills field with specified value.
fieldName | Name of field |
value | New value of the field |
fitFontSize | If true, the font size in the edit boxes will be fitted. |
void Aspose::Pdf::Facades::Form::FillImageField | ( | System::String | fieldName, |
System::String | imageFileName | ||
) |
Pastes an image onto the existing button field as its appearance according to its fully qualified field name.
fieldName | The fully qualified field name of the image button field. |
imageFileName | The path of the image file, relative and absolute are both ok. |
void Aspose::Pdf::Facades::Form::FillImageField | ( | System::String | fieldName, |
System::SharedPtr< System::IO::Stream > | imageStream | ||
) |
Overloads function of FillImageField. The input is a image stream.
fieldName | The fully qualified field name. |
imageStream | The image's stream. |
void Aspose::Pdf::Facades::Form::FlattenAllFields | ( | ) |
void Aspose::Pdf::Facades::Form::FlattenField | ( | System::String | fieldName | ) |
Flattens a specified field with the fully qualified field name. Any other field will remain unchangable. If the fieldName is invalid, all the fields will remain unchangable.
fieldName | The name of the field to be flattened. |
System::String Aspose::Pdf::Facades::Form::get_AttachmentName | ( | ) | const |
Gets name of attachment when result of operation is stored into HttpResponse objects as attachment.
Aspose::Pdf::ContentDisposition Aspose::Pdf::Facades::Form::get_ContentDisposition | ( | ) | const |
Gets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline.
System::String Aspose::Pdf::Facades::Form::get_DestFileName | ( | ) | const |
System::SharedPtr<System::IO::Stream> Aspose::Pdf::Facades::Form::get_DestStream | ( | ) | const |
Gets destination stream.
System::ArrayPtr<System::String> Aspose::Pdf::Facades::Form::get_FieldNames | ( | ) |
System::ArrayPtr<System::String> Aspose::Pdf::Facades::Form::get_FormSubmitButtonNames | ( | ) |
System::ArrayPtr<System::SharedPtr<Form::FormImportResult> > Aspose::Pdf::Facades::Form::get_ImportResult | ( | ) |
Result of last import operation. Array of objects which descibre result of import for each field.
System::SharedPtr<System::Web::HttpResponse> Aspose::Pdf::Facades::Form::get_Response | ( | ) | const |
Gets Response object where result of operation will be stored.
System::SharedPtr<Aspose::Pdf::SaveOptions> Aspose::Pdf::Facades::Form::get_SaveOptions | ( | ) | const |
Gets save options when result is stored as HttpResponse. Default value: PdfSaveOptions.
System::String Aspose::Pdf::Facades::Form::get_SrcFileName | ( | ) | const |
System::SharedPtr<System::IO::Stream> Aspose::Pdf::Facades::Form::get_SrcStream | ( | ) | const |
System::String Aspose::Pdf::Facades::Form::GetButtonOptionCurrentValue | ( | System::String | fieldName | ) |
Returns the current value for radio button option fields.
fieldName | Field Name |
System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::String> > Aspose::Pdf::Facades::Form::GetButtonOptionValues | ( | System::String | fieldName | ) |
Gets the radio button option fields and related values based on the field name. This method has meaning for radio button groups.
fieldName | Field Name |
System::String Aspose::Pdf::Facades::Form::GetField | ( | System::String | fieldName | ) |
System::SharedPtr<FormFieldFacade> Aspose::Pdf::Facades::Form::GetFieldFacade | ( | System::String | fieldName | ) |
Returns FrofmFieldFacade object containing all appearance attributes.
fieldName | Name of field to read. |
PropertyFlag Aspose::Pdf::Facades::Form::GetFieldFlag | ( | System::String | fieldName | ) |
Returns flags of the field.
fieldName | Field name |
int32_t Aspose::Pdf::Facades::Form::GetFieldLimit | ( | System::String | fieldName | ) |
|
protected |
FieldType Aspose::Pdf::Facades::Form::GetFieldType | ( | System::String | fieldName | ) |
|
staticprotected |
System::String Aspose::Pdf::Facades::Form::GetFullFieldName | ( | System::String | fieldName | ) |
System::String Aspose::Pdf::Facades::Form::GetRichText | ( | System::String | fieldName | ) |
SubmitFormFlag Aspose::Pdf::Facades::Form::GetSubmitFlags | ( | System::String | fieldName | ) |
Returns the submit button's submission flags
fieldName | The qualified field name. |
void Aspose::Pdf::Facades::Form::ImportFdf | ( | System::SharedPtr< System::IO::Stream > | inputFdfStream | ) |
Imports the content of the fields from the fdf file and put them into the new pdf.
inputFdfStream | The input fdf stream. |
void Aspose::Pdf::Facades::Form::ImportXfdf | ( | System::SharedPtr< System::IO::Stream > | inputXfdfStream | ) |
Imports the content of the fields from the xfdf(xml) file and put them into the new pdf.
inputXfdfStream | The input xfdf(xml) stream. |
void Aspose::Pdf::Facades::Form::ImportXml | ( | System::SharedPtr< System::IO::Stream > | inputXmlStream | ) |
Imports the content of the fields from the xml file and put them into the new pdf.
inputXmlStream | Stream from which XML for import is read. |
void Aspose::Pdf::Facades::Form::ImportXml | ( | System::SharedPtr< System::IO::Stream > | inputXmlStream, |
bool | IgnoreFormTemplateChanges | ||
) |
Imports the content of the fields from the xml file and put them into the new pdf.
inputXmlStream | The input xml stream. |
IgnoreFormTemplateChanges | If this parameter is true then all changes of the XFA form template will not be saved |
|
staticprotected |
bool Aspose::Pdf::Facades::Form::IsRequiredField | ( | System::String | fieldName | ) |
Determines whether field is required or not.
fieldName | The name of field. |
void Aspose::Pdf::Facades::Form::RenameField | ( | System::String | fieldName, |
System::String | newFieldName | ||
) |
void Aspose::Pdf::Facades::Form::Save | ( | ) |
Saves the value of the filled fields and close the opened Pdf document.
|
virtual |
Saves document into specified file.
destFile | File where document will be saved. |
Reimplemented from Aspose::Pdf::Facades::SaveableFacade.
|
virtual |
Saves document into specified stream.
destStream | Stream where document will be saved. |
Reimplemented from Aspose::Pdf::Facades::SaveableFacade.
void Aspose::Pdf::Facades::Form::set_AttachmentName | ( | System::String | value | ) |
Sets name of attachment when result of operation is stored into HttpResponse objects as attachment.
void Aspose::Pdf::Facades::Form::set_ContentDisposition | ( | Aspose::Pdf::ContentDisposition | value | ) |
Sets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline.
void Aspose::Pdf::Facades::Form::set_ConvertTo | ( | PdfFormat | value | ) |
Sets PDF file format. Result file will be saved in specified file format. If this property is not specified then file will be save in default PDF format without conversion.
void Aspose::Pdf::Facades::Form::set_DestFileName | ( | System::String | value | ) |
void Aspose::Pdf::Facades::Form::set_DestStream | ( | System::SharedPtr< System::IO::Stream > | value | ) |
Sets destination stream.
void Aspose::Pdf::Facades::Form::set_Response | ( | System::SharedPtr< System::Web::HttpResponse > | value | ) |
Sets Response object where result of operation will be stored.
void Aspose::Pdf::Facades::Form::set_SaveOptions | ( | System::SharedPtr< Aspose::Pdf::SaveOptions > | value | ) |
Sets save options when result is stored as HttpResponse. Default value: PdfSaveOptions.
void Aspose::Pdf::Facades::Form::set_SrcFileName | ( | System::String | value | ) |
void Aspose::Pdf::Facades::Form::set_SrcStream | ( | System::SharedPtr< System::IO::Stream > | value | ) |
void Aspose::Pdf::Facades::Form::SetXfaData | ( | System::SharedPtr< System::IO::Stream > | inputXmlStream | ) |
Replaces XFA data with specified data packet. Data packet may be extracted using ExtractXfaData.
inputXmlStream | Stream where XML is stored. |