Creating new (custom) styles

From Wiki
Revision as of 08:16, 9 April 2012 by Sancho (talk | contribs)
Jump to navigationJump to search



You 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 selection

Creating a new style using the Style dialog

To create a new style using the Style dialog, right-click in the Styles and Formatting window and select New from the pop-up menu.

If you want your new style to be linked with an existing style, first select that style and then right-click and select New.

File:NewStyle.png
Creating a new style from the Style dialog.


Use the drop-down menus to select the style. If you link styles, then when you need to change the base style (for example, by changing the font from Times to Helvetica); all the linked fonts will change as well.

Documentation note.png There are times you do not want the changes to apply to all the linked styles. Don't Forget to check the contents of each tab as the information in each one applies to the style you are creating

The dialogs and choices are the same for defining new styles and for modifying existing styles. See the chapters on styles in the user guides for details.

Creating a new style from a selection

You can create a new style by copying an existing style. This new style applies only to this document; it will not be saved in the template.

  1. Open the Styles and Formatting dialog and choose the type of style you want to 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 Selection icon.
  4. In the Create Style dialog, type a name for the new style. The list shows the names of existing custom styles of the selected type. Click OK to save the new style.
File:CreateStyle.png
Naming a new style created from a selection.

Dragging and dropping to create a style

You can drag and drop a text selection into the Styles and Formatting window to create a new style.

Writer

Select some text and drag it to the Styles and Formatting window. If Paragraph Styles are active, the paragraph style will be added to the list. If Character Styles are active, the character style will be added to the list.

Calc

Drag a cell selection to the Styles and Formatting window to create cell styles.

Draw/Impress

Select and drag drawing objects to the Styles and Formatting window to create graphics styles.


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).