OOo Off the Wall: Building Characters
Character styles are a set of formatting options applied to selected text. They are a basic tool in most word processors, and OpenOffice.org'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 OpenOffice.org 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, OpenOffice.org'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 OpenOffice.org.
What is less obvious and more unusual is that many character styles play important roles in the automatic functions of OpenOffice.org 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.
Character styles in OpenOffice.org 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 OpenOffice.org 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.
Every now and then, people on the OpenOffice.org 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 OpenOffice.org, 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.
-- Bruce Byfield (nanday)
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- RSS Feeds
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Home, My Backup Data Center
- A Topic for Discussion - Open Source Feature-Richness?
- Dart: a New Web Programming Experience
- Developer Poll
- What's the tweeting protocol?
- May 2013 Issue of Linux Journal: Raspberry Pi
- Reply to comment | Linux Journal
6 min 46 sec ago - great post
41 min 39 sec ago - Google Docs
1 hour 4 min ago - Reply to comment | Linux Journal
5 hours 52 min ago - Reply to comment | Linux Journal
6 hours 39 min ago - Web Hosting IQ
8 hours 13 min ago - Thanks for taking the time to
9 hours 49 min ago - Linux is good
11 hours 47 min ago - Reply to comment | Linux Journal
12 hours 4 min ago - Web Hosting IQ
12 hours 34 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.





Comments
Re: OOo Off the Wall: Building Characters
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
report that on http://qa.openoffice.org/issue_handling/project_issues.html
Monospaced fonts
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
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...
Jo
Re: OOo Off the Wall: Building Characters
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.
Phil
Re: OOo Off the Wall: Building Characters
Patience . . . I'll be getting there in another four or five articles.
Re: OOo Off the Wall: Building Characters
But what if he needs to finish the document before then?
OP: check out the OpenOffice forums: http://www.oooforum.org/
Re: OOo Off the Wall: Building Characters
You're right. I should have mentioned the OOo support. My apologies.
As an alternative to the forum, try the mailing list at:
www.openoffice.org/mail_list.html
The User's list is probably the one you want. You can either subscribe, or else look through the archives.