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

SignatureDescription
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) → boolAppelle 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) → boolAppelle 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) → boolDéfinit la valeur de l’attribut du champ.
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → boolDéfinit la valeur d’apparence du champ.
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlagsAppelle GetFieldAppearance(fieldName) sur cette instance FormEditor.
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → boolDéfinit la valeur du drapeau de soumission.
SetSubmitUrl(fieldName: std::string, url: std::string) → boolDéfinit la valeur de l’URL de soumission.
SetFieldLimit(fieldName: std::string, fieldLimit: int) → boolDéfinit la valeur de la limite du champ.
SetFieldCombNumber(fieldName: std::string, combNumber: int) → boolDéfinit la valeur du field comb number.
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → boolAppelle MoveField(fieldName, llx, lly, urx, ury) sur cette instance de FormEditor.
SetFieldScript(fieldName: std::string, script: std::string) → boolDéfinit la valeur du script du champ.
AddFieldScript(fieldName: std::string, script: std::string) → boolAppelle AddFieldScript(fieldName, script) sur cette instance de FormEditor.
Single2Multiple(fieldName: std::string) → boolAppelle Single2Multiple(fieldName) sur cette instance de FormEditor.
SetFieldAlignment(fieldName: std::string, alignment: int) → boolDéfinit la valeur d’alignement du champ.
SetFieldAlignmentV(fieldName: std::string, alignment: int) → boolDé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::stringAppelle SrcFileName sur cette instance FormEditor.
SrcFileName(value: std::string)Appelle SrcFileName(value) sur cette instance FormEditor.
DestFileName() → std::stringAppelle 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() → FormFieldFacadeAppelle Facade sur cette instance FormEditor.
Facade(value: FormFieldFacade)Appelle Facade(value) sur cette instance FormEditor.
RadioGap() → floatAppelle RadioGap sur cette instance FormEditor.
RadioGap(value: float)Appelle RadioGap(value) sur cette instance FormEditor.
RadioHoriz() → boolAppelle RadioHoriz sur cette instance FormEditor.
RadioHoriz(value: bool)Appelle RadioHoriz(value) sur cette instance FormEditor.
RadioButtonItemSize() → doubleAppelle RadioButtonItemSize sur cette instance FormEditor.
RadioButtonItemSize(value: double)Appelle RadioButtonItemSize(value) sur cette instance FormEditor.
SubmitFlag() → SubmitFormFlagAppelle SubmitFlag sur cette instance FormEditor.
SubmitFlag(value: SubmitFormFlag)Appelle SubmitFlag(value) sur cette instance FormEditor.

Voir aussi

 Français