Using Styles and Templates

From Apache OpenOffice Wiki
Jump to: navigation, search

{{Documentation/TemplStyle3TOC ShowPrevNext=block PrevPage=Documentation/OOo3_User_Guides/Getting Started/Controlling OOo’s AutoCorrect functions NextPage=Documentation/OOo3_User_Guides/Getting Started/Applying styles }} This is Chapter 3 of Getting Started with OpenOffice.org 3.x, produced by the OOoAuthors group.

A PDF of this chapter is available from this wiki page.

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 for more information.

What are styles?

A style is a set of formats that you can apply to selected pages, text, frames, and other elements in your document to quickly change their appearance. When you apply a style, you apply a whole group of formats at the same time.

Many people manually format paragraphs, words, tables, page layouts, and other parts of their documents without paying any attention to styles. They are used to writing documents according to physical attributes. For example, you might specify the 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 have defined the “Title” style to have those characteristics. In other words, styles means that 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 formatting changes easy. For example, you may decide to change the indentation of all paragraphs, or change the font of all titles. For a long document, this simple task can be prohibitive. Styles make the task easy.

In addition, styles are used by OpenOffice.org for many processes, even if you are not aware of them. For example, Writer relies on heading styles (or other styles you specify) when it compiles a table of contents. Some common examples of style use are given in Examples of style use.

OpenOffice.org ondersteunt de volgende typen opmaakprofielen:

  • Pagina-opmaakprofielen bevatten marges, kopteksten en voetteksten, randen en achtergronden. In Calc kunnen pagina-opmaakprofielen ook de volgorde van het afdrukken van bladen bevatten.
  • Alinea-opmaakprofielen beheren alle aspecten van het uiterlijk van een alinea, zoals tekstuitlijning, tabstops, regelafstand en randen en kunnen ook opmaak van tekens bevatten.
  • Tekenopmaakprofielen zijn van invloed op de geselecteerde tekst binnen een alinea, zoals het lettertype en grootte van de tekst, of opmaak in vet en cursief.
  • Frameopmaakprofielen worden gebruikt om afbeeldings- en tekstframes op te maken, inclusief het type tekstomloop, randen, achtergronden en kolommen.
  • Lijstopmaakprofielen passen soortgelijke uitlijning, nummering- of opsommingstekens en lettertypen toe op genummerde lijsten of lijsten met opsommingstekens.
  • Celopmaakprofielen bevatten lettertypen, uitlijning, randen, achtergrond, getalopmaak (bijvoorbeeld valuta, datum, getal), en celbeveiliging.
  • Opmaakprofielen voor afbeeldingen in tekeningen en presentaties bevatten lijnen, gebied, schaduw, transparantie, lettertype, verbindingen, dimensioneren en andere attributen.
  • Presentatiestijlen bevatten attributen voor lettertype, inspringingen, afstand, uitlijning en tabs.

Verschillende opmaakprofielen zijn beschikbaar in de diverse componenten van OOo, zoals opgesomd in tabel 1.

Tabel 1. Beschikbare opmaakprofielen in OOo-componenten

Type opmaakprofiel Writer Calc Draw Impress
Pagina X X
Alinea X
Teken X
Frame X
Lijsten X
Cel X
Presentatie     X X
Afbeeldingen (a) X X

(a) Opgenomen in Frameopmaakprofielen

OpenOffice.org wordt geleverd met veel vooraf gedefinieerde opmaakprofielen. U kunt de opmaakprofielen gebruiken zoals ze zijn geleverd, ze aanpassen of nieuwe opmaakprofielen maken, zoals in dit hoofdstuk beschreven.


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools
In other languages