FormEditor
Tổng quan
FormEditor là một lớp trong Aspose.PDF FOSS cho C++.
Lớp này cung cấp 53 phương thức để làm việc với các đối tượng FormEditor trong các chương trình C++. Các phương thức khả dụng bao gồm: AddField, AddFieldScript, AddListItem, AddSubmitBtn, ConvertTo, CopyInnerField, CopyOuterField, DecorateField, DelListItem, DestFileName, ExportItems, Facade, và 25 phương thức bổ sung. Tất cả các thành viên công cộng đều có thể truy cập bởi bất kỳ ứng dụng C++ nào sau khi cài đặt gói Aspose.PDF FOSS for C++.
Phương thức
| Chữ ký | Mô tả |
|---|---|
FormEditor() | Gọi FormEditor trên đối tượng FormEditor này. |
Save() | Gọi Save trên đối tượng FormEditor này. |
AddField(fieldType: FieldType, fieldName: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Gọi AddField(fieldType, fieldName, pageNum, llx, lly, urx, ury) trên đối tượng FormEditor này. |
AddField(fieldType: FieldType, fieldName: std::string, fieldId: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Gọi AddField(fieldType, fieldName, fieldId, pageNum, llx, lly, urx, ury) trên đối tượng FormEditor này. |
RemoveField(fieldName: std::string) | Gọi RemoveField(fieldName) trên đối tượng FormEditor này. |
SetFieldAttribute(fieldName: std::string, flag: PropertyFlag) → bool | Đặt giá trị thuộc tính trường. |
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → bool | Đặt giá trị hiển thị của trường. |
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlags | Gọi GetFieldAppearance(fieldName) trên đối tượng FormEditor này. |
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → bool | Đặt giá trị cờ submit. |
SetSubmitUrl(fieldName: std::string, url: std::string) → bool | Đặt giá trị URL gửi. |
SetFieldLimit(fieldName: std::string, fieldLimit: int) → bool | Đặt giá trị giới hạn trường. |
SetFieldCombNumber(fieldName: std::string, combNumber: int) → bool | Đặt giá trị số comb của trường. |
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → bool | Gọi MoveField(fieldName, llx, lly, urx, ury) trên đối tượng FormEditor này. |
SetFieldScript(fieldName: std::string, script: std::string) → bool | Đặt giá trị script của trường. |
AddFieldScript(fieldName: std::string, script: std::string) → bool | Gọi AddFieldScript(fieldName, script) trên đối tượng FormEditor này. |
Single2Multiple(fieldName: std::string) → bool | Gọi Single2Multiple(fieldName) trên đối tượng FormEditor này. |
SetFieldAlignment(fieldName: std::string, alignment: int) → bool | Đặt giá trị căn chỉnh trường. |
SetFieldAlignmentV(fieldName: std::string, alignment: int) → bool | Đặt giá trị v của căn chỉnh trường. |
ResetFacade() | Gọi ResetFacade trên đối tượng FormEditor này. |
ResetInnerFacade() | Gọi ResetInnerFacade trên đối tượng FormEditor này. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Gọi CopyInnerField(fieldName, newFieldName, pageNum) trên đối tượng FormEditor này. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Gọi CopyInnerField(fieldName, newFieldName, pageNum, offsetX, offsetY) trên đối tượng FormEditor này. |
CopyOuterField(fieldName: std::string, newFieldName: std::string) | Gọi CopyOuterField(fieldName, newFieldName) trên đối tượng FormEditor này. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Gọi CopyOuterField(fieldName, newFieldName, pageNum) trên đối tượng FormEditor này. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Gọi CopyOuterField(fieldName, newFieldName, pageNum, offsetX, offsetY) trên đối tượng FormEditor này. |
DecorateField(fieldName: std::string) | Gọi DecorateField(fieldName) trên đối tượng FormEditor này. |
DecorateField(fieldType: FieldType) | Gọi DecorateField(fieldType) trên đối tượng FormEditor này. |
DecorateField() | |
RenameField(fieldName: std::string, newFieldName: std::string) | Gọi RenameField(fieldName, newFieldName) trên đối tượng FormEditor này. |
RemoveFieldAction(fieldName: std::string) | Gọi RemoveFieldAction(fieldName) trên đối tượng FormEditor này. |
AddSubmitBtn(fieldName: std::string, pageNum: int, buttonName: std::string, url: std::string, llx: float, lly: float, urx: float, ury: float) | Gọi AddSubmitBtn(fieldName, pageNum, buttonName, url, llx, lly, urx, ury) trên đối tượng FormEditor này. |
AddListItem(fieldName: std::string, item: std::string) | Gọi AddListItem(fieldName, item) trên đối tượng FormEditor này. |
AddListItem(fieldName: std::string, items: std::vector<std::string>) | Gọi AddListItem(fieldName, items) trên đối tượng FormEditor này. |
DelListItem(fieldName: std::string, item: std::string) | Gọi DelListItem(fieldName, item) trên đối tượng FormEditor này. |
SrcFileName() → std::string | Gọi SrcFileName trên đối tượng FormEditor này. |
SrcFileName(value: std::string) | Gọi SrcFileName(value) trên đối tượng FormEditor này. |
DestFileName() → std::string | Gọi DestFileName trên đối tượng FormEditor này. |
DestFileName(value: std::string) | Gọi DestFileName(value) trên đối tượng FormEditor này. |
ConvertTo(value: Aspose::Pdf::PdfFormat) | Gọi ConvertTo(value) trên đối tượng FormEditor này. |
Items() → std::vector<std::string> | Gọi Items trên đối tượng FormEditor này. |
Items(value: std::vector<std::string>) | Gọi Items(value) trên đối tượng FormEditor này. |
ExportItems() → std::vector<std::vector<std::string>> | Gọi ExportItems trên đối tượng FormEditor này. |
ExportItems(value: std::vector<std::vector<std::string>>) | Gọi ExportItems(value) trên đối tượng FormEditor này. |
Facade() → FormFieldFacade | Gọi Facade trên đối tượng FormEditor này. |
Facade(value: FormFieldFacade) | Gọi Facade(value) trên đối tượng FormEditor này. |
RadioGap() → float | Gọi RadioGap trên đối tượng FormEditor này. |
RadioGap(value: float) | Gọi RadioGap(value) trên đối tượng FormEditor này. |
RadioHoriz() → bool | Gọi RadioHoriz trên đối tượng FormEditor này. |
RadioHoriz(value: bool) | Gọi RadioHoriz(value) trên đối tượng FormEditor này. |
RadioButtonItemSize() → double | Gọi RadioButtonItemSize trên đối tượng FormEditor này. |
RadioButtonItemSize(value: double) | Gọi RadioButtonItemSize(value) trên đối tượng FormEditor này. |
SubmitFlag() → SubmitFormFlag | Gọi SubmitFlag trên đối tượng FormEditor này. |
SubmitFlag(value: SubmitFormFlag) | Gọi SubmitFlag(value) trên đối tượng FormEditor này. |