Using Styles And Templates - OpenOffice

2y ago
38 Views
2 Downloads
411.52 KB
24 Pages
Last View : 21d ago
Last Download : 3m ago
Upload by : Averie Goad
Transcription

Getting Started Guide3ChapterUsing Styles andTemplates

CopyrightThis document is Copyright 2005–2010 by its contributors as listed below. You maydistribute it and/or modify it under the terms of either the GNU General PublicLicense (http://www.gnu.org/licenses/gpl.html), version 3 or later, or the CreativeCommons Attribution License (http://creativecommons.org/licenses/by/3.0/), version3.0 or later.All trademarks within this guide belong to their legitimate owners.ContributorsJean Hollis WeberMichele ZarriAgnes BelzunceDaniel CarreraPeter Hillier-BrookPeter KupferGary SchnablJanet SwisherFeedbackPlease direct any comments or suggestions about this document to:authors@documentation.openoffice.orgPublication date and software versionPublished 15 November 2010. Based on OpenOffice.org 3.3.Note for Mac usersSome keystrokes and menu items are different on a Mac from those used in Windowsand Linux. The table below gives some common substitutions for the instructions inthis chapter. For a more detailed list, see the application Help.Windows/LinuxMac equivalentEffectTools Optionsmenu selectionOpenOffice.org PreferencesAccess setup optionsRight-clickControl clickOpen context menuCtrl (Control)z (Command)Used with other keysF5Shift z F5Open the NavigatorF11z TOpen Styles & Formatting windowYou can downloadan editable version of this document shed/

ContentsCopyright. 2Note for Mac users. 2What is a template?. 5What are styles?. 5Applying styles. 6Using the Styles and Formatting window.6Using Fill Format mode. 7Using the Apply Style list. 7Using keyboard shortcuts. 8Modifying styles. 8Changing a style using the Style dialog.9Updating a style from a selection. 9Using AutoUpdate. 9Updating styles from a document or template.9Creating new (custom) styles. 10Creating a new style using the Style dialog.10Creating a new style from a selection.10Dragging and dropping to create a style.11Copying and moving styles. 11Using the Template Management dialog.11Loading styles from a template or document.12Deleting styles. 13Using a template to create a document.14Creating a template. 15Creating a template from a document.15Creating a template using a wizard.16Editing a template. 17Updating a document from a changed template.17Adding templates using the Extension Manager.18Setting a default template. 19Setting a custom template as the default.19Resetting the default template. 20Associating a document with a different template.20Organizing templates. 21Creating a template folder. 21Deleting a template folder. 21Moving a template. 21Deleting a template. 22Importing a template. 22Exporting a template. 22Using Styles and Templates3

Examples of style use. 22Defining a different first page for a document.22Dividing a document into chapters.23Changing page orientation within a document.23Different headers on right and left pages.23Controlling page breaks automatically.24Compiling an automatic table of contents.24Defining a sequence of styles.244Using Styles and Templates

What is a template?A template is a model that you use to create other documents. For example, you cancreate 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 thefirst 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 measurementunits, language, the default printer, and toolbar and menu customization.All documents in OpenOffice.org (OOo) are based on templates. You can create aspecific template for any document type (text, spreadsheet, drawing, presentation). Ifyou do not specify a template when you start a new document, then the document isbased on the default template for that type of document. If you have not specified adefault template, OOo uses the blank template for that type of document that isinstalled with OOo. See “Setting a default template” on page 19 for more information.What are styles?A style is a set of formats that you can apply to selected pages, text, frames, andother elements in your document to quickly change their appearance. When youapply a style, you apply a whole group of formats at the same time.Many people manually format paragraphs, words, tables, page layouts, and otherparts of their documents without paying any attention to styles. They are used towriting documents according to physical attributes. For example, you might specifythe font family, font size, and any formatting such as bold or italic.Styles are logical attributes. Using styles means that you stop saying “font size 14pt,Times New Roman, bold, centered”, and you start saying “Title” because you havedefined the “Title” style to have those characteristics. In other words, styles meansthat you shift the emphasis from what the text (or page, or other element) looks like,to what the text is.Styles help improve consistency in a document. They also make major formattingchanges easy. For example, you may decide to change the indentation of allparagraphs, or change the font of all titles. For a long document, this simple task canbe prohibitive. Styles make the task easy.In addition, styles are used by OpenOffice.org for many processes, even if you are notaware of them. For example, Writer relies on heading styles (or other styles youspecify) when it compiles a table of contents. Some common examples of style useare given in “Examples of style use” on page 22.OpenOffice.org supports the following types of styles: Page styles include margins, headers and footers, borders and backgrounds. InCalc, page styles also include the sequence for printing sheets. Paragraph styles control all aspects of a paragraph’s appearance, such as textalignment, tab stops, line spacing, and borders, and can include characterformatting. Character styles affect selected text within a paragraph, such as the font andsize of text, or bold and italic formats. Frame styles are used to format graphic and text frames, including wrappingtype, borders, backgrounds, and columns.What are styles?5

Numbering styles apply similar alignment, numbering or bullet characters, andfonts to numbered or bulleted lists. Cell styles include fonts, alignment, borders, background, number formats (forexample, currency, date, number), and cell protection. Graphics styles in drawings and presentations include line, area, shadowing,transparency, font, connectors, dimensioning, and other attributes. Presentation styles include attributes for font, indents, spacing, alignment, andtabs.Different styles are available in the various components of OOo, as listed in Table 1.OpenOffice.org comes with many predefined styles. You can use the styles asprovided, modify them, or create new styles, as described in this chapter.Table 1. Styles available in OOo componentsStyle luded inFrame styles)Applying stylesOpenOffice.org provides several ways for you to select styles to apply.Using the Styles and Formatting window1) Click the Styles and Formatting iconlocated at the left-hand end of theobject bar, or click Format Styles and Formatting, or press F11. TheStyles and Formatting window shows the types of styles available for the OOocomponent you are using. Figure 1 shows the window for Writer, with PageStyles visible.You can move this window to a convenient position on the screen or dock it toan edge (hold down the Ctrl key and drag it by the title bar to where you wantit docked).2) Click on one of the icons at the top left of the Styles and Formatting window todisplay a list of styles in a particular category.3) To apply an existing style (except for character styles), position the insertionpoint in the paragraph, frame, or page, and then double-click on the name ofthe style in one of these lists. To apply a character style, select the charactersfirst.6Using Styles and Templates

At the bottom of the Styles and Formatting window is a dropdown list.In Figure 1 the window shows Automatic, meaning the list includesonly styles applied automatically by OOo. You can choose to show allstyles or other groups of styles, for example only custom styles.TipFigure 1: The Styles and Formatting window for Writer, showingparagraph stylesUsing Fill Format modeUse Fill Format to apply a style to many different areas quickly without having to goback to the Styles and Formatting window and double-click every time. This methodis quite useful when you need to format many scattered paragraphs, cells, or otheritems with the same style.1) Open the Styles and Formatting window and select the style you want to apply.2) Click the Fill Format mode icon.3) To apply a paragraph, page, or frame style, hover the mouse over theparagraph, page, or frame and click. To apply a character style, hold down themouse button while selecting the characters, Clicking on a word applies thecharacter style for that word. Repeat step 3 until you made all the changes forthat style.4) To quit Fill Format mode, click the Fill Format mode icon again or press theEsc key.CautionWhen this mode is active, a right-click anywhere in the documentundoes the last Fill Format action. Be careful not to accidentally rightclick and thus undo actions you want to keep.Using the Apply Style listAfter you have used a style at least once in a document, the style name appears onthe Apply Style list at the left-hand end of the Formatting toolbar, next to the Stylesand Formatting icon.Applying styles7

You can open this list and click once on the style you want, or you can use the up anddown arrow keys to move through the list and then press Enter to apply thehighlighted style.TipSelect More. at the bottom of the list to open the Styles and Formattingwindow.Figure 2: The Apply Style list on the Formatting toolbarUsing keyboard shortcutsSome keyboard shortcuts for applying styles are predefined. For example, in WriterControl 0 applies the Text body style, Control 1 applies the Heading 1 style, andControl 2 applies the Heading 2 style. You can modify these shortcuts and createyour own; see Chapter 14 (Customizing OpenOffice.org) for instructions.Modifying stylesOpenOffice.org provides several ways to modify styles (both the predefined styles andcustom styles that you create): Changing a style using the Style dialogUpdating a style from a selectionUse AutoUpdate (paragraph and frame styles only)Load or copy styles from another document or templateTip8Any changes you make to a style are effective only in the currentdocument. To change styles in more than one document, you need tochange the template or copy the styles into the other documents asdescribed on page 11.Using Styles and Templates

Changing a style using the Style dialogTo change an existing style using the Style dialog, right-click on the required style inthe Styles and Formatting window and select Modify from the pop-up menu.The Style dialog displayed depends on the type of style selected. Each style dialoghas several tabs. See the chapters on styles in the user guides for details.Updating a style from a selectionTo update a style from a selection:1) Open the Styles and Formatting window.2) In the document, select an item that has the format you want to adopt as astyle.CautionMake sure that there are unique properties in this paragraph. Forexample, if there are two different font sizes or font styles, thatparticular property will remain the same as before.3) In the Styles and Formatting window, select the style you want to update(single-click, not double-click), then long-click on the arrow next to the NewStyle from Selection icon and click on Update Style.Figure 3: Updating a style from a selectionUsing AutoUpdateAutoUpdate applies to paragraph and frame styles only. If the AutoUpdate option isselected on the Organizer page of the Paragraph Style or Frame Style dialog,applying direct formatting to a paragraph or frame using this style in your documentautomatically updates the style itself.TipIf you are in the habit of manually overriding styles in your document,be sure that AutoUpdate is not enabled.Updating styles from a document or templateYou can update styles by copying or loading them from a template or anotherdocument. See “Copying and moving styles” on page 11.Modifying styles9

Creating new (custom) stylesYou may want to add some new styles. You can do this in two ways: Creating a new style using the Style dialog Creating a new style from a selectionCreating a new style using the Style dialogTo create a new style using the Style dialog, right-click in the Styles and Formattingwindow and select New from the pop-up menu.If you want your new style to be linked with an existing style, first select that styleand then right-click and select New.If you link styles, then when you change the base style (for example, by changing thefont from Times to Helvetica), all the linked styles will change as well. Sometimesthis is exactly what you want; other times you do not want the changes to apply to allthe linked styles. It pays to plan ahead.The dialogs and choices are the same for defining new styles and for modifyingexisting styles. See the chapters on styles in the user guides for details.Creating a new style from a selectionYou can create a new style by copying an existing manual format. This new styleapplies only to this document; it will not be saved in the template.1) Open the Styles and Formatting window and choose the type of style you wantto create.2) In the document, select the item you want to save as a style.3) In the Styles and Formatting window, click on the New Style from Selectionicon.4) In the Create Style dialog, type a name for the new style. The list shows thenames of existing custom styles of the selected type. Click OK to save the newstyle.Figure 4: Naming a new style created from a selection10Using Styles and Templates

Dragging and dropping to create a styleYou can drag and drop a text selection into the Styles and Formatting window tocreate a new style.WriterSelect some text and drag it to the Styles and Formatting window. If ParagraphStyles are active, the paragraph style will be added to the list. If Character Stylesare active, the character style will be added to the list.CalcDrag a cell selection to the Styles and Formatting window to create cell styles.Draw/ImpressSelect and drag drawing objects to the Styles and Formatting window to creategraphics styles.Copying and moving stylesYou can copy or move styles from one template or document into another template ordocument, in two ways: Using the Template Management dialog Loading styles from a template or documentUsing the Template Management dialogTo copy or move styles using the Template Management dialog:1) Click File Templates Organize.2) In the Template Management dialog (Figure 5), set the lists at the bottom toeither Templates or Documents, as needed. The default is Templates on the leftand Documents on the right.TipTo copy styles from a file that is not open, click the File button. Whenyou return to this dialog, both lists show the selected file as well as allthe currently open documents.3) Open the folders and find the templates from and to which you want to copy.Double-click on the name of the template or document, and then double-clickthe Styles icon to show the list of individual styles (Figure 6).4) To copy a style, hold down the Ctrl key and drag the name of the style fromone list to the other.CautionIf you do not hold down the Control key when dragging, the style willbe moved from one list to the other. The style will be deleted from thelist you are dragging it from.5) Repeat for each style you want to copy. If the receiving template or documenthas many styles, you may not see any change unless you scroll down in the list.When you are finished, click Close.Copying and moving styles11

Figure 5: Choosing to copy styles from a document, not a templateFigure 6: Copying a style from one document to anotherLoading styles from a template or documentYou can copy styles by loading them from a template or another document:1) Open the document you want to copy styles into.2) In the Styles and Formatting window, long-click on the arrow next to the NewStyle from Selection icon, and then click on Load Styles (see Figure 3).3) On the Load Styles dialog (Figure 7), find and select the template you want tocopy styles from.12Using Styles and Templates

Figure 7. Copying styles from a template into the open document4) Select the categories of styles to be copied. Select Overwrite if you want thestyles being copied to replace any styles of the same names in the documentyou are copying them into.5) Click OK to copy the styles. You will not see any change on screen.NoteCautionTo copy the styles from another document, click the From File buttonto open a window from which you can select the required document.If your document has a table of contents, and if you have used customstyles for headings, the heading levels associated with outline levels(in Tools Outline Numbering) will revert to the defaults ofHeading 1, Heading 2, and so on when you load styles this way. Youwill need to change these back to your custom heading styles. This is abug.Deleting stylesYou cannot remove (delete) any of OOo’s predefined styles from a document ortemplate, even if they are not in use.You can remove any user-defined (custom) styles; but before you do, you should makesure the styles are not in use. If an unwanted style is in use, you will want to replaceit with a substitute style.To delete unwanted styles, right-click on them (one at a time) in the Styles andFormatting window and click Delete on the pop-up menu.If the style is in use, you receive a warning message.CautionMake sure the style is not in use before deletion. Otherwise, allobjects with that style will return to the default style and retain theirformatting as manual formatting. This can be a problem in a longdocument.If the style is not in use, you receive a confirmation message; click Yes.Deleting styles13

Using a template to create a documentTo use a template to create a document:1) From the main menu, choose File New Templates and Documents. TheTemplates and Documents dialog opens.2) In the box on the left, click the Templates icon if it is not already selected. Alist of template folders appears in the center box.3) Double-click the folder that contains the template that you want to use. A listof all the templates contained in that folder appears in the center box.4) Select the template that you want to use. You can preview the selectedtemplate or view the template’s properties: To preview the template, click the Preview icontemplate appears in the box on the right. To view the template’s properties, click the Document Properties icon. A preview of the. The template’s properties appear in the box on the right.5) Click Open. The Templates and Documents dialog closes and a new documentbased on the selected template opens in OOo. You can then edit and save thenew document just as you would any other document.Figure 8: Templates and Documents window14Using Styles and Templates

Creating a templateYou can create your own templates in two ways: from a document, and using awizard.Creating a template from a documentTo 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 dialogopens (see Figure 9).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 thetemplate. The category you choose has no effect on the template itself; it issimply the folder in which you save the template. Choosing an appropriatecategory makes it easier to find the template when you want to use it. Forexample, you might save Impress templates under the Presentationscategory.To learn more about template folders, see “Organizing templates” on page 21.6) Click OK to save the new template.Figure 9: Saving a new templateAny settings that can be added to or modified in a document can be saved in atemplate. For example, below are some of the settings (although not a full list) thatcan 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, andso on Styles to be used, including character, page, frame, numbering and paragraphstyles Format and settings regarding indexes, tables, bibliographies, table ofcontentsTemplates can also contain predefined text, saving you from having to type it everytime you create a new document. For example, a letter template may contain yourname, address and salutation.Creating a template15

You can also save menu and toolbar customizations in templates; see Chapter 14(Customizing OpenOffice.org) for more information.Creating a template using a wizardYou can use wizards to create templates for letters, faxes, agendas, presentations,and Web pages.For example, the Fax Wizard guides you through the following choices: Type of fax (business or personal) Document elements like the date, subject line (business fax), salutation, andcomplementary close Options for sender and recipient information (business fax) Text to include in the footer (business fax)To create a template using a wizard:1) From the main menu, choose File Wizards [type of template required].Figure 10. Creating a template using a wizard2) Follow the instructions on the pages of the wizard. This process is slightlydifferent 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 forsaving the template. The default location is your user templates directory, butyou can choose a different location if you prefer.4) Finally, you have the option of creating a new document from your templateimmediately, or manually changing the template. For future documents, youcan re-use the template created by the wizard, just as you would use any othertemplate.16Using Styles and Templates

Editing a templateYou can edit a template’s styles and content, and then, if you wish, you can reapplythe template’s styles to documents that were created from that template. (Note thatyou can only reapply styles. You cannot reapply content.)To edit a template:1) From the main menu, choose File Templates Edit. A standard filebrowser window opens.2) Select the template that you want to edit.3) Edit the template just as you would any other document. To save your changes,choose File Save from the main menu.Updating a document from a changed templateThe next time you open a document that was created from the changed template, thefollowing message appears.Figure 11. Update styles messageClick Update Styles to apply the template’s changed styles to the document. ClickKeep Old Styles if you do not want to apply the template’s changed styles to thedocument (but see Caution notice below).CautionIf you choose Keep Old Styles in the message box shown in Figure 11,that message will not appear again the next time you open the documentafter changing the template it is based on. You will not get anotherchance to update the styles from the template, although you can use themacro given in the Note below to re-enable this feature.If you are using Writer, you can also use the Template Changer extension(see page 20) to reactivate the template.Editing a template17

