Chapter 12 Working with Templates

Similar documents
Chapter 10 Working with Templates

Getting Started Guide. Chapter 3 Using Styles and Templates

Getting Started Guide. Chapter 3 Using Styles and Templates

Chapter 2 Using Slide Masters, Styles, and Templates

Chapter 13 Working with Styles

Getting Started Guide. Chapter 3 Using Styles and Templates

Chapter 15 Using Fontwork

Chapter 3 Using Styles and Templates

Chapter 3 Using Styles and Templates

Chapter 3 Using Styles and Templates

Chapter 3 Using Styles and Templates

Chapter 9 Getting Started with Impress:

Chapter 10 Using Styles in Calc:

Chapter 9 Slide Shows

Chapter 12 Creating Tables of Contents, Indexes and Bibliographies

Chapter 2 Entering, Editing, and Formating Data

Chapter 12 Creating Web Pages

Appendix A Keyboard Shortcuts

Chapter 8 Getting Started with Draw:

Chapter 1 Introducing Writer

Chapter 7 Getting Started with Calc:

Chapter 7 Inserting Spreadsheets, Charts, and Other Objects

Chapter 9 Getting Started with Impress

Writer Guide. Chapter 16 Customizing Writer

Chapter 5 Setting up OpenOffice.org

Chapter 12 Creating Web Pages

Getting Started Guide. Chapter 11 Graphics, the Gallery, and Fontwork

Migration Guide. Chapter 4 General Differences in Use between OpenOffice.org and Microsoft Office. OpenOffice.org

Getting Started Guide. Chapter 14 Customizing LibreOffice

Impress Guide Chapter 11 Setting Up and Customizing Impress

Writer Guide. Chapter 5 Printing, Exporting, Faxing, and ing

Writer 6.0 Guide. Chapter 14 Mail Merge. Form Letters, Mailing Labels, and Envelopes

Impress Guide. Chapter 11 Setting Up and Customizing Impress

Chapter 6 Getting Started with Writer

Chapter 6 Formatting Graphic Objects

Chapter 2 Setting up Writer

Impress Guide. Chapter 1 Introducing Impress

Writer Guide. Chapter 13 Working with Master Documents

Draw Guide. Chapter 11 Advanced Draw Techniques

Copyright. Authors. Feedback. Acknowledgments. Publication date and software version

Chapter 10 Linking Calc Data

Writer 5.4 Guide. Chapter 7 Printing, Exporting, ing

Chapter 9 Slide Shows

Writer 5.4 Guide. Chapter 16 Master Documents

Chapter 11 Graphics, the Gallery, and Fontwork

Writer Guide. Chapter 15 Using Forms in Writer

Impress Guide Chapter 1 Introducing Impress

Gary Schnabl Paul Miller Martin J Fox. Please direct any comments or suggestions about this document to:

Chapter 14 Working with Fields

Draw Guide. Chapter 4 Changing Object Attributes

Chapter 9 Slide Shows

Getting Started Guide. Appendix A Keyboard Shortcuts

Getting Started Guide. Chapter 10 Printing, Exporting, ing

Writer 5.4 Guide. Chapter 15 Tables of Contents, Indexes, Bibliographies

Impress Guide. Chapter 1 Introducing Impress

Writer Guide. Chapter 12 Tables of Contents, Indexes, and Bibliographies

Getting Started Guide. Chapter 11 Graphics, the Gallery, and Fontwork

Impress Guide. Chapter 1 Introducing Impress

Chapter 10 Linking Calc Data

Writer Guide. Chapter 12 Tables of Contents, Indexes, and Bibliographies

Chapter 2 Setting up OpenOffice.org

Getting Started Guide. Appendix A Keyboard Shortcuts

Getting Started Guide. Chapter 11 Graphics, Gallery, Fontwork

Chapter 14 Setting up and Customizing Calc

Calc Guide. Chapter 6 Printing, Exporting and ing

Writer Guide Chapter 6 Introduction to Styles

Calc Guide. Chapter 6 Printing, Exporting, and ing

Chapter 12 Calc Macros

