KVXMLHeadingInfo
This structure defines how XML Export creates heading information based on the source document's content and attributes. Source text is converted to a heading and included in the table of contents if
-
it meets all the criteria defined by this structure, and
-
you set the
headingCreateType
member ofKVXMLTOCOptions
to allow automatic heading generation.
XML Export evaluates the text against each member in the order in which the members appear below.
See KVXMLTOCOptions for more information on automatic generation of headings.
typedef struct tag_KVXMLHeadingInfo { int minParaLen; int maxParaLen; int fontSizeMin; int fontSizeMax; BOOL bMustBeBold; BOOL bMustBeItalic; BOOL bMustBeUnderlined; BOOL bNonZeroIndent; BOOL bNoTabs; BOOL bNoMultiSpaces; int nSpaceBefore; int nSpaceAfter; } KVXMLHeadingInfo;
Member Descriptions
|
The minimum number of characters that a paragraph in the source document can contain for the text to meet the criteria for heading conversion. This option applies to word processing documents only. The default is 3 for heading levels 1 to 3. |
|
The maximum number of characters that a paragraph in the source document can contain for the text to meet the criteria for heading conversion. This option applies to word processing documents only. The default is 80 for heading levels 1 to 3. |
|
The minimum font size of text in the source document for the text to meet the criteria for heading conversion. The default is 14 for heading level 1, and 12 for heading levels 2 and 3. |
|
The maximum font size of text in the source document for the text to meet the criteria for heading conversion. The default is 20 for heading level 1, and 14 for heading levels 2 and 3. |
|
If you set The default is |
|
If you set The default is |
|
If you set The default is |
|
If you set The default is |
|
If you set The default is |
|
If you set The default is |
|
The amount of space in TWIPS (20th of a point) that must come before a paragraph in the source document for the text to meet the criteria for heading conversion. If The default is |
|
The amount of space in TWIPS (20th of a point) that must follow a paragraph in the source document for the text to meet the criteria for heading conversion. If The default is |