FormEditor
Vue d’ensemble
FormEditor est une classe dans Aspose.PDF FOSS pour C++.
Cette classe fournit 53 méthodes pour travailler avec des objets FormEditor dans les programmes C++. Les méthodes disponibles comprennent : AddField, AddFieldScript, AddListItem, AddSubmitBtn, ConvertTo, CopyInnerField, CopyOuterField, DecorateField, DelListItem, DestFileName, ExportItems, Facade, et 25 méthodes supplémentaires. Tous les membres publics sont accessibles à toute application C++ après l’installation du paquet Aspose.PDF FOSS pour C++.
Méthodes
| Signature | Description |
|---|---|
FormEditor() | Appelle FormEditor sur cette instance FormEditor. |
Save() | Appelle Save sur cette instance FormEditor. |
AddField(fieldType: FieldType, fieldName: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Appelle AddField(fieldType, fieldName, pageNum, llx, lly, urx, ury) sur cette instance FormEditor. |
AddField(fieldType: FieldType, fieldName: std::string, fieldId: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Appelle AddField(fieldType, fieldName, fieldId, pageNum, llx, lly, urx, ury) sur cette instance FormEditor. |
RemoveField(fieldName: std::string) | Appelle RemoveField(fieldName) sur cette instance FormEditor. |
SetFieldAttribute(fieldName: std::string, flag: PropertyFlag) → bool | Définit la valeur de l’attribut du champ. |
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → bool | Définit la valeur d’apparence du champ. |
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlags | Appelle GetFieldAppearance(fieldName) sur cette instance FormEditor. |
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → bool | Définit la valeur du drapeau de soumission. |
SetSubmitUrl(fieldName: std::string, url: std::string) → bool | Définit la valeur de l’URL de soumission. |
SetFieldLimit(fieldName: std::string, fieldLimit: int) → bool | Définit la valeur de la limite du champ. |
SetFieldCombNumber(fieldName: std::string, combNumber: int) → bool | Définit la valeur du field comb number. |
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → bool | Appelle MoveField(fieldName, llx, lly, urx, ury) sur cette instance de FormEditor. |
SetFieldScript(fieldName: std::string, script: std::string) → bool | Définit la valeur du script du champ. |
AddFieldScript(fieldName: std::string, script: std::string) → bool | Appelle AddFieldScript(fieldName, script) sur cette instance de FormEditor. |
Single2Multiple(fieldName: std::string) → bool | Appelle Single2Multiple(fieldName) sur cette instance de FormEditor. |
SetFieldAlignment(fieldName: std::string, alignment: int) → bool | Définit la valeur d’alignement du champ. |
SetFieldAlignmentV(fieldName: std::string, alignment: int) → bool | Définit la valeur v d’alignement du champ. |
ResetFacade() | Appelle ResetFacade sur cette instance de FormEditor. |
ResetInnerFacade() | Appelle ResetInnerFacade sur cette instance de FormEditor. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Appelle CopyInnerField(fieldName, newFieldName, pageNum) sur cette instance FormEditor. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Appelle CopyInnerField(fieldName, newFieldName, pageNum, offsetX, offsetY) sur cette instance FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string) | Appelle CopyOuterField(fieldName, newFieldName) sur cette instance FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Appelle CopyOuterField(fieldName, newFieldName, pageNum) sur cette instance FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Appelle CopyOuterField(fieldName, newFieldName, pageNum, offsetX, offsetY) sur cette instance FormEditor. |
DecorateField(fieldName: std::string) | Appelle DecorateField(fieldName) sur cette instance FormEditor. |
DecorateField(fieldType: FieldType) | Appelle DecorateField(fieldType) sur cette instance FormEditor. |
DecorateField() | |
RenameField(fieldName: std::string, newFieldName: std::string) | Appelle RenameField(fieldName, newFieldName) sur cette instance FormEditor. |
RemoveFieldAction(fieldName: std::string) | Appelle RemoveFieldAction(fieldName) sur cette instance FormEditor. |
AddSubmitBtn(fieldName: std::string, pageNum: int, buttonName: std::string, url: std::string, llx: float, lly: float, urx: float, ury: float) | Appelle AddSubmitBtn(fieldName, pageNum, buttonName, url, llx, lly, urx, ury) sur cette instance FormEditor. |
AddListItem(fieldName: std::string, item: std::string) | Appelle AddListItem(fieldName, item) sur cette instance FormEditor. |
AddListItem(fieldName: std::string, items: std::vector<std::string>) | Appelle AddListItem(fieldName, items) sur cette instance FormEditor. |
DelListItem(fieldName: std::string, item: std::string) | Appelle DelListItem(fieldName, item) sur cette instance FormEditor. |
SrcFileName() → std::string | Appelle SrcFileName sur cette instance FormEditor. |
SrcFileName(value: std::string) | Appelle SrcFileName(value) sur cette instance FormEditor. |
DestFileName() → std::string | Appelle DestFileName sur cette instance FormEditor. |
DestFileName(value: std::string) | Appelle DestFileName(value) sur cette instance FormEditor. |
ConvertTo(value: Aspose::Pdf::PdfFormat) | Appelle ConvertTo(value) sur cette instance FormEditor. |
Items() → std::vector<std::string> | Appelle Items sur cette instance FormEditor. |
Items(value: std::vector<std::string>) | Appelle Items(value) sur cette instance FormEditor. |
ExportItems() → std::vector<std::vector<std::string>> | Appelle ExportItems sur cette instance FormEditor. |
ExportItems(value: std::vector<std::vector<std::string>>) | Appelle ExportItems(value) sur cette instance FormEditor. |
Facade() → FormFieldFacade | Appelle Facade sur cette instance FormEditor. |
Facade(value: FormFieldFacade) | Appelle Facade(value) sur cette instance FormEditor. |
RadioGap() → float | Appelle RadioGap sur cette instance FormEditor. |
RadioGap(value: float) | Appelle RadioGap(value) sur cette instance FormEditor. |
RadioHoriz() → bool | Appelle RadioHoriz sur cette instance FormEditor. |
RadioHoriz(value: bool) | Appelle RadioHoriz(value) sur cette instance FormEditor. |
RadioButtonItemSize() → double | Appelle RadioButtonItemSize sur cette instance FormEditor. |
RadioButtonItemSize(value: double) | Appelle RadioButtonItemSize(value) sur cette instance FormEditor. |
SubmitFlag() → SubmitFormFlag | Appelle SubmitFlag sur cette instance FormEditor. |
SubmitFlag(value: SubmitFormFlag) | Appelle SubmitFlag(value) sur cette instance FormEditor. |