DynaPDF Manual - Page 454
Previous Page 453 Index Next Page 455
Function Reference
Page 454 of 860
GetInIsTaggedPDF
Syntax:
SI32 pdfGetInIsTaggedPDF(
const PPDF* IPDF) // Instance pointer
typedef enum TPDFMarkInfo
{
miNotTagged
= 0, // This is no Tagged PDF file.
miTagged
= 1, // This is a Tagged PDF file.
miSuspects
= 2, // The file contains suspect contents that whose ordering does not ordered
// meet the requirements of the Tagged PDF specifications.
miUserProperties = 4
// A flag indicating that at least one structure element contains user
// properties. User properties are stored in User Property dictionaries.
}TPDFMarkInfo;
The function can be used to check whether the currently open import file is a Tagged PDF file. The
PDF file must be opened beforehand with OpenImportFile() or OpenImportBuffer().
The return value is a set flags indicating the tagging status of the file, see TPDFMarkInfo above.
Return values:
If the function succeeds, the return value is greater or equal zero. If the function fails, the return
value is a negative error code.
GetInIsTrapped
Syntax:
SI32 pdfGetInIsTrapped(
const PPDF* IPDF) // Instance pointer
This function returns the value of the Trapped key in the current open import file. The PDF file must
be opened with OpenImportFile() or OpenImportBuffer() beforehand. If the key is not set the return
value is false.
Return values:
If the function succeeds it returns 0 or 1 depending on the value of the Trapped key. A negative
error code is returned on failure.
GetInIsXFAForm
Syntax:
SI32 pdfGetInIsXFAForm(
const PPDF* IPDF) // Instance pointer
The function returns true if the current open import file contains an XFA form. If the form is a
hybrid form the XFA part can be deleted and the remaining PDF form fields can be edited as usual.
XFA streams can be accessed with GetXFAStream() / GetXFAStreamCount().
Previous topic: GetInIsCollection, GetInIsEncrypted, GetInIsSigned
Next topic: GetInkList