PDF Toolbox
|
Go to the source code of this file.
#define PDFTOOLS_TOOLBOX_CALL |
#define PtxPdfForms_CheckBox_GetCheckedExportName PtxPdfForms_CheckBox_GetCheckedExportNameA |
#define PtxPdfForms_ChoiceField_AddNewItem PtxPdfForms_ChoiceField_AddNewItemA |
#define PtxPdfForms_ChoiceItem_GetDisplayName PtxPdfForms_ChoiceItem_GetDisplayNameA |
#define PtxPdfForms_ChoiceItem_GetExportName PtxPdfForms_ChoiceItem_GetExportNameA |
#define PtxPdfForms_ChoiceItem_SetDisplayName PtxPdfForms_ChoiceItem_SetDisplayNameA |
#define PtxPdfForms_ChoiceItem_SetExportName PtxPdfForms_ChoiceItem_SetExportNameA |
#define PtxPdfForms_ComboBox_GetEditableItemName PtxPdfForms_ComboBox_GetEditableItemNameA |
#define PtxPdfForms_ComboBox_SetEditableItemName PtxPdfForms_ComboBox_SetEditableItemNameA |
#define PtxPdfForms_FieldNode_GetDisplayName PtxPdfForms_FieldNode_GetDisplayNameA |
#define PtxPdfForms_FieldNode_GetExportName PtxPdfForms_FieldNode_GetExportNameA |
#define PtxPdfForms_FieldNode_SetDisplayName PtxPdfForms_FieldNode_SetDisplayNameA |
#define PtxPdfForms_FieldNode_SetExportName PtxPdfForms_FieldNode_SetExportNameA |
#define PtxPdfForms_FieldNodeMap_Get PtxPdfForms_FieldNodeMap_GetA |
#define PtxPdfForms_FieldNodeMap_GetKey PtxPdfForms_FieldNodeMap_GetKeyA |
#define PtxPdfForms_FieldNodeMap_Lookup PtxPdfForms_FieldNodeMap_LookupA |
#define PtxPdfForms_FieldNodeMap_Set PtxPdfForms_FieldNodeMap_SetA |
#define PtxPdfForms_RadioButton_GetExportName PtxPdfForms_RadioButton_GetExportNameA |
#define PtxPdfForms_RadioButtonGroup_AddNewButton PtxPdfForms_RadioButtonGroup_AddNewButtonA |
#define PtxPdfForms_Signature_GetContactInfo PtxPdfForms_Signature_GetContactInfoA |
#define PtxPdfForms_Signature_GetLocation PtxPdfForms_Signature_GetLocationA |
#define PtxPdfForms_Signature_GetReason PtxPdfForms_Signature_GetReasonA |
#define PtxPdfForms_SignedSignatureField_GetName PtxPdfForms_SignedSignatureField_GetNameA |
#define PtxPdfForms_TextField_GetText PtxPdfForms_TextField_GetTextA |
#define PtxPdfForms_TextField_SetText PtxPdfForms_TextField_SetTextA |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_CheckBox *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CheckBox_Create | ( | TPtxPdf_Document * | pTargetDocument | ) |
Create a check box form field The returned form field object is not yet used, but it is associated with the given target document.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CheckBox_GetChecked | ( | TPtxPdfForms_CheckBox * | pCheckBox | ) |
The state of the check box.
[in,out] | pCheckBox | Acts as a handle to the native object of type TPtxPdfForms_CheckBox. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CheckBox_GetCheckedExportNameA | ( | TPtxPdfForms_CheckBox * | pCheckBox, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The name of the checked ('on') state used when exporting.
[in,out] | pCheckBox | Acts as a handle to the native object of type TPtxPdfForms_CheckBox. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CheckBox_GetCheckedExportNameW | ( | TPtxPdfForms_CheckBox * | pCheckBox, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The name of the checked ('on') state used when exporting.
[in,out] | pCheckBox | Acts as a handle to the native object of type TPtxPdfForms_CheckBox. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CheckBox_SetChecked | ( | TPtxPdfForms_CheckBox * | pCheckBox, |
BOOL | bChecked ) |
The state of the check box.
[in,out] | pCheckBox | Acts as a handle to the native object of type TPtxPdfForms_CheckBox. |
[in] | bChecked | Set value. |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ChoiceItem *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceField_AddNewItemA | ( | TPtxPdfForms_ChoiceField * | pChoiceField, |
const char * | szDisplayName ) |
Creates a new choice item. The item is automatically added to the choice field's PtxPdfForms_ChoiceField_GetItems.
[in,out] | pChoiceField | Acts as a handle to the native object of type TPtxPdfForms_ChoiceField. |
[in] | szDisplayName | this item's display name |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ChoiceItem *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceField_AddNewItemW | ( | TPtxPdfForms_ChoiceField * | pChoiceField, |
const WCHAR * | szDisplayName ) |
Creates a new choice item. The item is automatically added to the choice field's PtxPdfForms_ChoiceField_GetItems.
[in,out] | pChoiceField | Acts as a handle to the native object of type TPtxPdfForms_ChoiceField. |
[in] | szDisplayName | this item's display name |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ChoiceItemList *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceField_GetItems | ( | TPtxPdfForms_ChoiceField * | pChoiceField | ) |
The list of choice items Adding or removing items or clearing the list is not supported.
[in,out] | pChoiceField | Acts as a handle to the native object of type TPtxPdfForms_ChoiceField. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ChoiceFieldType PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceField_GetType | ( | TPtxPdfForms_ChoiceField * | pChoiceField | ) |
Get actual derived type of base type TPtxPdfForms_ChoiceField.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pChoiceField | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_GetDisplayNameA | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
Displayed name This is the name of the item as displayed in a PDF viewer.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_GetDisplayNameW | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
Displayed name This is the name of the item as displayed in a PDF viewer.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_GetExportNameA | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
Export name This is the name of the item used when exporting.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_GetExportNameW | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
Export name This is the name of the item used when exporting.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_SetDisplayNameA | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
const char * | szDisplayName ) |
Displayed name This is the name of the item as displayed in a PDF viewer.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[in] | szDisplayName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_SetDisplayNameW | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
const WCHAR * | szDisplayName ) |
Displayed name This is the name of the item as displayed in a PDF viewer.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[in] | szDisplayName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_SetExportNameA | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
const char * | szExportName ) |
Export name This is the name of the item used when exporting.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[in] | szExportName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItem_SetExportNameW | ( | TPtxPdfForms_ChoiceItem * | pChoiceItem, |
const WCHAR * | szExportName ) |
Export name This is the name of the item used when exporting.
[in,out] | pChoiceItem | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItem. |
[in] | szExportName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItemList_Add | ( | TPtxPdfForms_ChoiceItemList * | pChoiceItemList, |
TPtxPdfForms_ChoiceItem * | pChoiceItem ) |
Add an element to the end of the list.
[in,out] | pChoiceItemList | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItemList. |
[in,out] | pChoiceItem |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItemList_Clear | ( | TPtxPdfForms_ChoiceItemList * | pChoiceItemList | ) |
Clear list.
[in,out] | pChoiceItemList | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItemList. |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ChoiceItem *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItemList_Get | ( | TPtxPdfForms_ChoiceItemList * | pChoiceItemList, |
int | iIndex ) |
Returns the element at the specified position in the given list.
[in,out] | pChoiceItemList | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItemList. |
[in] | iIndex |
NULL
if there is an error. NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItemList_GetCount | ( | TPtxPdfForms_ChoiceItemList * | pChoiceItemList | ) |
Get the number of elements in the list.
[in,out] | pChoiceItemList | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItemList. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ChoiceItemList_Remove | ( | TPtxPdfForms_ChoiceItemList * | pChoiceItemList, |
int | iIndex ) |
Remove certain element from list.
[in,out] | pChoiceItemList | Acts as a handle to the native object of type TPtxPdfForms_ChoiceItemList. |
[in] | iIndex |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ComboBox *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_Create | ( | TPtxPdf_Document * | pTargetDocument | ) |
Create a combo box form field The returned form field object is not yet used, but it is associated with the given target document.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_GetCanEdit | ( | TPtxPdfForms_ComboBox * | pComboBox | ) |
Has an editable item.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ChoiceItem *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_GetChosenItem | ( | TPtxPdfForms_ComboBox * | pComboBox | ) |
The selected combo box item If this property is NULL
then the PtxPdfForms_ComboBox_GetEditableItemName is the selected value. Setting this property automatically sets PtxPdfForms_ComboBox_GetEditableItemName to NULL
.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
NULL
if either an error occurred or the returned object is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below.
NULL
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_GetEditableItemNameA | ( | TPtxPdfForms_ComboBox * | pComboBox, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The name of the editable item This property is NULL
if any of the combo box items is selected, i.e., if PtxPdfForms_ComboBox_GetChosenItem is not NULL
. Setting this property automatically sets PtxPdfForms_ComboBox_GetChosenItem to NULL
.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_GetEditableItemNameW | ( | TPtxPdfForms_ComboBox * | pComboBox, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The name of the editable item This property is NULL
if any of the combo box items is selected, i.e., if PtxPdfForms_ComboBox_GetChosenItem is not NULL
. Setting this property automatically sets PtxPdfForms_ComboBox_GetChosenItem to NULL
.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_GetFontSize | ( | TPtxPdfForms_ComboBox * | pComboBox, |
double * | pFontSize ) |
The font size If NULL
or 0, then the font size is chosen automatically by the PDF processor.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[out] | pFontSize | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_SetCanEdit | ( | TPtxPdfForms_ComboBox * | pComboBox, |
BOOL | bCanEdit ) |
Has an editable item.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[in] | bCanEdit | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_SetChosenItem | ( | TPtxPdfForms_ComboBox * | pComboBox, |
TPtxPdfForms_ChoiceItem * | pChosenItem ) |
The selected combo box item If this property is NULL
then the PtxPdfForms_ComboBox_GetEditableItemName is the selected value. Setting this property automatically sets PtxPdfForms_ComboBox_GetEditableItemName to NULL
.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[in,out] | pChosenItem | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_SetEditableItemNameA | ( | TPtxPdfForms_ComboBox * | pComboBox, |
const char * | szEditableItemName ) |
The name of the editable item This property is NULL
if any of the combo box items is selected, i.e., if PtxPdfForms_ComboBox_GetChosenItem is not NULL
. Setting this property automatically sets PtxPdfForms_ComboBox_GetChosenItem to NULL
.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[in] | szEditableItemName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_SetEditableItemNameW | ( | TPtxPdfForms_ComboBox * | pComboBox, |
const WCHAR * | szEditableItemName ) |
The name of the editable item This property is NULL
if any of the combo box items is selected, i.e., if PtxPdfForms_ComboBox_GetChosenItem is not NULL
. Setting this property automatically sets PtxPdfForms_ComboBox_GetChosenItem to NULL
.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[in] | szEditableItemName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ComboBox_SetFontSize | ( | TPtxPdfForms_ComboBox * | pComboBox, |
const double * | pFontSize ) |
The font size If NULL
or 0, then the font size is chosen automatically by the PDF processor.
[in,out] | pComboBox | Acts as a handle to the native object of type TPtxPdfForms_ComboBox. |
[in] | pFontSize | Set value. |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_CombTextField *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CombTextField_Create | ( | TPtxPdf_Document * | pTargetDocument, |
int | iMaxLength ) |
Create a comb text form field The returned form field object is not yet used, but it is associated with the given target document.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
[in] | iMaxLength | the maximal character length for this field |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CombTextField_GetMaxLength | ( | TPtxPdfForms_CombTextField * | pCombTextField | ) |
The maximal text length When setting this property, the length of this field's text is truncated to the given value.
[in,out] | pCombTextField | Acts as a handle to the native object of type TPtxPdfForms_CombTextField. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_CombTextField_SetMaxLength | ( | TPtxPdfForms_CombTextField * | pCombTextField, |
int | iMaxLength ) |
The maximal text length When setting this property, the length of this field's text is truncated to the given value.
[in,out] | pCombTextField | Acts as a handle to the native object of type TPtxPdfForms_CombTextField. |
[in] | iMaxLength | Set value. |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_MdpPermissions PDFTOOLS_TOOLBOX_CALL PtxPdfForms_DocMdpSignature_GetPermissions | ( | TPtxPdfForms_DocMdpSignature * | pDocMdpSignature | ) |
The access permissions granted for this document Note that for encrypted PDF documents, the restrictions defined by this DocMDPSignature
are in addition to the document PtxPdf_Document_GetPermissions.
[in,out] | pDocMdpSignature | Acts as a handle to the native object of type TPtxPdfForms_DocMdpSignature. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_Widget *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_AddNewWidget | ( | TPtxPdfForms_Field * | pField, |
const TPtxGeomReal_Rectangle * | pBoundingBox ) |
Create a new widget and add to the form field This method creates a widget for the form field. The widget is automatically added to the field's widgets, but not to any page. This method does not work for radio button form fields; Use PtxPdfForms_RadioButton_AddNewWidget.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
[in] | pBoundingBox | The widget's target rectangle on the page |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_GetDoNotExport | ( | TPtxPdfForms_Field * | pField | ) |
Tells whether this field is exported.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_GetReadOnly | ( | TPtxPdfForms_Field * | pField | ) |
Flags this field as read-only.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_GetRequired | ( | TPtxPdfForms_Field * | pField | ) |
Flags this field as mandatory.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldType PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_GetType | ( | TPtxPdfForms_Field * | pField | ) |
Get actual derived type of base type TPtxPdfForms_Field.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pField | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_WidgetList *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_GetWidgets | ( | TPtxPdfForms_Field * | pField | ) |
This form field's widget annotations.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_SetDoNotExport | ( | TPtxPdfForms_Field * | pField, |
BOOL | bDoNotExport ) |
Tells whether this field is exported.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
[in] | bDoNotExport | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_SetReadOnly | ( | TPtxPdfForms_Field * | pField, |
BOOL | bReadOnly ) |
Flags this field as read-only.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
[in] | bReadOnly | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Field_SetRequired | ( | TPtxPdfForms_Field * | pField, |
BOOL | bRequired ) |
Flags this field as mandatory.
[in,out] | pField | Acts as a handle to the native object of type TPtxPdfForms_Field. |
[in] | bRequired | Set value. |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldNode *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_Copy | ( | TPtxPdf_Document * | pTargetDocument, |
TPtxPdfForms_FieldNode * | pFieldNode ) |
Copy a form field node Copy a form field node object from an input document to the given pTargetDocument. The returned object is associated with the given target document but not yet part of it.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
[in,out] | pFieldNode | a form field of a different document |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_GetDisplayNameA | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
User interface name The display name is not directly visible, but a PDF viewer can display this name, e.g., in a tool tip.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_GetDisplayNameW | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
User interface name The display name is not directly visible, but a PDF viewer can display this name, e.g., in a tool tip.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_GetExportNameA | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The name used when exporting.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_GetExportNameW | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The name used when exporting.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldNodeType PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_GetType | ( | TPtxPdfForms_FieldNode * | pFieldNode | ) |
Get actual derived type of base type TPtxPdfForms_FieldNode.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pFieldNode | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_SetDisplayNameA | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
const char * | szDisplayName ) |
User interface name The display name is not directly visible, but a PDF viewer can display this name, e.g., in a tool tip.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[in] | szDisplayName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_SetDisplayNameW | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
const WCHAR * | szDisplayName ) |
User interface name The display name is not directly visible, but a PDF viewer can display this name, e.g., in a tool tip.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[in] | szDisplayName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_SetExportNameA | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
const char * | szExportName ) |
The name used when exporting.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[in] | szExportName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNode_SetExportNameW | ( | TPtxPdfForms_FieldNode * | pFieldNode, |
const WCHAR * | szExportName ) |
The name used when exporting.
[in,out] | pFieldNode | Acts as a handle to the native object of type TPtxPdfForms_FieldNode. |
[in] | szExportName | Set value. |
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetA | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
const char * | szKey ) |
Get the position of a key in the map. If no error occurred, then the position can be used to get the corresponding value with PtxPdfForms_FieldNodeMap_GetValue.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | szKey |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetBegin | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap | ) |
Get the position of the first entry in the map.
The order of the entries is arbitrary and not significant.
If the returned position differs from PtxPdfForms_FieldNodeMap_GetEnd,then the position can be used to retrieve the map entry with PtxPdfForms_FieldNodeMap_GetKey, PtxPdfForms_FieldNodeMap_GetValue.
Use PtxPdfForms_FieldNodeMap_GetNext to get the position of the next entry.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetCount | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap | ) |
The number of key-value pairs in the map.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetEnd | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap | ) |
Get the end position of the map.
This position does not correspond to an actual entry in the map.
It must be used to determine whether the end of the map has been reached when using PtxPdfForms_FieldNodeMap_GetBegin and PtxPdfForms_FieldNodeMap_GetNext.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetKeyA | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
int | it, | ||
char * | pBuffer, | ||
size_t | nBufferSize ) |
Get the key of the entry given a position.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | it | |
[out] | pBuffer | To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if there is an error. 0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetKeyW | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
int | it, | ||
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
Get the key of the entry given a position.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | it | |
[out] | pBuffer | To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if there is an error. 0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetNext | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
int | it ) |
Get the position of the next entry in the map.
The order of the entries is arbitrary and not significant.
If the returned position differs from PtxPdfForms_FieldNodeMap_GetEnd, then the position can be used to retrieve the map entry with PtxPdfForms_FieldNodeMap_GetKey and PtxPdfForms_FieldNodeMap_GetValue.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | it |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetSize | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap | ) |
The number of key-value pairs in the map.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldNode *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetValue | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
int | it ) |
Get the value of the entry given a position.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | it |
NULL
if there is an error. NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_GetW | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
const WCHAR * | szKey ) |
Get the position of a key in the map. If no error occurred, then the position can be used to get the corresponding value with PtxPdfForms_FieldNodeMap_GetValue.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | szKey |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldNode *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_LookupA | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
const char * | szIdentifierPath ) |
Access a form field by path Lookup the form field node given by the identifier path.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | szIdentifierPath | the identifier path in which sub forms must be delimited by full stops '.' |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldNode *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_LookupW | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
const WCHAR * | szIdentifierPath ) |
Access a form field by path Lookup the form field node given by the identifier path.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | szIdentifierPath | the identifier path in which sub forms must be delimited by full stops '.' |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_SetA | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
const char * | szKey, | ||
TPtxPdfForms_FieldNode * | pValue ) |
Set the value of an entry for a given key. This operation invalidates all positions previously returned by‹pre›_‹map›_GetBegin, PtxPdfForms_FieldNodeMap_GetEnd, PtxPdfForms_FieldNodeMap_GetNext, and PtxPdfForms_FieldNodeMap_Get.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | szKey | |
[in,out] | pValue |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_SetValue | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
int | it, | ||
TPtxPdfForms_FieldNode * | pValue ) |
Set the value of the entry at a position in the map.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | it | |
[in,out] | pValue |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_FieldNodeMap_SetW | ( | TPtxPdfForms_FieldNodeMap * | pFieldNodeMap, |
const WCHAR * | szKey, | ||
TPtxPdfForms_FieldNode * | pValue ) |
Set the value of an entry for a given key. This operation invalidates all positions previously returned by‹pre›_‹map›_GetBegin, PtxPdfForms_FieldNodeMap_GetEnd, PtxPdfForms_FieldNodeMap_GetNext, and PtxPdfForms_FieldNodeMap_Get.
[in,out] | pFieldNodeMap | Acts as a handle to the native object of type TPtxPdfForms_FieldNodeMap. |
[in] | szKey | |
[in,out] | pValue |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_GeneralTextField *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_Create | ( | TPtxPdf_Document * | pTargetDocument | ) |
Create a general text form field The returned form field object is not yet used, but it is associated with the given target document.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_GetDoNotScroll | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField | ) |
Flags this text field non scrollable.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_GetDoNotSpellCheck | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField | ) |
Flags this text field for prevention from spell checking.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_GetMaxLength | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField, |
int * | pMaxLength ) |
The maximal text length When setting this property to a non-null value, the length of this field's text is truncated.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
[out] | pMaxLength | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. NULL
and is smaller than 0 PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_GetMultiline | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField | ) |
Flags this text field as multi-line.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_GetPassword | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField | ) |
Flags this text field as a password entry field.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_SetDoNotScroll | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField, |
BOOL | bDoNotScroll ) |
Flags this text field non scrollable.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
[in] | bDoNotScroll | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_SetDoNotSpellCheck | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField, |
BOOL | bDoNotSpellCheck ) |
Flags this text field for prevention from spell checking.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
[in] | bDoNotSpellCheck | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_SetMaxLength | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField, |
const int * | pMaxLength ) |
The maximal text length When setting this property to a non-null value, the length of this field's text is truncated.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
[in] | pMaxLength | Set value. |
NULL
and is smaller than 0 PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_SetMultiline | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField, |
BOOL | bMultiline ) |
Flags this text field as multi-line.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
[in] | bMultiline | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_GeneralTextField_SetPassword | ( | TPtxPdfForms_GeneralTextField * | pGeneralTextField, |
BOOL | bPassword ) |
Flags this text field as a password entry field.
[in,out] | pGeneralTextField | Acts as a handle to the native object of type TPtxPdfForms_GeneralTextField. |
[in] | bPassword | Set value. |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ListBox *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ListBox_Create | ( | TPtxPdf_Document * | pTargetDocument | ) |
Create a list box form field The returned form field object is not yet used, but it is associated with the given target document.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ListBox_GetAllowMultiSelect | ( | TPtxPdfForms_ListBox * | pListBox | ) |
Allow multiple items to be selected.
[in,out] | pListBox | Acts as a handle to the native object of type TPtxPdfForms_ListBox. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_ChoiceItemList *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ListBox_GetChosenItems | ( | TPtxPdfForms_ListBox * | pListBox | ) |
The selected choice items.
Adding to this list results in an error:
NULL
Removing items or clearing the list results in an IllegalState error if the form field is marked as read-only, or if it has widgets.
[in,out] | pListBox | Acts as a handle to the native object of type TPtxPdfForms_ListBox. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ListBox_GetFontSize | ( | TPtxPdfForms_ListBox * | pListBox, |
double * | pFontSize ) |
The font size If NULL
or 0, then the font size is chosen automatically by the PDF processor.
[in,out] | pListBox | Acts as a handle to the native object of type TPtxPdfForms_ListBox. |
[out] | pFontSize | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ListBox_SetAllowMultiSelect | ( | TPtxPdfForms_ListBox * | pListBox, |
BOOL | bAllowMultiSelect ) |
Allow multiple items to be selected.
[in,out] | pListBox | Acts as a handle to the native object of type TPtxPdfForms_ListBox. |
[in] | bAllowMultiSelect | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_ListBox_SetFontSize | ( | TPtxPdfForms_ListBox * | pListBox, |
const double * | pFontSize ) |
The font size If NULL
or 0, then the font size is chosen automatically by the PDF processor.
[in,out] | pListBox | Acts as a handle to the native object of type TPtxPdfForms_ListBox. |
[in] | pFontSize | Set value. |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_Widget *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButton_AddNewWidget | ( | TPtxPdfForms_RadioButton * | pRadioButton, |
const TPtxGeomReal_Rectangle * | pBoundingBox ) |
Create radio button widget This method creates a widget for the radio button. The widget is automatically added to the button's widgets and to the radio button form field's widgets, but not to any page.
[in,out] | pRadioButton | Acts as a handle to the native object of type TPtxPdfForms_RadioButton. |
[in] | pBoundingBox | The widget's target rectangle on the page |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButton_GetExportNameA | ( | TPtxPdfForms_RadioButton * | pRadioButton, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The button's name used when exporting.
[in,out] | pRadioButton | Acts as a handle to the native object of type TPtxPdfForms_RadioButton. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButton_GetExportNameW | ( | TPtxPdfForms_RadioButton * | pRadioButton, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The button's name used when exporting.
[in,out] | pRadioButton | Acts as a handle to the native object of type TPtxPdfForms_RadioButton. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_WidgetList *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButton_GetWidgets | ( | TPtxPdfForms_RadioButton * | pRadioButton | ) |
The button's widget annotations.
[in,out] | pRadioButton | Acts as a handle to the native object of type TPtxPdfForms_RadioButton. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_RadioButton *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonGroup_AddNewButtonA | ( | TPtxPdfForms_RadioButtonGroup * | pRadioButtonGroup, |
const char * | szExportName ) |
Create a radio button The created radio button is automatically added to this radio button field's PtxPdfForms_RadioButtonGroup_GetButtons.
[in,out] | pRadioButtonGroup | Acts as a handle to the native object of type TPtxPdfForms_RadioButtonGroup. |
[in] | szExportName | the radio button's export name |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_RadioButton *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonGroup_AddNewButtonW | ( | TPtxPdfForms_RadioButtonGroup * | pRadioButtonGroup, |
const WCHAR * | szExportName ) |
Create a radio button The created radio button is automatically added to this radio button field's PtxPdfForms_RadioButtonGroup_GetButtons.
[in,out] | pRadioButtonGroup | Acts as a handle to the native object of type TPtxPdfForms_RadioButtonGroup. |
[in] | szExportName | the radio button's export name |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_RadioButtonGroup *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonGroup_Create | ( | TPtxPdf_Document * | pTargetDocument | ) |
Create a radio button form field The returned form field object is not yet used, but it is associated with the given target document.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_RadioButtonList *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonGroup_GetButtons | ( | TPtxPdfForms_RadioButtonGroup * | pRadioButtonGroup | ) |
This field's buttons.
[in,out] | pRadioButtonGroup | Acts as a handle to the native object of type TPtxPdfForms_RadioButtonGroup. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_RadioButton *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonGroup_GetChosenButton | ( | TPtxPdfForms_RadioButtonGroup * | pRadioButtonGroup | ) |
This field's selected button if NULL
is set, then no button is chosen.
[in,out] | pRadioButtonGroup | Acts as a handle to the native object of type TPtxPdfForms_RadioButtonGroup. |
NULL
if either an error occurred or the returned object is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below.
NULL
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:NULL
and the radio button group does not support toggling to offPDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonGroup_SetChosenButton | ( | TPtxPdfForms_RadioButtonGroup * | pRadioButtonGroup, |
TPtxPdfForms_RadioButton * | pChosenButton ) |
This field's selected button if NULL
is set, then no button is chosen.
[in,out] | pRadioButtonGroup | Acts as a handle to the native object of type TPtxPdfForms_RadioButtonGroup. |
[in,out] | pChosenButton | Set value. |
NULL
and the radio button group does not support toggling to offPDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_RadioButton *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonList_Get | ( | TPtxPdfForms_RadioButtonList * | pRadioButtonList, |
int | iIndex ) |
Returns the element at the specified position in the given list.
[in,out] | pRadioButtonList | Acts as a handle to the native object of type TPtxPdfForms_RadioButtonList. |
[in] | iIndex |
NULL
if there is an error. NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_RadioButtonList_GetCount | ( | TPtxPdfForms_RadioButtonList * | pRadioButtonList | ) |
Get the number of elements in the list.
[in,out] | pRadioButtonList | Acts as a handle to the native object of type TPtxPdfForms_RadioButtonList. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Signature_GetContactInfoA | ( | TPtxPdfForms_Signature * | pSignature, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The contact information of the signer Information provided by the signer to enable a recipient to contact the signer to verify the signature; for example, a phone number.
[in,out] | pSignature | Acts as a handle to the native object of type TPtxPdfForms_Signature. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Signature_GetContactInfoW | ( | TPtxPdfForms_Signature * | pSignature, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The contact information of the signer Information provided by the signer to enable a recipient to contact the signer to verify the signature; for example, a phone number.
[in,out] | pSignature | Acts as a handle to the native object of type TPtxPdfForms_Signature. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Signature_GetLocationA | ( | TPtxPdfForms_Signature * | pSignature, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The location of signing The CPU host name or physical location of the signing.
[in,out] | pSignature | Acts as a handle to the native object of type TPtxPdfForms_Signature. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Signature_GetLocationW | ( | TPtxPdfForms_Signature * | pSignature, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The location of signing The CPU host name or physical location of the signing.
[in,out] | pSignature | Acts as a handle to the native object of type TPtxPdfForms_Signature. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Signature_GetReasonA | ( | TPtxPdfForms_Signature * | pSignature, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The reason for signing.
[in,out] | pSignature | Acts as a handle to the native object of type TPtxPdfForms_Signature. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Signature_GetReasonW | ( | TPtxPdfForms_Signature * | pSignature, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The reason for signing.
[in,out] | pSignature | Acts as a handle to the native object of type TPtxPdfForms_Signature. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_SignatureType PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Signature_GetType | ( | TPtxPdfForms_Signature * | pSignature | ) |
Get actual derived type of base type TPtxPdfForms_Signature.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pSignature | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_SignatureFieldType PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignatureField_GetType | ( | TPtxPdfForms_SignatureField * | pSignatureField | ) |
Get actual derived type of base type TPtxPdfForms_SignatureField.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pSignatureField | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignatureField_IsVisible | ( | TPtxPdfForms_SignatureField * | pSignatureField | ) |
The visibility of the signature field If TRUE, the signature field has a visual appearance on the page.
[in,out] | pSignatureField | Acts as a handle to the native object of type TPtxPdfForms_SignatureField. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_SignatureField *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignatureFieldList_Get | ( | TPtxPdfForms_SignatureFieldList * | pSignatureFieldList, |
int | iIndex ) |
Returns the element at the specified position in the given list.
[in,out] | pSignatureFieldList | Acts as a handle to the native object of type TPtxPdfForms_SignatureFieldList. |
[in] | iIndex |
NULL
if there is an error. NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignatureFieldList_GetCount | ( | TPtxPdfForms_SignatureFieldList * | pSignatureFieldList | ) |
Get the number of elements in the list.
[in,out] | pSignatureFieldList | Acts as a handle to the native object of type TPtxPdfForms_SignatureFieldList. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignedSignatureField_GetDate | ( | TPtxPdfForms_SignedSignatureField * | pSignedSignatureField, |
TPtxSys_Date * | pDate ) |
The date and time of signing.
This represents the date and time of signing as specified in the signature. For signatures that contain a time-stamp, the trusted time-stamp time is returned.
Note: The value can only be extracted for signatures conforming to the PAdES or PDF standard and not for proprietary/non-standard signature formats. For non-standard signature formats the date as stored in the PDF is returned.
[in,out] | pSignedSignatureField | Acts as a handle to the native object of type TPtxPdfForms_SignedSignatureField. |
[out] | pDate | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignedSignatureField_GetNameA | ( | TPtxPdfForms_SignedSignatureField * | pSignedSignatureField, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
The name of the person or authority that signed the document.
This is the name of the signing certificate.
Note: The name of the signing certificate can only be extracted for signatures conforming to the PAdES or PDF standard and not for proprietary/non-standard signature formats. For non-standard signature formats the name as stored in the PDF is returned.
[in,out] | pSignedSignatureField | Acts as a handle to the native object of type TPtxPdfForms_SignedSignatureField. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignedSignatureField_GetNameW | ( | TPtxPdfForms_SignedSignatureField * | pSignedSignatureField, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
The name of the person or authority that signed the document.
This is the name of the signing certificate.
Note: The name of the signing certificate can only be extracted for signatures conforming to the PAdES or PDF standard and not for proprietary/non-standard signature formats. For non-standard signature formats the name as stored in the PDF is returned.
[in,out] | pSignedSignatureField | Acts as a handle to the native object of type TPtxPdfForms_SignedSignatureField. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_SignedSignatureFieldType PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SignedSignatureField_GetType | ( | TPtxPdfForms_SignedSignatureField * | pSignedSignatureField | ) |
Get actual derived type of base type TPtxPdfForms_SignedSignatureField.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pSignedSignatureField | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_SubForm *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SubForm_Create | ( | TPtxPdf_Document * | pTargetDocument | ) |
Create a sub form The returned sub form object is not yet used, but it is associated with the given target document.
[in,out] | pTargetDocument | the output document with which the returned object is associated |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_FieldNodeMap *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_SubForm_GetChildren | ( | TPtxPdfForms_SubForm * | pSubForm | ) |
The child form fields Adding to this list results in an error:
NULL
[in,out] | pSubForm | Acts as a handle to the native object of type TPtxPdfForms_SubForm. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxGeom_HorizontalAlignment PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_GetAlignment | ( | TPtxPdfForms_TextField * | pTextField | ) |
The text alignment.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_GetFontSize | ( | TPtxPdfForms_TextField * | pTextField, |
double * | pFontSize ) |
The font size If NULL
then the font size is chosen automatically by the PDF viewer.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
[out] | pFontSize | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_GetTextA | ( | TPtxPdfForms_TextField * | pTextField, |
char * | pBuffer, | ||
size_t | nBufferSize ) |
This field's text.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT size_t PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_GetTextW | ( | TPtxPdfForms_TextField * | pTextField, |
WCHAR * | pBuffer, | ||
size_t | nBufferSize ) |
This field's text.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
[out] | pBuffer | Retrieved value. To determine the required buffer size, the function has to be called with NULL . The return value of this function specifies the buffer size. |
[in] | nBufferSize | The buffer size of the retrieved string pBuffer . |
pBuffer
. 0
if either an error occurred or the returned buffer is actually NULL
. To determine if an error has occurred, check the error code as described in the note section below. 0
was returned and the error code returned by Ptx_GetLastError is different from ePtx_Error_Success. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_TextFieldType PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_GetType | ( | TPtxPdfForms_TextField * | pTextField | ) |
Get actual derived type of base type TPtxPdfForms_TextField.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pTextField | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_SetAlignment | ( | TPtxPdfForms_TextField * | pTextField, |
TPtxGeom_HorizontalAlignment | iAlignment ) |
The text alignment.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
[in] | iAlignment | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_SetFontSize | ( | TPtxPdfForms_TextField * | pTextField, |
const double * | pFontSize ) |
The font size If NULL
then the font size is chosen automatically by the PDF viewer.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
[in] | pFontSize | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_SetTextA | ( | TPtxPdfForms_TextField * | pTextField, |
const char * | szText ) |
This field's text.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
[in] | szText | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_TextField_SetTextW | ( | TPtxPdfForms_TextField * | pTextField, |
const WCHAR * | szText ) |
This field's text.
[in,out] | pTextField | Acts as a handle to the native object of type TPtxPdfForms_TextField. |
[in] | szText | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Widget_GetBoundingBox | ( | TPtxPdfForms_Widget * | pWidget, |
TPtxGeomReal_Rectangle * | pBoundingBox ) |
The location on the page.
[in,out] | pWidget | Acts as a handle to the native object of type TPtxPdfForms_Widget. |
[out] | pBoundingBox | Retrieved value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Widget_GetHidden | ( | TPtxPdfForms_Widget * | pWidget | ) |
The widget's visibility If TRUE then the widget is present, but is invisible and not available for user interaction. Depending on the PtxPdfForms_Widget_GetNoPrint property it will, however, still be visible when printing.
[in,out] | pWidget | Acts as a handle to the native object of type TPtxPdfForms_Widget. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Widget_GetLocked | ( | TPtxPdfForms_Widget * | pWidget | ) |
Whether the widget can be modified This does not restrict modification of the widget's content.
[in,out] | pWidget | Acts as a handle to the native object of type TPtxPdfForms_Widget. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Widget_GetNoPrint | ( | TPtxPdfForms_Widget * | pWidget | ) |
The widget's visibility when printing If TRUE then the widget is not present in a print output of the document.
[in,out] | pWidget | Acts as a handle to the native object of type TPtxPdfForms_Widget. |
May indicate an error in certain scenarios. For further information see the note section below.
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Widget_SetHidden | ( | TPtxPdfForms_Widget * | pWidget, |
BOOL | bHidden ) |
The widget's visibility If TRUE then the widget is present, but is invisible and not available for user interaction. Depending on the PtxPdfForms_Widget_GetNoPrint property it will, however, still be visible when printing.
[in,out] | pWidget | Acts as a handle to the native object of type TPtxPdfForms_Widget. |
[in] | bHidden | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_Widget_SetLocked | ( | TPtxPdfForms_Widget * | pWidget, |
BOOL | bLocked ) |
Whether the widget can be modified This does not restrict modification of the widget's content.
[in,out] | pWidget | Acts as a handle to the native object of type TPtxPdfForms_Widget. |
[in] | bLocked | Set value. |
PDFTOOLS_TOOLBOX_EXPORT BOOL PDFTOOLS_TOOLBOX_CALL PtxPdfForms_WidgetList_Add | ( | TPtxPdfForms_WidgetList * | pWidgetList, |
TPtxPdfForms_Widget * | pWidget ) |
Add an element to the end of the list.
[in,out] | pWidgetList | Acts as a handle to the native object of type TPtxPdfForms_WidgetList. |
[in,out] | pWidget |
PDFTOOLS_TOOLBOX_EXPORT TPtxPdfForms_Widget *PDFTOOLS_TOOLBOX_CALL PtxPdfForms_WidgetList_Get | ( | TPtxPdfForms_WidgetList * | pWidgetList, |
int | iIndex ) |
Returns the element at the specified position in the given list.
[in,out] | pWidgetList | Acts as a handle to the native object of type TPtxPdfForms_WidgetList. |
[in] | iIndex |
NULL
if there is an error. NULL
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes:
PDFTOOLS_TOOLBOX_EXPORT int PDFTOOLS_TOOLBOX_CALL PtxPdfForms_WidgetList_GetCount | ( | TPtxPdfForms_WidgetList * | pWidgetList | ) |
Get the number of elements in the list.
[in,out] | pWidgetList | Acts as a handle to the native object of type TPtxPdfForms_WidgetList. |
0
was returned. Retrieve specific error code by calling Ptx_GetLastError. Get the error message with Ptx_GetLastErrorMessage. Possible error codes: