OOo Off the Wall: Building Characters

Learning about character styles in OOo Writer.

Character styles are a set of formatting options applied to selected text. They are a basic tool in most word processors, and's use of character styles is more or less typical. If you have used character styles in other word processors, then you probably can grasp the basics of using them in with few difficulties.

If you are a newcomer to styles, imagine that you decide to put the title of a book in italics. You could enter an override by selecting the italics icon on the Function bar. However, you can work more efficiently if you create a character style for italics or book titles, and apply the style instead. That way, if you decide that all the book titles in your document should use a bold regular weight instead of italics, you can update them simultaneously by modifying the style.

As with other word processors' character styles,'s work closely with paragraph styles. That is, the basic font of a character style usually is chosen to match or contrast with a particular paragraph style's font. Often, too, the character style differs from the paragraph style only in the font effect, position or background it uses. In fact, you can think of character styles as a style-based override of a paragraph. But no matter how you think about them, character and paragraph styles are a matched pair, by far the most widely used styles in

What is less obvious and more unusual is that many character styles play important roles in the automatic functions of Writer, as well as in the export to other formats. Without these character styles working in the background, much of the convenience of Writer would be lost.

How do character styles work in Writer? How can you get the most out of them? When you know the answers to these questions, you'll start to understand the power of using styles to format your work.

What You Should Know About Character Styles

Character styles in have several characteristics that you should be aware of when using them:

  • Character styles do not have a Next Style field on the Organizer tab. Character styles generally are applied to selected text in paragraphs otherwise formatted with a paragraph style. Under this circumstance, specifying the next style makes no sense.

  • Unlike paragraph styles, character styles have a limited number of views available from the drop-down list in the stylist: All, Applied Styles, Custom and Hierarchical.

  • Character styles in are not cumulative, as they are in some word processors. In other words, you cannot apply the Emphasis character style followed by the Internet Link character style to get a format that combines the features of both. If you try, all you do is change the format of the selected text from Emphasis to Internet Link. Instead, you need to create a third character style that combines the characters of both. The quickest way to do this would be to create a new character style based on one of the styles and then modify it to use the features you want from the second style.

The window for designing a new character style. Character styles can be hierarchial, so the Linked with field is available. However, there rarely are used one after another, so there's no Next Style setting.

Pre-Defined Styles

Every now and then, people on the users' list asks why so many styles are pre-defined. They would rather define their own styles, they say, and grow peevish when they find that they can't delete the pre-defined ones. However, set the Stylist to the All View and select the Character Style button, and you'll soon understand why the pre-defined styles exist and are undeletable.

To start with, many character styles are used automatically by, even though you might not be aware of the fact. For example, the Bullet style is used for unordered lists and the Numbering Symbol style for ordered lists. Similarly, Line Number is used whenever you select Tools -> Line Numbering, and Page Number is used when you select Insert -> Fields > Page Number. And, when URL Recognition is chosen from Tools -> AutoCorrect/AutoFormat -> Options, Writer automatically uses the Internet and Visited Internet Link character styles when appropriate. You don't need much reflection to realize that if such character styles were deletable, an anal-retentive user could cripple Writer in the name of tidiness.

Less obviously, many pre-defined character styles also are mapped to HTML, XHTML and/or XML tags. For example, the Emphasis character style maps to the em tag and the Strong Emphasis style to the strong tag. Other tags mapped to markup languages include Definition (dfn), Example (sample), Quotation (cite) and Source Text (code). You could export to a markup language without these styles, but the code would be dependent on a style sheet and considerably less clean.

Customizing the pre-defined styles, of course, is another matter. Because they are used automatically, you can format them and forget about them. What if you prefer not to look at them at all? Make your own character styles, and select the Custom Styles view in the Stylist. The predefined styles continue to be applied in the background and are updated by any changes made to your default paragraph fonts.

Writer comes with pre-defined character styles. These styles are not only for users' convenience. Most are used automatically by Writer, which is why you can't delete them.


-- Bruce Byfield (nanday)


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: OOo Off the Wall: Building Characters

Anonymous's picture

That is all very well but I just wish OO6 would not screw up every envelope I try to print

Re: OOo Off the Wall: Building Characters

vd's picture

Monospaced fonts

Anonymous's picture

Personally, I find Lucida Typewriter to be a decent-looking monospaced font. It's a standard font with at least some Linux distributions, too, so it's certainly worth looking at.

Re: OOo Off the Wall: Building Characters

Anonymous's picture

That's a very well written article. Does anybody know where I can go with problems with the numbering of my heading styles? They don't count 1,2,3... but instead they go 1,1,1...


Re: OOo Off the Wall: Building Characters

Anonymous's picture

I think what you are looking for is "Outline Numbering".
Don't use normal numbering for your heading styles, it will only cause headaches. Checkout "Outline Numbering" on the tools menu.


Re: OOo Off the Wall: Building Characters

Bruce_Byfield's picture

Patience . . . I'll be getting there in another four or five articles.

Re: OOo Off the Wall: Building Characters

Anonymous's picture

But what if he needs to finish the document before then?

OP: check out the OpenOffice forums:

Re: OOo Off the Wall: Building Characters

Bruce_Byfield's picture

You're right. I should have mentioned the OOo support. My apologies.

As an alternative to the forum, try the mailing list at:

The User's list is probably the one you want. You can either subscribe, or else look through the archives.