FormEditor
Overview
FormEditor is a class in Aspose.PDF FOSS for C++.
This class provides 53 methods for working with FormEditor objects in C++ programs.
Available methods include: AddField, AddFieldScript, AddListItem, AddSubmitBtn, ConvertTo, CopyInnerField, CopyOuterField, DecorateField, DelListItem, DestFileName, ExportItems, Facade, and 25 additional methods.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
FormEditor() | Calls FormEditor on this FormEditor instance. |
Save() | Calls Save on this FormEditor instance. |
AddField(fieldType: FieldType, fieldName: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Calls AddField(fieldType, fieldName, pageNum, llx, lly, urx, ury) on this FormEditor instance. |
AddField(fieldType: FieldType, fieldName: std::string, fieldId: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Calls AddField(fieldType, fieldName, fieldId, pageNum, llx, lly, urx, ury) on this FormEditor instance. |
RemoveField(fieldName: std::string) | Calls RemoveField(fieldName) on this FormEditor instance. |
SetFieldAttribute(fieldName: std::string, flag: PropertyFlag) → bool | Sets the field attribute value. |
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → bool | Sets the field appearance value. |
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlags | Calls GetFieldAppearance(fieldName) on this FormEditor instance. |
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → bool | Sets the submit flag value. |
SetSubmitUrl(fieldName: std::string, url: std::string) → bool | Sets the submit url value. |
SetFieldLimit(fieldName: std::string, fieldLimit: int) → bool | Sets the field limit value. |
SetFieldCombNumber(fieldName: std::string, combNumber: int) → bool | Sets the field comb number value. |
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → bool | Calls MoveField(fieldName, llx, lly, urx, ury) on this FormEditor instance. |
SetFieldScript(fieldName: std::string, script: std::string) → bool | Sets the field script value. |
AddFieldScript(fieldName: std::string, script: std::string) → bool | Calls AddFieldScript(fieldName, script) on this FormEditor instance. |
Single2Multiple(fieldName: std::string) → bool | Calls Single2Multiple(fieldName) on this FormEditor instance. |
SetFieldAlignment(fieldName: std::string, alignment: int) → bool | Sets the field alignment value. |
SetFieldAlignmentV(fieldName: std::string, alignment: int) → bool | Sets the field alignment v value. |
ResetFacade() | Calls ResetFacade on this FormEditor instance. |
ResetInnerFacade() | Calls ResetInnerFacade on this FormEditor instance. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Calls CopyInnerField(fieldName, newFieldName, pageNum) on this FormEditor instance. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Calls CopyInnerField(fieldName, newFieldName, pageNum, offsetX, offsetY) on this FormEditor instance. |
CopyOuterField(fieldName: std::string, newFieldName: std::string) | Calls CopyOuterField(fieldName, newFieldName) on this FormEditor instance. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Calls CopyOuterField(fieldName, newFieldName, pageNum) on this FormEditor instance. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Calls CopyOuterField(fieldName, newFieldName, pageNum, offsetX, offsetY) on this FormEditor instance. |
DecorateField(fieldName: std::string) | Calls DecorateField(fieldName) on this FormEditor instance. |
DecorateField(fieldType: FieldType) | Calls DecorateField(fieldType) on this FormEditor instance. |
DecorateField() | |
RenameField(fieldName: std::string, newFieldName: std::string) | Calls RenameField(fieldName, newFieldName) on this FormEditor instance. |
RemoveFieldAction(fieldName: std::string) | Calls RemoveFieldAction(fieldName) on this FormEditor instance. |
AddSubmitBtn(fieldName: std::string, pageNum: int, buttonName: std::string, url: std::string, llx: float, lly: float, urx: float, ury: float) | Calls AddSubmitBtn(fieldName, pageNum, buttonName, url, llx, lly, urx, ury) on this FormEditor instance. |
AddListItem(fieldName: std::string, item: std::string) | Calls AddListItem(fieldName, item) on this FormEditor instance. |
AddListItem(fieldName: std::string, items: std::vector<std::string>) | Calls AddListItem(fieldName, items) on this FormEditor instance. |
DelListItem(fieldName: std::string, item: std::string) | Calls DelListItem(fieldName, item) on this FormEditor instance. |
SrcFileName() → std::string | Calls SrcFileName on this FormEditor instance. |
SrcFileName(value: std::string) | Calls SrcFileName(value) on this FormEditor instance. |
DestFileName() → std::string | Calls DestFileName on this FormEditor instance. |
DestFileName(value: std::string) | Calls DestFileName(value) on this FormEditor instance. |
ConvertTo(value: Aspose::Pdf::PdfFormat) | Calls ConvertTo(value) on this FormEditor instance. |
Items() → std::vector<std::string> | Calls Items on this FormEditor instance. |
Items(value: std::vector<std::string>) | Calls Items(value) on this FormEditor instance. |
ExportItems() → std::vector<std::vector<std::string>> | Calls ExportItems on this FormEditor instance. |
ExportItems(value: std::vector<std::vector<std::string>>) | Calls ExportItems(value) on this FormEditor instance. |
Facade() → FormFieldFacade | Calls Facade on this FormEditor instance. |
Facade(value: FormFieldFacade) | Calls Facade(value) on this FormEditor instance. |
RadioGap() → float | Calls RadioGap on this FormEditor instance. |
RadioGap(value: float) | Calls RadioGap(value) on this FormEditor instance. |
RadioHoriz() → bool | Calls RadioHoriz on this FormEditor instance. |
RadioHoriz(value: bool) | Calls RadioHoriz(value) on this FormEditor instance. |
RadioButtonItemSize() → double | Calls RadioButtonItemSize on this FormEditor instance. |
RadioButtonItemSize(value: double) | Calls RadioButtonItemSize(value) on this FormEditor instance. |
SubmitFlag() → SubmitFormFlag | Calls SubmitFlag on this FormEditor instance. |
SubmitFlag(value: SubmitFormFlag) | Calls SubmitFlag(value) on this FormEditor instance. |