FormEditor
Visão geral
FormEditor é uma classe em Aspose.PDF FOSS para C++.
Esta classe fornece 53 métodos para trabalhar com objetos FormEditor em programas C++. Os métodos disponíveis incluem: AddField, AddFieldScript, AddListItem, AddSubmitBtn, ConvertTo, CopyInnerField, CopyOuterField, DecorateField, DelListItem, DestFileName, ExportItems, Facade, e 25 métodos adicionais. Todos os membros públicos são acessíveis a qualquer aplicação C++ após a instalação do pacote Aspose.PDF FOSS para C++.
Métodos
| Assinatura | Descrição |
|---|---|
FormEditor() | Chama FormEditor nesta instância de FormEditor. |
Save() | Chama Save nesta instância de FormEditor. |
AddField(fieldType: FieldType, fieldName: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Chama AddField(fieldType, fieldName, pageNum, llx, lly, urx, ury) nesta instância de FormEditor. |
AddField(fieldType: FieldType, fieldName: std::string, fieldId: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Chama AddField(fieldType, fieldName, fieldId, pageNum, llx, lly, urx, ury) nesta instância de FormEditor. |
RemoveField(fieldName: std::string) | Chama RemoveField(fieldName) nesta instância de FormEditor. |
SetFieldAttribute(fieldName: std::string, flag: PropertyFlag) → bool | Define o valor do atributo do campo. |
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → bool | Define o valor de aparência do campo. |
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlags | Chama GetFieldAppearance(fieldName) nesta instância de FormEditor. |
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → bool | Define o valor da bandeira de envio. |
SetSubmitUrl(fieldName: std::string, url: std::string) → bool | Define o valor da URL de envio. |
SetFieldLimit(fieldName: std::string, fieldLimit: int) → bool | Define o valor limite do campo. |
SetFieldCombNumber(fieldName: std::string, combNumber: int) → bool | Define o valor do número de comb do campo. |
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → bool | Chama MoveField(fieldName, llx, lly, urx, ury) nesta instância de FormEditor. |
SetFieldScript(fieldName: std::string, script: std::string) → bool | Define o valor do script do campo. |
AddFieldScript(fieldName: std::string, script: std::string) → bool | Chama AddFieldScript(fieldName, script) nesta instância de FormEditor. |
Single2Multiple(fieldName: std::string) → bool | Chama Single2Multiple(fieldName) nesta instância de FormEditor. |
SetFieldAlignment(fieldName: std::string, alignment: int) → bool | Define o valor de alinhamento do campo. |
SetFieldAlignmentV(fieldName: std::string, alignment: int) → bool | Define o valor v de alinhamento do campo. |
ResetFacade() | Chama ResetFacade nesta instância de FormEditor. |
ResetInnerFacade() | Chama ResetInnerFacade nesta instância de FormEditor. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Chama CopyInnerField(fieldName, newFieldName, pageNum) nesta instância de FormEditor. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Chama CopyInnerField(fieldName, newFieldName, pageNum, offsetX, offsetY) nesta instância de FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string) | Chama CopyOuterField(fieldName, newFieldName) nesta instância de FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Chama CopyOuterField(fieldName, newFieldName, pageNum) nesta instância de FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Chama CopyOuterField(fieldName, newFieldName, pageNum, offsetX, offsetY) nesta instância de FormEditor. |
DecorateField(fieldName: std::string) | Chama DecorateField(fieldName) nesta instância de FormEditor. |
DecorateField(fieldType: FieldType) | Chama DecorateField(fieldType) nesta instância de FormEditor. |
DecorateField() | |
RenameField(fieldName: std::string, newFieldName: std::string) | Chama RenameField(fieldName, newFieldName) nesta instância de FormEditor. |
RemoveFieldAction(fieldName: std::string) | Chama RemoveFieldAction(fieldName) nesta instância de FormEditor. |
AddSubmitBtn(fieldName: std::string, pageNum: int, buttonName: std::string, url: std::string, llx: float, lly: float, urx: float, ury: float) | Chama AddSubmitBtn(fieldName, pageNum, buttonName, url, llx, lly, urx, ury) nesta instância de FormEditor. |
AddListItem(fieldName: std::string, item: std::string) | Chama AddListItem(fieldName, item) nesta instância de FormEditor. |
AddListItem(fieldName: std::string, items: std::vector<std::string>) | Chama AddListItem(fieldName, items) nesta instância de FormEditor. |
DelListItem(fieldName: std::string, item: std::string) | Chama DelListItem(fieldName, item) nesta instância de FormEditor. |
SrcFileName() → std::string | Chama SrcFileName nesta instância de FormEditor. |
SrcFileName(value: std::string) | Chama SrcFileName(value) nesta instância de FormEditor. |
DestFileName() → std::string | Chama DestFileName nesta instância de FormEditor. |
DestFileName(value: std::string) | Chama DestFileName(value) nesta instância de FormEditor. |
ConvertTo(value: Aspose::Pdf::PdfFormat) | Chama ConvertTo(value) nesta instância de FormEditor. |
Items() → std::vector<std::string> | Chama Items nesta instância de FormEditor. |
Items(value: std::vector<std::string>) | Chama Items(value) nesta instância de FormEditor. |
ExportItems() → std::vector<std::vector<std::string>> | Chama ExportItems nesta instância de FormEditor. |
ExportItems(value: std::vector<std::vector<std::string>>) | Chama ExportItems(value) nesta instância de FormEditor. |
Facade() → FormFieldFacade | Chama Facade nesta instância de FormEditor. |
Facade(value: FormFieldFacade) | Chama Facade(value) nesta instância de FormEditor. |
RadioGap() → float | Chama RadioGap nesta instância de FormEditor. |
RadioGap(value: float) | Chama RadioGap(value) nesta instância de FormEditor. |
RadioHoriz() → bool | Chama RadioHoriz nesta instância de FormEditor. |
RadioHoriz(value: bool) | Chama RadioHoriz(value) nesta instância de FormEditor. |
RadioButtonItemSize() → double | Chama RadioButtonItemSize nesta instância de FormEditor. |
RadioButtonItemSize(value: double) | Chama RadioButtonItemSize(value) nesta instância de FormEditor. |
SubmitFlag() → SubmitFormFlag | Chama SubmitFlag nesta instância de FormEditor. |
SubmitFlag(value: SubmitFormFlag) | Chama SubmitFlag(value) nesta instância de FormEditor. |