NoteTo re-enable updating from a template:1) Use Tools Macros Organize Macros OpenOffice.orgBasic. Select the document from the list, click the expansion symbol( or triangle), and select Standard. If Standard has an expansionsymbol beside it, click that and select a module.2) If the Edit button is active, click it. If the Edit button is not active,click New.3) In the Basic window, enter the following:Sub FixDocV3' set UpdateFromTemplateoDocSettings t.Settings" )oDocSettings.UpdateFromTemplate TrueEnd Sub 'FixDocV34) Click the Run BASIC icon, then close the Basic window.5) Save the document.Next time when you open this document you will have the update fromtemplate feature back.Adding templates using the Extension ManagerThe Extension Manager provides an easy way to install collections of templates,graphics, macros, or other add-ins that have been “packaged” into files with a .OXTextension. See Chapter 14 (Customizing OpenOffice.org) for more about theExtension Manager.This Web page lists many of the available rg/.To install an extension, follow these steps:1) Download an extension package and save it anywhere on your computer.2) In OOo, select Tools Extension Manager from the menu bar. In theExtension Manager dialog, click Add.3) A file browser window opens. Find and select the package of templates youwant to install and click Open. The package begins installing. You may beasked to accept a license agreement.4) When the package installation is complete, the templates are available for usethrough File New Templates and Documents and the extension is listedin the Extension Manager.18Using Styles and Templates

Figure 12: Newly-added package of templatesSetting a default templateIf you create a document by choosing File New Text Document (orSpreadsheet, Presentation, or Drawing) from the main menu, OOo creates thedocument from the Default template for that type of document. You can, however, seta custom template to be the default. You can reset the default later if you choose.Setting a custom template as the defaultYou can set any template to be the default, as long as it is in one of the foldersdisplayed in the Template Management d

Nov 15, 2010 · OpenOffice.org comes with many predefined styles. You can use the styles as provided, modify them, or create new styles, as described in this chapter. Table 1. Styles available in OOo components Style Type Writer Calc Draw Impress Page X X Paragraph X Character X Frame X Numbering X Cell X Presentation X X Graphics (included in Frame styles) X .

Related Documents:

Introduction Types of styles OpenOffice.org Writer has five types of styles: Paragraph styles affect a an entire paragraph. Character styles affect a block of text inside a paragraph. Page styles affect page formatting (page size, margin and the like). Frame styles affect frames and graphics. Numbering styles affect numbered lists and bulleted lists.

MANUAL BÁSICO DE OPENOFFICE WRITER Entorno Formato Ta b l a s I m a g e n P D F . ÍNDICE 01 Capítulo 1: Introducción al OpenOffice Writer 3.0 1.1. Introducción al OpenOffice Writer 3.0 1.2. Ejecutar OpenOffice Writer 1.3. Descripción del entorno de trabajo de OpenOffice

OpenOffice.org (OOo) is both a software product and a community of volunteers who produce and support the software. Note Because someone else owns the trademark OpenOffice, the correct name for both the open-source project and its software is OpenOffice.org. The OpenOffice.org software is a freely available, full-featured office suite.

OpenOffice.org Writer - Herramienta dedicada a la edición de texto también llamado procesador de textos. OpenOffice.org Calc - Herramienta para trabajar con hojas de cálculo. OpenOffice.org Impress - Herramienta destinada a crear presentaciones y diapositivas. OpenOffice.org Draw - Her

trabajados en OpenOffice Writer. OpenOffice Calc es la aplicación del tipo de planilla de cálculo del paquete ofimático OpenOffice, esto permite definir acciones comunes con OpenOffice Writer. El objetivo de la comparación de estas d

3. Install any language packs needed for OpenOffice.org. Removing .debs 4. If you want to remove a package, you have two options. The first is most intuitive: dpkg -r openoffice.org This will remove the openoffice.org package (-r is short for --remove). Note that you give only the 'openoffice.org' for --remove, while --install requires the .

LionBooks Bookkeeping Manual May11 Revised May 2011 Page 2 . 2010 and OpenOffice 1.9 or later. A free copy of the OpenOffice software suite is available on many magazine cover CDs or for free download from www.OpenOffice.org - but be warned it is a huge 17mb file. OpenOffice 3.3 is usually available on the Lions annual training

Agile Software Development with Scrum An Iterative, Empirical and Incremental Framework for Completing Complex Projects (Slides by Prof. Dr. Matthias Hölzl, based on material from Dr. Philip Mayer with input from Dr. Andreas Schroeder and Dr. Annabelle Klarl) CHAOS Report 2009 Completion of projects: 32% success 44% challenged 24% impaired Some of the reasons for failure: Incomplete .