Comprehensive Guide for Developers: Features, Integration, and API Reference
Represents a form field in a PDF document. More...
#include <pdfsdk/cxx/form_field.h>
Public Member Functions | |
| PDAtom | GetFieldType () const |
| PDFieldFlags | GetFlags () const |
| std::wstring | GetFullName () const |
| size_t | GetChoiceNumOptions () const |
| std::wstring | GetChoiceOption (size_t index) const |
| bool | IsSignBlank () const |
| void | SetSignLock (PDAtom action, PDObject fields, PDSignLockPerms perms) |
| PDAtom | GetSignLockAction () const |
| PDF::Object | GetSignLockFields () const |
| PDSignLockPerms | GetSignLockPerms () const |
| void | SignApprove (std::shared_ptr< SignHandler > signer, const std::wstring &reason) |
| void | SignCertify (PDSignLockPerms perms, std::shared_ptr< SignHandler > signer, const std::wstring &reason) |
| void | SignClear () |
| bool | SignVerify () const |
| bool | SignDocModifiedAfterSign () const |
| std::wstring | GetSignReason () const |
| PDDateTime | GetSignDate () const |
| std::vector< uint8_t > | GetSignCertificate () const |
| int | GetSignRevision () const |
| FormField (PDField handle, bool adopt=false) noexcept | |
| FormField (const FormField &rhs) noexcept | |
| FormField & | operator= (const FormField &rhs) noexcept |
| FormField (FormField &&rhs) noexcept | |
| FormField & | operator= (FormField &&rhs) noexcept |
Represents a form field in a PDF document.
ISO 32000-2:2020 - 12.7 Forms
| size_t PDF::FormField::GetChoiceNumOptions | ( | ) | const |
Get the number of options for a choice form field.
| std::wstring PDF::FormField::GetChoiceOption | ( | size_t | index | ) | const |
Get the option at the specified index for a choice form field.
| index | The index of the option to retrieve. |
| PDAtom PDF::FormField::GetFieldType | ( | ) | const |
Get the type of the form field.
| PDFieldFlags PDF::FormField::GetFlags | ( | ) | const |
Get the flags of the form field.
| std::wstring PDF::FormField::GetFullName | ( | ) | const |
Get the full name of the form field.