Calc Guide. Chapter 14 Setting up and Customizing Calc

Impress Guide Chapter 10 Printing, ing, exporting, and saving slide shows

Draw Guide Chapter 1 Introducing Draw

Writer 6.0 Guide. Chapter 20 Setting up Writer. Choosing options to suit the way you work

Introduction to Draw:

How to do a "Mail Merge" from a Calc spreadsheet.

Chapter 6 Editing Pictures (Raster Graphics)

Session 10 MS Word. Mail Merge

Draw Guide. Chapter 2 Drawing Basic Shapes

Chapter 2 Setting up Writer

Draw Guide. Chapter 9 Adding and Formatting Text

Getting Started Guide. Chapter 11 Graphics, the Gallery, and Fontwork

Chapter 1 Introducing Draw

Chapter 7 Working with Styles

Impress Guide. Chapter 1 Introducing Impress

Chapter 4 Getting Started with Writer

Calc Guide. Chapter 14 Setting up and Customizing Calc

Draw Guide. Chapter 2 Drawing Basic Shapes

Chapter 6 Getting Started with Impress

Chapter 6 Getting Started with Impress

Chapter 4 Formatting Pages

Writer Guide. Chapter 15 Using Forms in Writer

Calc Guide. Appendix A Keyboard Shortcuts

Ticket Mail Merge Instructions for MS Word 2007 and 2010

Calc Guide. Chapter 11 Sharing and Reviewing Documents

Chapter 6 Introduction to Styles

Calc Guide. Chapter 11 Sharing and Reviewing Documents

Getting Started with Apache OpenOffice. Chapter 5 Getting Started with Impress

Draw Guide. Chapter 7 Working with 3D Objects

Calc Guide. Appendix A Keyboard Shortcuts

Chapter 6 Getting Started with Impress

Writer 5.4 Guide. Chapter 1 Introducing Writer

Transcription:

Getting Started Guide 12 Chapter 12 Working with Templates OpenOffice.org

Copyright This document is Copyright 2005 2007 by its contributors as listed in the section titled Authors. You may distribute it and/or modify it under the terms of either the GNU General Public License, version 3 or later (http://www.gnu.org/licenses/gpl.html), or the Creative Commons Attribution License, version 3.0 (http://creativecommons.org/licenses/by/3.0/) or later. All trademarks within this guide belong to their legitimate owners. Authors Catherine Waterman Paul Miller Alan Madden Jean Hollis Weber Chris Bonde Agnes Belzunce Feedback Please direct any comments or suggestions about this document to: authors@user-faq.openoffice.org Publication date and software version Published 20 April 2008. Based on OpenOffice.org 2.4. You can download an editable version of this document from http://oooauthors.org/en/authors/userguide2/published/

Contents Contents Copyright...i Authors...i Feedback...i Publication date and software version...i What is a template?...1 Using a template to create a document...1 Creating a template...2 Creating a template from a document...2 Creating a template using a wizard...3 Editing a template...4 Adding templates with Extension Manager...6 Setting a default template...7 Setting a custom template as the default...7 Resetting the default to OOo s in-built Default template...8 Organizing templates...8 Creating a template folder...8 Deleting a template folder...8 Moving a template...9 Deleting a template...9 Importing a template...9 Exporting a template...9 Working with Templates i

What is a template? What is a template? A template is a model that you use to create other documents. For example, you can create a template for business reports that has your company s logo on the first page. New documents created from this template will all have your company s logo on the first page. Templates can contain anything that regular documents can contain, such as text, graphics, a set of styles, and user-specific setup information such as measurement units, language, the default printer, and toolbar and menu customization. All documents in OpenOffice.org (OOo) are based on templates. You can create a specific template for any document type (text, spreadsheet, drawing, presentation). If you do not specify a template when you start a new document, then the document is based on the default template for that type of document. If you have not specified a default template, OOo uses the blank template for that type of document that is installed with OOo. See Setting a default template on page 7 for more information. This chapter shows you how to: Use a template to create a document Create a template Edit a template Use Extension Manager to install new templates Set a default template Organize templates Using a template to create a document To use a template to create a document: 1) From the main menu, choose File > New > Templates and Documents. The Templates and Documents window opens. (See Figure 1.) 2) In the box on the left, click the Templates icon if it is not already selected. A list of template folders appears in the center box. 3) Double-click the folder that contains the template that you want to use. A list of all the templates contained in that folder appears in the center box. 4) Click the template that you want to use. You can preview the selected template or view the template s properties: To preview the template, click the Preview icon. A preview of the template appears in the box on the right. To view the template s properties, click the Document Properties icon. The template s properties appear in the box on the right. 5) Click Open. The Templates and Documents window closes and a new document based on the selected template opens in OOo. You can then edit and save the new document just as you would any other document. Working with Templates 1

