LEADTOOLS OCR C DLL Help > Quick Reference > Data Types > OCR Professional > XMLSETTINGS |
typedef struct _tagXMLSettings
{
L_UINT32 uStructSize;
L_CHAR * pszDocAuthor;
L_CHAR * pszDocCategory;
L_CHAR * pszDocComments;
L_CHAR * pszDocCompany;
L_CHAR * pszDocKeywords;
L_CHAR * pszDocManager;
L_CHAR * pszDocSubject;
L_CHAR * pszDocTitle;
DOC2_HEADERFOOTERSETTING HFSetng;
L_BOOL bInsertCharacterCoordinates;
L_WCHAR * pszSchemaLocation;
L_BOOL bUseXsdSchema;
} XMLSETTINGS, * pXMLSETTINGS;
The XMLSETTINGS structure provides information about settings for the DOC2_XML output format.
Member |
Description |
|
uStructSize |
Structure size. It should be equal to sizeof(XMLSETTINGS). |
|
pszDocAuthor |
Character string that contains the author of the document. |
|
pszDocCategory |
Specifies the category of the document. |
|
pszDocComments |
Character string that contains the comments about the document. |
|
pszDocCompany |
Character string that contains the company name of the document. |
|
pszDocKeywords |
Character string that contains the keywords for the document. |
|
pszDocManager |
Character string that contains the name of the manager of the document. |
|
pszDocSubject |
Character string that contains the subject of the document. |
|
pszDocTitle |
Character string that contains the title of the document. |
|
HFSetng |
Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING. |
|
bInsertCharacterCoordinates |
Enables or disables whether Character coordinates will be inserted. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Character coordinates will be inserted.. |
|
FALSE |
Character coordinates will not be inserted.. |
pszSchemaLocation |
Unicode character string that contains the URL of the schema that was written into the XML. |
|
bUseXsdSchema |
Enables or disables use of XSD schemas. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Enable use of XSD schemas. |
|
FALSE |
Disables use of XSD schemas. |
Comments
pXMLSETTINGS is a pointer to a XMLSETTINGS structure. If the function parameter type is pXMLSETTINGS, declare a XMLSETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pXMLSETTINGS variable is necessary only if the program requires a pointer.
This structure is used with the following functions: