LibreOffice Guide 04
LibreOffice Guide 04
LibreOffice Guide 04
Options tab
Applying styles
LibreOffice provides several ways for you to select styles to apply:
The Styles menu in Writer
Styles and Formatting window (floating, or in Sidebar)
Fill Format Mode
Apply Style List
Keyboard shortcuts
Note
You cannot add custom styles to the Styles menu.
Tip
At the bottom of the Styles and Formatting window is a drop-down list. In Figure 47 the
window shows Applied Styles, meaning the list includes only the styles used in the
document. You can choose to show all styles or other groups of styles, for example
only custom styles.
Figure 47: The Styles and Formatting window for Writer, showing paragraph styles
Tip
Select More at the bottom of the Apply Style list to open the Styles and Formatting
window.
Caution
Manual formatting (also called direct formatting) overrides styles, and you cannot get
rid of the manual formatting by applying a style to it.
To remove manual formatting, select the text, right-click, and choose Clear Direct
Formatting from the context menu, or select the text and press Ctrl+M.
Note
Any changes you make to a style are effective only in the current document. To change
styles in more than one document, you need to change the template or copy the styles
into the other documents as described on page 68.
Caution
When updating a paragraph style, make sure that the selected paragraph contains
unique properties. If it mixes font sizes or font styles, those mixed properties will remain
the same as before.
3) In the Styles and Formatting window, select the style to update, then click on the arrow next
to the New Style from Selection icon and click Update Style.
Using AutoUpdate
AutoUpdate applies to paragraph and frame styles only. If the AutoUpdate option is selected 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 document automatically updates the style itself.
Tip
If you are in the habit of manually overriding styles in your document, be sure that
AutoUpdate is not enabled.
Figure 52: Copying styles from a template into the open document
Caution
If your document has a table of contents, and if you have used custom styles for
headings, the heading levels associated with outline levels in Tools > Outline
Numbering will revert to the defaults of Heading 1, Heading 2, and so on when you
load Text Styles from a file that does not use the same custom styles. You will need to
change these back to your custom heading styles.
Deleting styles
You cannot remove (delete) any of LibreOffices predefined styles from a document or template,
even if they are not in use.
You can remove any user-defined (custom) styles; but before you do, you should make sure the
styles are not in use in the current document.
To delete any unwanted styles, in the Styles and Formatting window select each one to be deleted
(hold Ctrl while selecting multiple styles), and then right-click on a selected style and select Delete
on the context menu.
Caution
If you delete a style that is in use, all objects with that style will return to the default
style.
Creating a template
You can create templates in two ways: by saving a document as a template or by using a wizard.
Note
Although the Template Manager shows only a Documents tab when saving a new
template of any type, the template will appear on the correct tab (Documents,
Spreadsheets, Presentations, Drawings) when you return to this dialog.
Editing a template
You can edit a templates styles and content, and then, if you wish, you can reapply the templates
styles to documents that were created from that template. You cannot reapply content.
To edit a template:
1) From the Menu bar, choose File > Templates > Manage or press Ctrl+Shift+N. The
Template Manager dialog opens. You can also open the Template Manager from the Start
Center, by selecting the Edit Templates in the dropdown list of the Template button.
2) Navigate to the template that you want to edit. Click once on it to activate the file handling
controls (see Figure 53). Click Edit. The template opens in LibreOffice.
3) Edit the template just as you would any other document. To save your changes, choose
File > Save from the Menu bar.
Caution
If you choose Keep Old Styles, the document is no longer connected to the template,
even though the template is still listed under File > Properties > General. You can still
import styles manually from the template, but to reconnect it to the template, you will
have to copy it into an empty document based on the template.
Tip
You can manually copy new templates into the template folders. The location varies
with your computers operating system. To learn where the template folders are stored
on your computer, go to Tools > Options > LibreOffice > Paths.
LibreOffice does not have a similar default template file; the factory defaults are
embedded within the software.
Caution
Any changes recorded (tracked) in the document will be lost during this process. The
resulting document will contain only the changed text.
Organizing templates
LibreOffice can use only those templates that are in its template folders. You can create new
template folders and use them to organize your templates. For example, you might have one
template folder for report templates and another for letter templates. You can also import and
export templates.
To begin, choose File > Templates > Manage to open the Template Manager dialog.
Note
You cannot create a folder inside a templates folder in LibreOffice.
Deleting a template
You cannot delete templates supplied with LibreOffice. Nor can you delete any templates installed
by the Extension Manager except by deleting the extension that installed them.
However, you can delete templates that you have created or imported:
1) In the Template Manager dialog, double-click the folder that contains the template you want
to delete.
2) Select the template to delete.
3) Click the Delete button above the list of templates. A message box appears and asks you
to confirm the deletion. Click Yes.
Importing a template
Before you can use a template in LibreOffice, it must be in one of the folders listed for the Template
path in Tools > Options > LibreOffice > Paths:
1) In the Template Manager dialog, select the folder into which you want to import the
template.
2) Click the Import button above the list of template folders. 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 Manager dialog, double-click the folder that contains the template to export.
2) Select the template that you want to export.
3) Click the Export button above the list of template folders. The Save As window opens.
4) Find the folder into which you want to export the template and select Save.