Using a template to create a document Figure 1. Templates and Documents window Creating a template You can create your own templates in two ways: From a document Using a wizard Creating a template from a document To create a template from a document: 1) Open a new or existing document of the type you want to make into a template (text document, spreadsheet, drawing, presentation). 2) Add the content and styles that you want. 3) From the main menu, choose File > Templates > Save. The Templates window opens (see Figure 2). 4) In the New template field, type a name for the new template. 5) In the Categories list, click the category to which you want to assign the template. (The category is simply the template folder in which you want to save the template. For example, to save the template in the My Templates folder, click the My Templates category.) To learn more about template folders, see Organizing templates on page 8. 6) Click OK. OOo saves the new template and the Templates window closes. Working with Templates 2

Creating a template Figure 2. Saving a new template Any settings that can be added to or modified in a document can be saved in a template. For example, below are some of the settings (although not exhaustive) that can be included in a Writer document and then saved as a template for later use: Printer settings: which printer, single sided / double sided, and paper size, and so on Styles to be used, including character, page, frame, numbering and paragraph styles Format and settings regarding indexes, tables, bibliographies, table of contents Creating a template using a wizard You can use wizards to create these types of templates: Letter Fax Agenda Presentation Web page For example, the Fax Wizard steps you through the following choices: Type of fax (business or personal) Document elements like the date, subject line (business fax), salutation, and complementary close Options for sender and recipient information (business fax) Text to include in the footer (business fax) Working with Templates 3

Creating a template To create a template using a wizard: 1) From the main menu, choose File > Wizards > type of template required (Figure 3). Figure 3. Creating a template using a wizard 2) Follow the instructions on the pages of the wizard. This process is slightly different for each type of template, but the format is very similar. 3) In the last section of the wizard, you can specify the name and location for saving the template. The default location is your user templates directory, but you can choose a different location if you prefer. 4) Finally, you have the option of creating a new document from your template immediately, or manually changing the template. For future documents, you can re-use the template created by the wizard, just as you would use any other template. Editing a template You can edit a template s styles and content, and then, if you wish, you can reapply the template s styles to documents that were created from that template. (Note that you can only reapply styles. You cannot reapply content.) To edit a template: 1) From the main menu, choose File > Templates > Organize. The Template Management window opens (see Figure 4). Working with Templates 4

Editing a template Figure 4. Template management window 2) In the box on the left, double-click the folder that contains the template that you want to edit. A list of all the templates contained in that folder appears underneath the folder name. 3) Click the template that you want to edit. 4) Click the Commands button and choose Edit from the drop-down menu. 5) Edit the template just as you would any other document. To save your changes, choose File > Save from the main menu. The next time you open a document that was created from the changed template, the following message appears. Figure 5. Apply current styles message Click Yes to apply the template s changed styles to the document. Click No if you do not want to apply the template s changed styles to the document. Whichever option you choose, the message box closes and the document opens in OOo. Working with Templates 5

