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

SignatureDescription
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)boolCalls 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)boolCalls 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)boolSets the field attribute value.
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags)boolSets the field appearance value.
GetFieldAppearance(fieldName: std::string)Aspose::Pdf::Annotations::AnnotationFlagsCalls GetFieldAppearance(fieldName) on this FormEditor instance.
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag)boolSets the submit flag value.
SetSubmitUrl(fieldName: std::string, url: std::string)boolSets the submit url value.
SetFieldLimit(fieldName: std::string, fieldLimit: int)boolSets the field limit value.
SetFieldCombNumber(fieldName: std::string, combNumber: int)boolSets the field comb number value.
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float)boolCalls MoveField(fieldName, llx, lly, urx, ury) on this FormEditor instance.
SetFieldScript(fieldName: std::string, script: std::string)boolSets the field script value.
AddFieldScript(fieldName: std::string, script: std::string)boolCalls AddFieldScript(fieldName, script) on this FormEditor instance.
Single2Multiple(fieldName: std::string)boolCalls Single2Multiple(fieldName) on this FormEditor instance.
SetFieldAlignment(fieldName: std::string, alignment: int)boolSets the field alignment value.
SetFieldAlignmentV(fieldName: std::string, alignment: int)boolSets 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::stringCalls SrcFileName on this FormEditor instance.
SrcFileName(value: std::string)Calls SrcFileName(value) on this FormEditor instance.
DestFileName()std::stringCalls 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()FormFieldFacadeCalls Facade on this FormEditor instance.
Facade(value: FormFieldFacade)Calls Facade(value) on this FormEditor instance.
RadioGap()floatCalls RadioGap on this FormEditor instance.
RadioGap(value: float)Calls RadioGap(value) on this FormEditor instance.
RadioHoriz()boolCalls RadioHoriz on this FormEditor instance.
RadioHoriz(value: bool)Calls RadioHoriz(value) on this FormEditor instance.
RadioButtonItemSize()doubleCalls RadioButtonItemSize on this FormEditor instance.
RadioButtonItemSize(value: double)Calls RadioButtonItemSize(value) on this FormEditor instance.
SubmitFlag()SubmitFormFlagCalls SubmitFlag on this FormEditor instance.
SubmitFlag(value: SubmitFormFlag)Calls SubmitFlag(value) on this FormEditor instance.

See Also