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,
click here.
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. This can occur if you have not yet made any modifications to the style in the Stylesheet Editor. Therefore, before applying a style to content, make sure you first provide the necessary settings for the style.
Another possible reason for this has to do with the location of the cursor in the topic. Flare realizes where the cursor is placed and knows that only certain styles should be applied at that location.
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:
Right-click the structure bar to the left that is labeled "form" and select Style Class>[Name of Style].
Headings:
Links (e.g., cross-references, text hyperlinks):
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 right-click the structure bar and select Style Class>[Name of Style].
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 sheetThe following steps show how to apply a table style sheet to one table at a time. Use the next set of steps if instead you want to quickly apply a table style sheet to many tables in different files.
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,
click here.
Right-click the table tag bar.
In the context menu select Table Style and then select the style sheet in the submenu.
OR
In the context menu, select Table Properties. The Table Properties dialog opens.
Click Table Style, and from the drop-down select the style sheet.
Note: If you have not yet created a table style sheet yet, you can do so by clicking
to the right of the field. Click the face of the button, not the down arrow.
to save your work.
How to apply a table style sheet—multiple tables and files
The following steps show how to quickly apply a table style sheet to many tables in different files. Use the previous set of steps if instead you want to apply a table style sheet to one table at a time.
In the local toolbar of the Table Style Editor, click Apply Style.
The Apply Table Style dialog opens, displaying all folders and topic files in your project.
Click in the check box next to each folder and/or file containing tables that should use the style sheet. If you click next to a folder, the style sheet will be applied to all files and subfolders under it.
You can also select either of the following options in the dialog:
Overwrite existing table styles Select this if you want to overwrite existing table styles in those topics. If you choose this option, you can also select Remove print table styles. As of Flare V7, print table styles are no longer the preferred method for single-sourcing tables in online and print output; mediums are now the recommended solution
Remove local formatting Select this if you have local formatting in tables and want to remove it when the table style is applied.
|
PDF Downloads: |
MadCap Software, Inc. 7777 Fay Avenue La Jolla, California 92037 Tollfree 1-888-MadCap1 Tel 858-320-0387 Fax 858-320-0338
For technical support: http://madcapsoftware.com/support/
Copyright 2011 MadCap Software |
See Also