You are here: User Interface Elements - How to Use Each One > Local Formatting

 

Local Formatting

When you edit the content of a topic, you are working in the XML Editor. Local formatting is a way to change the look and feel of content directly so that the changes are applied only to that specific content (as opposed to applying the changes throughout your project via the use of styles). Many easy-to-use tools are provided for editing and formatting topics locally in the XML Editor to give them the look and feel you want, without having to know XML at all. Simply open the topic that you want to format, and use the tool that suits your needs best.

Local formatting (sometimes called "inline" formatting) can be very attractive because it is quick and easy. However, it is recommended that you use styles instead of local formatting whenever possible. Although local formatting is very convenient in the short-term, using styles is much more efficient and can save you a great deal of time in the long-term.

Best Practice: Style sheets are the best way to control the look of your content. See Best Practice—Using External Style Sheets Instead of Local Formatting .

Local formatting tools are available in the following areas.

Tools in Local Toolbar of XML Editor

The tools in the local toolbars of the XML Editor can help you add, remove, adjust, and view content in the XML Editor easily. To see these toolbars, simply open a topic. One toolbar is displayed at the top of the XML Editor and another is displayed at the bottom of the editor.

Explain all of the buttons (top of XML Editor)
Explain the buttons and sections (bottom of XML Editor when using Web Layout mode):
Explain the buttons and sections (bottom of XML Editor when using Print Layout mode)

Tools in Text Format Toolbar

The Text Format toolbar lets you quickly apply formatting to content in your topics and other files. To see this toolbar, click in the XML Editor, or select View>Toolbars>Text Format.

Explain the individual buttons

Local Formatting Window Pane

The Local Formatting window pane displays style properties for the selected content in a topic. You can then "overrule" the style settings for that specific content, without changing the style settings globally.

example

Let's say you have a style sheet that you are using for all topics in your project s. In this style sheet, you have set the font color for the <h2> style tag to blue. So every time you apply this style class to content in any of your topics, the font is blue. Now let's say that you have a topic called "Contact Our Company." In this topic, you have one instance where you are using the <h2> tag. You click on that line of text, and in the Local Formatting window pane, you change the font color to red. The line with the <h2> tag in that topic changes to red, but all other instances of an <h2> tag still use blue (unless they too have been overruled).

How to use the Local Formatting window pane

Font Properties Dialog

The Font Properties dialog lets you apply multiple kinds of font formatting to the selected content in a topic all at once. In the Font Properties dialog, you can set the font type, size, style, color, and background color. You can also apply effects such as overline, underline, strikethrough, superscript, subscript, and smallcaps. Finally, there are advanced formatting settings, such as expanded or condensed letter and word spacing, as well as capitalization options.

To open the Font Properties dialog, select Format>Font or press CTRL+SHIFT+B on your keyboard.

For more information see Editing Font Properties.

Paragraph Properties Dialog

The Paragraph Properties dialog lets you apply multiple kinds of paragraph formatting to the selected content in a topic all at once. In the Paragraph Properties dialog, you can set the paragraph alignment, indentation, and spacing.

To open the Paragraph Properties dialog, select Format>Paragraph or press CTRL+ALT+B on your keyboard.

For more information see About Paragraph Formatting.

See Also

PDF Downloads:

Flare Quick Guide

Flare Getting Started Guide

Flare What's New Guide

Flare Key Features Guide

Flare Transition From FrameMaker Guide

Flare Styles Guide

Flare Printed Output Guide

Flare WebHelp Plus Guide

Flare Shortcuts