This structure defines how HTML 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
the headingCreateType
member of KVHTMLTOCOptions
is set to allow automatic heading generation.
HTML Export evaluates the text against each member in the order in which the members appear below.
See KVHTMLTOCOptions for more information on automatic generation of headings.
When you convert PDF files to HTML by using the default reader, pdfsr
, the table of contents is generated from "bookmarks" within the PDF file. This structure is not used. The table of contents appear either at the beginning of the HTML file or in a separate frame.
typedef struct tag_KVHTMLHeadingInfo { int minParaLen; int maxParaLen; int fontSizeMin; int fontSizeMax; BOOL bMustBeBold; BOOL bMustBeItalic; BOOL bMustBeUnderlined; BOOL bNonZeroIndent; BOOL bNoTabs; BOOL bNoMultiSpaces; int mSpaceBefore; int mSpaceAfter; } KVHTMLHeadingInfo;
|