OpenOffice.Org 1.0 Resource Kit
Note Some illustrations in this section, and throughout the book, are shown with templates not included with OpenOffice.org, which we've created and obtained through the OpenOffice.org team. Many templates are available on the OpenOffice.org CD included with this book. You can also get old StarOffice 5.2 templates at http://wwws.sun.com/software/star/staroffice/5.2/templates/.
Up to this point in the chapter we've progressed from manually setting specific formatting characteristics to grouping those characteristics into specific styles. Styles are containers for characteristics. This section takes the progression a step further by talking about templates, which are containers for styles. A template is a document that was created with specific styles that can be used as a model for creating a specific type of document. For example, the program installs with templates to help you create resumes, memos, fax cover sheets, budgets , calendars, newsletters, HTML documents, envelopes, and a bevy of other types of documents. Templates are even more than containers for styles. They can also contain predefined text, graphics, pagination, work environment settings ( toolbars , keyboard shortcuts, etc.), and other elements that will always be used in a new document of that type. Creating a Document From a Template
See Creating a Writer Document From a Template on page 176. If you want to just use the styles from a template, see Loading Styles From Another Document on page 265. Switching to a Different Template
You can't change to a different template once you've created a document. However, you can bring styles in from another template or document. See Loading Styles From Another Document on page 265. About the Standard Template
When you start a new Writer document, Writer bases the new document on a template called Standard, which has a standard set of styles and some behind-the-scenes functionality. If you don't like the default style settings provided by the Standard template (for example, if you want to use a different font size for the Text body or heading styles), you can have Writer use another template for new documents. If all you want to do is start new documents with different font faces than those provided by the Standard template, there's an easy way to change the default standard fonts. See Changing Default Fonts and the Default Template on page 178. Changing Default Fonts in the Standard Template
These changes apply to Writer's Standard template only.
Using a Different Template as the Basis for New Documents
The Standard template is used as the basis for every document you create by choosing File > New > Text Document. If you find you always have to change the formatting of your new documents to suit your requirements, it is time to use a separate template, known as the default template .
Figure 7-62. Template Management window, specifying a new default template
Switching Back to the Standard Template for New Documents
If you switched from the Standard template to another template for creating new documents (see previous procedure), use this procedure to switch back to the Standard template.
The Standard template will now be used whenever you start a new Writer document. Modifying the Characteristics of the Default Style in the Standard Template
When you choose File > New > Text Document, you get a new blank document with one style, Default. It's Thorndale 12-point. If you want to change this, these are your options:
Loading Styles From Another Document
If you want a document to use styles from another document or a template, you can load all styles or individual styles. This procedure isn't the same as using a template to create a document. See Creating a Writer Document From a Template on page 176. Loading All Styles
If you're loading styles from a template, you can also click the Templates button at the bottom of the window to select a template. If you don't see the styles update automatically in the Stylist, click one of the other style buttons in the Stylist, then click the button of the styles you want to see. Loading Individual Styles
If you want to load individual styles from one document into another (rather than loading all styles), use the template Organizer.
Creating a Template
Creating a template isn't much more than formatting a document, adding boilerplate content to it if you want, and saving it in template format. If all you want to use a template for is to automatically insert boilerplate stuff like a company logo and address for a letterhead, you can also use the AutoText feature. See Creating and Inserting AutoText on page 180.
Editing Templates
If you edit one of the default templates, you might notice that it uses a handful of automated fields. For help on fields, see Chapter 9, Headers, Footers, and Fields , on page 281.
If you want to edit a template that isn't stored in a template folder, you can edit it by choosing File > Templates > Edit and double-clicking the template you want. Importing and Exporting Templates in the Organizer
Importing and exporting templates is simply a way of moving template files into and out of the template folders. This procedure shows you how to import and export templates using the Organizer. Importing a Template to a Category
Exporting a Template to a Different Category
Importing Microsoft Office Templates
See Converting Microsoft Office and StarOffice 5.2 Documents on page 161. Organizing Templates
In addition to letting you edit, import, and export templates, and share styles between documents, the Document Templates Organizer lets you create template categories.
Note Until you've created some templates, converted templates, or brought in the templates provided on the OpenOffice.org CD included with this book, you won't need to use this procedure.
Creating a Template Category
This procedure shows you how to create a template category using the Organizer.
Moving Templates to Different Categories
This procedure shows you how to move templates to different categories using the Organizer.
Deleting Templates and Template Categories
Editing Values of Fields in Business Correspondence Templates
See Setting Up Fixed Data for Business Cards or Labels on page 363 and Creating and Inserting Predefined Information Using Fields on page 284. |