When creating
One option is to base the headings on style levels. The mc-heading-level property is used to indicate a TOC level for a style. This property is already set to 1 for <h1> styles, 2 for <h2> styles, 3 for <h3> styles, and so on. Therefore, you can simply use the <h1> through <h6> styles provided by Flare in your content. You can also set the mc-heading-level property to the appropriate depth level for any paragraph style that you want to use as a heading. In the output, the print TOC will display styles with an mc-heading-level value of 1 at the highest (far left) level, those with a value of 2 at the next level, and so on (regardless of the structure of the
example
Let's say that you have applied <h1>, <h2>, and <h3> styles to headings in your topics, but you only want the headings with <h2> and <h3> styles to be included in the print TOC (omitting <h1> headings from the print TOC). You can do this by designating the level of the "mc-heading-level." A level of 0 means the heading is not included in the print TOC, a level of 1 means that it is included at the highest level in the TOC hierarchy (farthest to the left), a level of 2 means that it is included at the second highest level in the TOC hierarchy, and so on. Therefore, for this example, you might set the mc-heading-level for the <h1> style to 0. And if you want to move the <h2> and <h3> headings up a level, you could set the mc-heading-level property for <h2> to 1, and the property for <h3> to 2.
How to use styles to determine heading levels in a print TOC
Open the topic style sheet that you want to modify.
Make sure the appropriate medium is selected. If you are not using style sheet mediums for your different outputs or if you want all mediums to have the same settings, just leave the medium set to "default" and continue.
(which means that the Advanced view is currently shown in the editor). If the button displays
instead, then click it.
and select Show Heading Styles. From the area below, select the <h1> through <h6> style (h1, h2, h3, h4, h5, h6) that you want to customize.
If you created other custom styles for your headings (e.g., p.MyIndexHeading), you can select those styles instead (you may first need to switch to a view that shows all paragraph styles). The mc-heading-level property (which is the property that determines the heading level in a print TOC) can be applied to any paragraph style.
on the upper-right side of the editor, select Show: Property Groups.
next to PrintSupport to expand the group.
to save your work.Note: As an alternative to basing headings on styles, you can base the headings on the
Make sure you apply the styles to be used in the generated TOC to the appropriate headings in your content.