typedef struct _tagPdfSettings
{
L_UINT32 uStructSize;
L_BOOL bCrossrefs;
DOC2_HEADERFOOTERSETTING HFSetng;
L_BOOL bNeedTaggedInfo;
L_BOOL bPDFThumbnail;
DOC2_DPISETTING DpiSetng;
L_BOOL bPDFForms;
L_BOOL bShowBackgroundImage;
L_BOOL bShowText;
L_BOOL bRuleLines;
L_BOOL bShowSubstitutes;
L_BOOL bURLBackgroundDef;
L_BOOL bURLHighlight;
L_BOOL bLinearized;
} PDFSETTINGS, * pPDFSETTINGS;
The PDFSETTINGS structure provides information about settings for the DOC2_PDF
member of the DOC2_FORMATTYPE output format.
Structure size. Set it to sizeof(PDFSETTINGS).
Specifies whether to retain cross-references. Possible values are:
Value | Meaning |
---|---|
TRUE | Retain cross-references. |
FALSE | Do not retain cross-references. |
Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING.
Specifies whether to create a tagged PDF file. Possible values are:
Value | Meaning |
---|---|
TRUE | Create a tagged PDF file. |
FALSE | Do not create a tagged PDF file. |
Specifies whether to create thumbnails. Possible values are:
Value | Meaning |
---|---|
TRUE | Create thumbnails. |
FALSE | Do not create thumbnails. |
Specifies the DPI setting. For a list of possible values, refer to DOC2_DPISETTING.
Specifies whether to display the form layer. Possible values are:
Value | Meaning |
---|---|
TRUE | Display the form layer |
FALSE | Do not display the form layer |
Specifies whether to display the background image layer. Possible values are:
Value | Meaning |
---|---|
TRUE | Display the background image layer. |
FALSE | Do not display the background image layer. |
Specifies whether to display the text. Possible values are:
Value | Meaning |
---|---|
TRUE | Display the text. |
FALSE | Do not display the text. |
Specifies whether to insert line breaks. Possible values are:
Value | Meaning |
---|---|
TRUE | Insert line breaks. |
FALSE | Do not insert line breaks. |
Specifies whether to cover suspect words with small images. Possible values are:
Value | Meaning |
---|---|
TRUE | Cover suspect words with small images. |
FALSE | Do not cover suspect words with small images. |
Specifies whether to display the default background color for any URLs. Possible values are:
Value | Meaning |
---|---|
TRUE | Display the default background color for any URLs. |
FALSE | Do not display the default background color for any URLs. |
Specifies whether to highlight URLs. Possible values are:
Value | Meaning |
---|---|
TRUE | Highlight URLs. |
FALSE | Do not highlight URLs. |
Specifies whether to generate linearized PDF files. Possible values are:
Value | Meaning |
---|---|
TRUE | Generate linearized PDF Files. |
FALSE | Do not generate linearized PDF Files. |
pPDFSETTINGS is a pointer to a PDFSETTINGS structure. If the function parameter type is pPDFSETTINGS, declare a PDFSETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPDFSETTINGS variable is necessary only if the program requires a pointer.
The structure is used by: