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

AssinaturaDescriçã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) → boolChama 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) → boolChama 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) → boolDefine o valor do atributo do campo.
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → boolDefine o valor de aparência do campo.
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlagsChama GetFieldAppearance(fieldName) nesta instância de FormEditor.
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → boolDefine o valor da bandeira de envio.
SetSubmitUrl(fieldName: std::string, url: std::string) → boolDefine o valor da URL de envio.
SetFieldLimit(fieldName: std::string, fieldLimit: int) → boolDefine o valor limite do campo.
SetFieldCombNumber(fieldName: std::string, combNumber: int) → boolDefine o valor do número de comb do campo.
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → boolChama MoveField(fieldName, llx, lly, urx, ury) nesta instância de FormEditor.
SetFieldScript(fieldName: std::string, script: std::string) → boolDefine o valor do script do campo.
AddFieldScript(fieldName: std::string, script: std::string) → boolChama AddFieldScript(fieldName, script) nesta instância de FormEditor.
Single2Multiple(fieldName: std::string) → boolChama Single2Multiple(fieldName) nesta instância de FormEditor.
SetFieldAlignment(fieldName: std::string, alignment: int) → boolDefine o valor de alinhamento do campo.
SetFieldAlignmentV(fieldName: std::string, alignment: int) → boolDefine 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::stringChama SrcFileName nesta instância de FormEditor.
SrcFileName(value: std::string)Chama SrcFileName(value) nesta instância de FormEditor.
DestFileName() → std::stringChama 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() → FormFieldFacadeChama Facade nesta instância de FormEditor.
Facade(value: FormFieldFacade)Chama Facade(value) nesta instância de FormEditor.
RadioGap() → floatChama RadioGap nesta instância de FormEditor.
RadioGap(value: float)Chama RadioGap(value) nesta instância de FormEditor.
RadioHoriz() → boolChama RadioHoriz nesta instância de FormEditor.
RadioHoriz(value: bool)Chama RadioHoriz(value) nesta instância de FormEditor.
RadioButtonItemSize() → doubleChama RadioButtonItemSize nesta instância de FormEditor.
RadioButtonItemSize(value: double)Chama RadioButtonItemSize(value) nesta instância de FormEditor.
SubmitFlag() → SubmitFormFlagChama SubmitFlag nesta instância de FormEditor.
SubmitFlag(value: SubmitFormFlag)Chama SubmitFlag(value) nesta instância de FormEditor.

Ver também

 Português