You can apply styles from a style sheet to content in your topics.
How to apply styles from a topic style sheet
When you insert or create certain content in a topic, the parent tag for that type of element is often automatically applied (e.g., the <li> tag is automatically applied when you create a list bullet item). The following steps show you how to select a particular style for content (perhaps a class of a parent tag, such as "li.indented," or another tag altogether).
Styles window pane
Select View>Style Window or press F12 on your keyboard. The Styles window pane opens on the right side of the interface, showing styles from your style sheet.
Drop-down in Text Format toolbar
Select View>Toolbars>Text Format so that it has a check mark next to it. The drop-down in the toolbar looks like this: 
The current style is displayed in the drop-down—in this example, <li> is the current style.
After placing your cursor on some topic content, press CTRL+SHIFT+H on your keyboard. The Style Picker displays, showing style classes from the style sheets that are associated with the topic.

In the local toolbar at the bottom of the XML Editor, click one of the buttons to turn on the structure bars:
. Depending on the button that you click, structure bars are displayed either to the left of the topic or table content, or above it.
To watch a movie that explains these bars,
Markers
In the local toolbar of the XML Editor, click the down arrow in the Show tags button
and select Show Markers.
When applying styles to content, you may notice from time to time that the style you are looking for is not available from the drop-down list or Styles window pane when you try to select it.
example
Let's say that you have your cursor on a regular paragraph and you want to apply a list <li> style to it in order to turn it into the beginning of a bulleted list. Because it is not yet a list item, but rather a simple paragraph, you will not see your <li> style when you try to select it. Instead, you will see several paragraph styles in the list. In order to use the list style, you first need to turn the paragraph into a bulleted list item, by clicking the bullet button
in the Text Format toolbar or selecting an option such as Format>List>Bullet List.
Here is another example. If multiple paragraphs are selected or if the cursor is simply placed somewhere within a paragraph, the paragraph styles are shown in the Styles window pane. If only a portion of a paragraph is selected, the character styles are shown.
If you still do not see your style available for selection, try closing and re-launching Flare.
Characters (i.e., selected text):
Dynamic effects (e.g., drop-down text, expanding text, togglers, popups):
. Then right-click the marker and select Style Class>[Name of Style].Footnotes:
. Then right-click the marker and select Style Class>[Name of Style].Forms:
To the left of the form, hover over the structure bar to the left that is labeled "form" until the cursor is a hand
. Then click the bar and select Style Class>[Name of Style].
Headings:
Links (e.g., cross-references, text hyperlinks):
Click the tag hint bar—the small yellow rectangle
below and at the beginning of the link.
Alternatively, at the top of the XML Editor, you can click the span bar representing the link. For example, hyperlink span bars have an "a" label, and cross-reference span bars have a "MadCap:xref" label. When you click on the link in the topic, the appropriate span bar at the top of the XML Editor will change color to indicate that it goes with the link. If your span bars are not turned on, click
in the local toolbar at the bottom of the XML Editor.
List items:
Paragraphs:
Reusable content (e.g., variables, proxies)
Hover over the reusable item in the topic until the cursor is an arrow
. Then right-click the item and select Style Class>[Name of Style].
Tables:
For some table styles (e.g., <caption>, <th>), you can click somewhere on the appropriate text in the table and select the style from the Styles window pane, the Floating Style Picker, or the Text Format toolbar.
For other table styles (e.g., <table>, <tr>), you can hover over the structure bar until the cursor is a hand
. Then click the bar and select Style Class>[Name of Style].
If want to select the <table> style, you need to first click elsewhere in the topic (outside of the table) in order to see the appropriate bar. If you want to select other styles, such as <tr>, you need to click inside the table to see the appropriate table structure bars.
Note: For another way to select styles for table content, including the ability to use <p> tags in tables, see Selecting Styles for Table Cell Contents.
Note: You can also create and apply style sheets specifically for tables (described below).
to save your work.
How to apply a table style sheet
If the tag block bars are not displayed to the left of the topic, click
at the bottom of the editor.
To watch a movie that explains these bars, ![]()
Hover over the table tag bar until the cursor is a hand
. Then click it.
In the popup menu, select Table Properties.
The Table Properties dialog opens.
In the Table Style section, select the style sheet.
Note: You can also select a CSS table style for the table by clicking CSS Class.
to save your work.|
Downloads (PDF Format): Flare Transition From RoboHelp Guide |
MadCap Software, Inc. 7777 Fay Avenue La Jolla, California 92037 Tollfree 1-888-MadCap1 Tel 858-320-0387 Fax 858-320-0338 |
See Also