After you create a new topic or table style sheet, you can edit the styles within it.
There are hundreds of tasks that you can perform in Flare by using styles. Following are some common tasks that you might perform when editing styles.
Look of generated glossary You can use styles to change the appearance of a glossary
Note: If you want to change the look of glossaries in online output, you can do so by modifying styles within your skin.
Look of generated index
Note: If you want to change the look of indexes in online output, you can do so by modifying styles within your skin.
Set Flare supports redacted text, which is text that is "blacked out" in Adobe PDF or Microsoft XPS output. This is much more efficient than attempting to black out text or other content after the document has been printed. You can set redacted text on any kind of content (e.g., characters, paragraphs, images, tables). You can do this locally at the font level by highlighting each piece of content
Using table style sheet You can modify the look and feel of multiple tables at once by editing the properties in a custom table style sheet. These table style sheets let you easily and quickly create patterns and different looks for tables. See How to edit styles in a table style sheet.
Using topic style sheet You can modify the look and feel of multiple tables at once by editing standard HTML table tags (e.g., <table>, <th>, <td>, <tr>) in your topic style sheet. For example, you might use these styles in order to control the look of the text that appears in your table headings (<th> style) or within the cells (<td> style). See Editing Table Styles in Topic Style Sheets.
When you insert a table, it is set up by default to use standard table tags in the individual cells (e.g., <th> for table headers, <td> for regular table text). However, if you press Enter at the end of a line, a <p> tag is added within the standard tag. Therefore, in order to keep all of the content in your table cells looking consistent, you may want to create a special style class of the <p> tag to be used for table content (e.g., p.tabletext) and apply that style to all of your cells when you first create a table. You can apply specific styles to tables by selecting the table cells, clicking Table>Cell Content Style, and choosing the style to be used for those cells. See Selecting Styles for Table Cell Contents.
Page layout breaks You can set page layout breaks on tables using a couple of different options. In topic style sheets, you can set breaks on the standard HTML table tags. The most common approach is to set breaks on table rows through the <tr> style tag. Another option is that you can set breaks on rows (and on entire tables) through a table style sheet. And because you can create patterns in table style sheets, each pattern item might have different settings for breaks. See Setting Page Layout Breaks on Tables.
Note: When controlling the look of tables, you should not create and use classes of standard HTML table tags (e.g., a class of the <tr> tag) if you also intend to use table style sheets.
Note: If you want to change the look of your TOC in online output, you can do so by modifying styles within your skin.
.
.
.
. Background You can change the background color for topics by using the <body> style or classes of that style. If you want the background color to be applied to all topics using a particular style sheet, you can use the main <body> style. If you want to change the background color for only some topics, create and use a class of the <body> style. See Applying Color to the Background for Topics.
You can also add a background image on topics by using the <body> style tag. See Setting a Background Image on Topics.
Following are the basic steps for editing styles in a topic style sheet.
How to edit styles in a topic style sheet
Open the topic style sheet that you want to modify.
Complete one of the following sets of steps, depending on whether you want to use the Simplified view or Advanced view in the Stylesheet Editor.
Warning: When editing styles, make sure the proper medium is selected in the Stylesheet Editor before you begin (you can do this from the Medium drop-down list). Flare remembers the last medium that you used when working in the style sheet, so it may or may not be the one that you want to use the next time around. If you want all mediums to use the same setting, select the "default" medium and the properties will "trickle down" to the other mediums. If you are not using different mediums, you do not need to worry about selecting one when you edit styles.
If using the Simplified view:
(which means that the Simplified view is currently shown in the editor). If the button displays
instead, then click it.
in the upper-left corner of the Stylesheet Editor to limit which styles are shown in the editor. For example, if you select Show All Styles, then all styles will be displayed. If you select Show Paragraph Styles, only paragraph styles will be displayed. If you select Show Table Styles, only table styles will be displayed.
. The Properties dialog opens.If using the Advanced view:
(which means that the Advanced view is currently shown in the editor). If the button displays
instead, then click it.
in the upper-left corner of the Stylesheet Editor to limit which styles are shown in the editor. For example, if you select Show All Styles, then all styles will be displayed. If you select Show Paragraph Styles, then only paragraph styles will be displayed. If you select Show Table Styles, then only table styles will be displayed.In the Styles section of the editor, select the style that you want to edit.
Note: If you want to limit the list of styles to only those that you tend to use in your project, you can disable the styles that you do not want to see. This does not delete those styles; it merely hides them from view. See Disabling Styles.
on the upper-right side of the editor, select any of the options shown to determine which properties are displayed below. This is simply a way to find the appropriate property as quickly as possible.
next to it.In the Properties section, locate the specific property that you want to change.
The property name is shown in the left column. The right column is used for selecting and entering values for the property.
If you completed values in a popup, click OK at the bottom of the box.
As you make changes to a property's values, you can see how the changes look in the Preview section at the bottom of the editor.
to save your work.Following are the basic steps for editing styles in a table style sheet.
How to edit styles in a table style sheet
Background Use this area to specify the settings that you want for the table background.
In the Color field, click the down arrow and select a color from the popup. For advanced color options, select More Colors and use the fields in the Color Picker dialog.
Next to the Image field, click
. Select an image file to insert and click OK.
If you want the background image to repeat, select one of the options from the Repeat field. You can also set the image position horizontally and vertically by using the X and Y fields.
Row/Column/Header/Footer Styles Displays the patterns for the row, column, header, or footer in the style sheet. Each line represents a different pattern and how many times it is repeated in a table before the next pattern occurs.
Name Displays the name of each pattern. Depending on which tab you are working on, the default names of the patterns may be Body1, Body2, Body3, etc.… Column1, Column2, Column3, etc.… Header1, Header2, Header3, etc.… Footer1, Footer2, Footer3, etc. You can click in the cell, press F2, and enter a custom name for each pattern if you like.
Type Select a type for the item.
Most of the time you will probably want to use the Pattern type. This means that the settings for that item will be added automatically to any table using that table style sheet. But if an item has a Custom type, its settings will not be added to a table automatically; instead, you would need to apply that item manually to the particular areas of the table where you want to use it. The Custom type might be used if you want a particular style for most of your tables, but there might be some tables where the style needs to be changed somewhat. In those cases, you can manually override the style for those specific tables.
example
Let's say you have a table style sheet with three pattern items on the Rows tab (Body1, Body2, Body3), with alternating background colors of blue, yellow, and red, respectively.
However, only the first two items are using the Pattern type. The third item is using the Custom type. Therefore, when you insert a table and use this style sheet, the rows alternate between blue and yellow only.
This particular pattern was created on the Rows tab, which means that it displays only in your body rows, not in any header or footer rows. By right-clicking on the <tbody> tag or any of the <tr> tags within it, you can select Row Style from the context menu. From there, you can select any of the available items in the pattern to override what you already have in the table.
The only difference between the first two items (Body1 and Body2) and the third item (Body3) is that Body3 can be applied only from this context menu manually. Body1 and Body2 are applied automatically, but can also be applied manually from the context menu too.
Repeat Click the up or down numbers to increase or decrease the number of times the pattern occurs in a table before the next pattern is displayed.
example
Let's say you want to create a pattern for rows. "Body4" means that it is the fourth pattern in the style sheet (although you can give the pattern a custom name, such as "Yellow"). "3 Rows" means that the pattern repeats for three rows in a table before either "Body5" displays (if there is one) or "Body1" starts the cycle over again.
Adds a new pattern. The new pattern is initially set to repeat just once, but you can change that in the "Repeat" cell.
Removes the selected pattern from the list.
Moves the selected pattern up in the list.
Moves the selected pattern down in the list.
Height/Width Select a pattern from the section above. Then click this field to open a small popup, which lets you set properties for the height of the row or width of the column. In the lower-left field enter a number. In the lower-right field, select a unit of measurement (e.g., points, pixels, centimeters) for the number you entered.
Style Select an option to change the style of the font (e.g., italic). According to the World Wide Web Consortium (w3.org):
The font style specifies whether the text is to be rendered using a normal, italic, or oblique face. Italic is a more cursive companion face to the normal face, but not so cursive as to make it a script face. Oblique is a slanted form of the normal face, and is more commonly used as a companion face to sans-serif. This definition avoids having to label slightly slanted normal faces as oblique, or normal Greek faces as italic.
Background Use this area to specify the settings that you want for the background.
In the Color field, click the down arrow and select a color from the popup. For advanced color options, select More Colors and use the fields in the Color Picker dialog.
Next to the Image field, click
. Select an image file to insert and click OK.
If you want the background image to repeat, select one of the options from the Repeat field. You can also set the image position horizontally and vertically by using the X and Y fields.
Pattern Example:
Let's say you want the rows in the table to alternate between having no background color and a green background color. In addition, you want a header row to have a blue background. To do this, you would complete the following steps:
. Now there should be two patterns (Body1 and Body2).The Preview section at the bottom of the editor lets you see how the table elements look as you make changes.
to save your work.After you edit a topic or table style sheet, you can apply the style(s) to content.
|
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 |
Common Style Editing Tasks
See Also