Adding templates with Extension Manager Adding templates with Extension Manager The Package Manager was introduced in OOo 2.0.4 and renamed the Extension Manager in OOo 2.1. This feature provides an easy way to install collections of templates, graphics, macros, or other addins that have been packaged into files with a.oxt extension. This page lists many of the available templates: http://extensions.services.openoffice.org/. 1) After you download a package, select Tools > Extension Manager from the menu bar. In the Extension Manager dialog (Figure 6), click Add. Figure 6: Installing a package of templates 2) A file browser window opens. Find and select the package of templates you want to install and click Open.The package begins installing. You may be asked to accept a license agreement. 3) When the package installation is complete, the templates are available for use through File > New > Templates and Documents and the extension is listed in the Extension Manager (Figure 7). If you select one of the packages, other buttons (Remove, Disable, Export, Updates) become active. Working with Templates 6

Adding templates with Extension Manager Figure 7: Newly-added package of templates Setting a default template If you create a document by choosing File > New > Text Document (or Spreadsheet, Presentation, or Drawing) from the main menu, OOo creates the document from the Default template for that type of document. You can, however, set a custom template to be the default. You can reset the default later if you choose. Setting a custom template as the default You can set any template to be the default, as long as it is in one of the folders displayed in the Template Management window. To set a custom template as the default: 1) From the main menu, choose File > Templates > Organize. The Template Management window (Figure 4) opens. 2) In the box on the left, double-click the folder containing the template that you want to set as the default, then select the template. 3) Click the Commands button. 4) From the drop-down menu, choose Set As Default Template. The next time that you create a document by choosing File > New, the document will be created from this template. Working with Templates 7

Setting a default template Resetting the default to OOo s in-built Default template To re-enable OOo s Default template for a document type as the default: 1) In the Template Management window, in the box on the left, click any folder. 2) Click the Commands button and choose Reset Default Template from the drop-down menu. The next time that you create a document by choosing File > New, the document will be created from OOo s Default template for that document type. Organizing templates OOo can only use templates that are in OOo template folders. You can create new OOo template folders and use them to organize your templates, and import templates into those folders. For example, you might have one template folder for report templates and another for letter templates. You can also export templates. To begin, choose File > Templates > Organize from the main menu. The Template Management window (Figure 4) opens. Note All the actions made by the Commands button in the Template Management window can be made as well by right-clicking on the templates or the folders. Creating a template folder To create a template folder: 1) In the Template Management window, click any folder. 2) Click the Commands button and choose New from the drop-down menu. A new folder called Untitled appears. 3) Type a name for the new folder, and then press the Enter key. OOo saves the folder with the name that you entered. Deleting a template folder You cannot delete template folders supplied with OOo or installed using the Extension Manager; you can only delete template folders that you have created. To delete a template folder: 1) In the Template Management window, click the folder that you want to delete. 2) Click the Commands button and choose Delete from the drop-down menu. A message box appears and asks you to confirm the deletion. Click Yes. Working with Templates 8

Organizing templates Moving a template To move a template from one template folder to another template folder: 1) In the Template Management window, double-click the folder that contains the template you want to move. A list of all the templates contained in that folder appears underneath the folder name. 2) Click the template that you want to move and drag it to the desired folder. If you do not have the authority to delete templates from the source folder, this action copies the template instead of moving it. Deleting a template You cannot delete templates supplied with OOo or installed using the Extension Manager; you can only delete templates that you have created. To delete a template: 1) In the Template Management window, double-click the folder that contains the template you want to delete. A list of all the templates contained in that folder appears underneath the folder name. 2) Click the template that you want to delete. 3) Click the Commands button and choose Delete from the drop-down menu. A message box appears and asks you to confirm the deletion. Click Yes. Importing a template If the template that you want to use is in a different location, you must import it into an OOo template folder. To import a template into a template folder: 1) In the Template Management window, double-click the folder into which you want to import the template. 2) Click the Commands button and choose Import Template from the drop-down menu. A standard file browser window opens. 3) Find and select the template that you want to import and click Open. The file browser window closes and the template appears in the selected folder. Exporting a template To export a template from a template folder to another location: 1) In the Template Management window, double-click the folder that contains the template you want to export. A list of all the templates contained in that folder appears underneath the folder name. 2) Click the template that you want to export. 3) Click the Commands button and choose Export Template from the drop-down menu. The Save As window opens. Working with Templates 9

Organizing templates 4) Find the folder into which you want to export the template and click Save. Working with Templates 10