FormEditor
Przegląd
FormEditor jest klasą w Aspose.PDF FOSS dla C++.
Ta klasa udostępnia 53 metody do pracy z obiektami FormEditor w programach C++. Dostępne metody to: AddField, AddFieldScript, AddListItem, AddSubmitBtn, ConvertTo, CopyInnerField, CopyOuterField, DecorateField, DelListItem, DestFileName, ExportItems, Facade oraz 25 dodatkowych metod. Wszystkie publiczne członki są dostępne dla dowolnej aplikacji C++ po zainstalowaniu pakietu Aspose.PDF FOSS dla C++.
Metody
| Sygnatura | Opis |
|---|---|
FormEditor() | Wywołuje FormEditor na tej instancji FormEditor. |
Save() | Wywołuje Save na tej instancji FormEditor. |
AddField(fieldType: FieldType, fieldName: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Wywołuje AddField(fieldType, fieldName, pageNum, llx, lly, urx, ury) na tej instancji FormEditor. |
AddField(fieldType: FieldType, fieldName: std::string, fieldId: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | Wywołuje AddField(fieldType, fieldName, fieldId, pageNum, llx, lly, urx, ury) na tej instancji FormEditor. |
RemoveField(fieldName: std::string) | Wywołuje RemoveField(fieldName) na tej instancji FormEditor. |
SetFieldAttribute(fieldName: std::string, flag: PropertyFlag) → bool | Ustawia wartość atrybutu pola. |
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → bool | Ustawia wartość wyglądu pola. |
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlags | Wywołuje GetFieldAppearance(fieldName) na tej instancji FormEditor. |
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → bool | Ustawia wartość flagi submit. |
SetSubmitUrl(fieldName: std::string, url: std::string) → bool | Ustawia wartość adresu URL przesyłania. |
SetFieldLimit(fieldName: std::string, fieldLimit: int) → bool | Ustawia wartość limitu pola. |
SetFieldCombNumber(fieldName: std::string, combNumber: int) → bool | Ustawia wartość liczby zębów pola. |
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → bool | Wywołuje MoveField(fieldName, llx, lly, urx, ury) na tej instancji FormEditor. |
SetFieldScript(fieldName: std::string, script: std::string) → bool | Ustawia wartość skryptu pola. |
AddFieldScript(fieldName: std::string, script: std::string) → bool | Wywołuje AddFieldScript(fieldName, script) na tej instancji FormEditor. |
Single2Multiple(fieldName: std::string) → bool | Wywołuje Single2Multiple(fieldName) na tej instancji FormEditor. |
SetFieldAlignment(fieldName: std::string, alignment: int) → bool | Ustawia wartość wyrównania pola. |
SetFieldAlignmentV(fieldName: std::string, alignment: int) → bool | Ustawia wartość wyrównania pola v. |
ResetFacade() | Wywołuje ResetFacade na tej instancji FormEditor. |
ResetInnerFacade() | Wywołuje ResetInnerFacade na tej instancji FormEditor. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Wywołuje CopyInnerField(fieldName, newFieldName, pageNum) na tej instancji FormEditor. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Wywołuje CopyInnerField(fieldName, newFieldName, pageNum, offsetX, offsetY) na tej instancji FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string) | Wywołuje CopyOuterField(fieldName, newFieldName) na tej instancji FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int) | Wywołuje CopyOuterField(fieldName, newFieldName, pageNum) na tej instancji FormEditor. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | Wywołuje CopyOuterField(fieldName, newFieldName, pageNum, offsetX, offsetY) na tej instancji FormEditor. |
DecorateField(fieldName: std::string) | Wywołuje DecorateField(fieldName) na tej instancji FormEditor. |
DecorateField(fieldType: FieldType) | Wywołuje DecorateField(fieldType) na tej instancji FormEditor. |
DecorateField() | |
RenameField(fieldName: std::string, newFieldName: std::string) | Wywołuje RenameField(fieldName, newFieldName) na tej instancji FormEditor. |
RemoveFieldAction(fieldName: std::string) | Wywołuje RemoveFieldAction(fieldName) na tej instancji FormEditor. |
AddSubmitBtn(fieldName: std::string, pageNum: int, buttonName: std::string, url: std::string, llx: float, lly: float, urx: float, ury: float) | Wywołuje AddSubmitBtn(fieldName, pageNum, buttonName, url, llx, lly, urx, ury) na tej instancji FormEditor. |
AddListItem(fieldName: std::string, item: std::string) | Wywołuje AddListItem(fieldName, item) na tej instancji FormEditor. |
AddListItem(fieldName: std::string, items: std::vector<std::string>) | Wywołuje AddListItem(fieldName, items) na tej instancji FormEditor. |
DelListItem(fieldName: std::string, item: std::string) | Wywołuje DelListItem(fieldName, item) na tej instancji FormEditor. |
SrcFileName() → std::string | Wywołuje SrcFileName na tej instancji FormEditor. |
SrcFileName(value: std::string) | Wywołuje SrcFileName(value) na tej instancji FormEditor. |
DestFileName() → std::string | Wywołuje DestFileName na tej instancji FormEditor. |
DestFileName(value: std::string) | Wywołuje DestFileName(value) na tej instancji FormEditor. |
ConvertTo(value: Aspose::Pdf::PdfFormat) | Wywołuje ConvertTo(value) na tej instancji FormEditor. |
Items() → std::vector<std::string> | Wywołuje Items na tej instancji FormEditor. |
Items(value: std::vector<std::string>) | Wywołuje Items(value) na tej instancji FormEditor. |
ExportItems() → std::vector<std::vector<std::string>> | Wywołuje ExportItems na tej instancji FormEditor. |
ExportItems(value: std::vector<std::vector<std::string>>) | Wywołuje ExportItems(value) na tej instancji FormEditor. |
Facade() → FormFieldFacade | Wywołuje Facade na tej instancji FormEditor. |
Facade(value: FormFieldFacade) | Wywołuje Facade(value) na tej instancji FormEditor. |
RadioGap() → float | Wywołuje RadioGap na tej instancji FormEditor. |
RadioGap(value: float) | Wywołuje RadioGap(value) na tej instancji FormEditor. |
RadioHoriz() → bool | Wywołuje RadioHoriz na tej instancji FormEditor. |
RadioHoriz(value: bool) | Wywołuje RadioHoriz(value) na tej instancji FormEditor. |
RadioButtonItemSize() → double | Wywołuje RadioButtonItemSize na tej instancji FormEditor. |
RadioButtonItemSize(value: double) | Wywołuje RadioButtonItemSize(value) na tej instancji FormEditor. |
SubmitFlag() → SubmitFormFlag | Wywołuje SubmitFlag na tej instancji FormEditor. |
SubmitFlag(value: SubmitFormFlag) | Wywołuje SubmitFlag(value) na tej instancji FormEditor. |