Difference between revisions of "Documentation/OOo3 User Guides/Writer Guide/Basic page layout using styles"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: {{DISPLAYTITLE:Setting up basic page layout using styles}} {{Documentation/WG3PagesTOC |ShowPrevNext=block |PrevPage=Documentation/OOo3_User_Guides/Writer Guide/Choosing a layout method |N...)
 
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
Writer comes with several page styles, which you can build on or modify, and you can define new (custom) page styles. You can have one or many page styles in a single document.
 
Writer comes with several page styles, which you can build on or modify, and you can define new (custom) page styles. You can have one or many page styles in a single document.
  
{{Documentation/Note|All pages in a Writer document are based on styles. If you do not specify a page style, Writer uses the ''Default'' page style.}}
+
{{Note|All pages in a Writer document are based on styles. If you do not specify a page style, Writer uses the ''Default'' page style.}}
  
 
To change the layout of individual pages, either define a new page style or use one of the techniques (sections, frames, or tables) described later in this chapter.
 
To change the layout of individual pages, either define a new page style or use one of the techniques (sections, frames, or tables) described later in this chapter.
Line 15: Line 15:
 
This chapter describes some uses of page styles. Some other uses are discussed in [[Documentation/OOo3_User_Guides/Writer Guide/Introduction to Styles|Chapter 6]] (Introduction to Styles). The Page Style dialog box is covered in detail in [[Documentation/OOo3_User_Guides/Writer Guide/Working with Styles|Chapter 7]] (Working with Styles).
 
This chapter describes some uses of page styles. Some other uses are discussed in [[Documentation/OOo3_User_Guides/Writer Guide/Introduction to Styles|Chapter 6]] (Introduction to Styles). The Page Style dialog box is covered in detail in [[Documentation/OOo3_User_Guides/Writer Guide/Working with Styles|Chapter 7]] (Working with Styles).
  
{{Documentation/Tip|Any modifications of page styles, including the ''Default'' page style, apply only to the document you are working on. If you want the changes to be the default for all documents, you need to put the changes into a template and make that template the default template. See [[Documentation/OOo3_User_Guides/Writer Guide/Working with Templates|Chapter 10]] (Working with Templates) for details.}}
+
{{Tip|Any modifications of page styles, including the ''Default'' page style, apply only to the document you are working on. If you want the changes to be the default for all documents, you need to put the changes into a template and make that template the default template. See [[Documentation/OOo3_User_Guides/Writer Guide/Working with Templates|Chapter 10]] (Working with Templates) for details.}}
  
 
== Inserting a page break without switching the style ==
 
== Inserting a page break without switching the style ==
Line 49: Line 49:
 
</ol>
 
</ol>
  
{{Documentation/Note|You can override the ''Next Style'' property by manually inserting a page break and specifying a page style or by starting a page with a paragraph or table that has its own page style property defined. These techniques are described in [[#Inserting a landscape page into a portrait document|Inserting a landscape page into a portrait document]].}}
+
{{Note|You can override the ''Next Style'' property by manually inserting a page break and specifying a page style or by starting a page with a paragraph or table that has its own page style property defined. These techniques are described in [[#Inserting a landscape page into a portrait document|Inserting a landscape page into a portrait document]].}}
  
 
== Changing page orientation within a document ==
 
== Changing page orientation within a document ==
Line 80: Line 80:
 
</ol>
 
</ol>
  
{{Documentation/Tip|If you need the headers or footers on the landscape pages to be in portrait orientation, see [[#Portrait headers on landscape pages|Portrait headers on landscape pages]].}}
+
{{Tip|If you need the headers or footers on the landscape pages to be in portrait orientation, see [[#Portrait headers on landscape pages|Portrait headers on landscape pages]].}}
  
  
 
{{CCBY}}
 
{{CCBY}}
 
[[Category: Writer Guide (Documentation)]]
 
[[Category: Writer Guide (Documentation)]]

Latest revision as of 21:20, 14 July 2018


] In Writer, page styles define the basic layout of all pages, including page size, margins, the placement of headers and footers, borders and backgrounds, number of columns, and so on.

Writer comes with several page styles, which you can build on or modify, and you can define new (custom) page styles. You can have one or many page styles in a single document.

Documentation note.png All pages in a Writer document are based on styles. If you do not specify a page style, Writer uses the Default page style.

To change the layout of individual pages, either define a new page style or use one of the techniques (sections, frames, or tables) described later in this chapter.

This chapter describes some uses of page styles. Some other uses are discussed in Chapter 6 (Introduction to Styles). The Page Style dialog box is covered in detail in Chapter 7 (Working with Styles).

Tip.png Any modifications of page styles, including the Default page style, apply only to the document you are working on. If you want the changes to be the default for all documents, you need to put the changes into a template and make that template the default template. See Chapter 10 (Working with Templates) for details.


Inserting a page break without switching the style

In many documents (for example, a multi-page report), you may want the text to flow from one page to the next as you add or delete information. Writer does this automatically, unless you override the text flow using one of the techniques described earlier.

If you do want a page break in a particular place, for example, to put a heading at the top of a new page, here is how to do it:

  1. Position the cursor in the paragraph you want to be at the start of the next page. Right-click and choose Paragraph in the pop-up menu.
  2. On the Text Flow page of the Paragraph dialog box, in the Breaks section, check Insert. Do not check With Page Style.
  3. Click OK to position the paragraph at the start of the next page.
Inserting a manual page break.

Defining a different first page for a document

Many documents, such as letters and reports, have a first page that is different from the other pages in the document. For example, the first page of a letterhead typically has a different header, as shown below, or the first page of a report might have no header or footer, while the other pages do. With OOo, you can define the style for the first page and specify the style for the following page to be applied automatically.

Letterhead with different page styles for first and following pages.

As an example, we can use the First Page and Default page styles that come with OOo. The diagram below shows what we want to happen: the first page is to be followed by the default page, and all the following pages are to be in the Default page style.

Flow of page styles.

To set up this sequence:

  1. Open the Styles and Formatting window. (You can choose one of the following: click the Styles and Formatting icon StylesFormattingIcon.png located at the left-hand end of the object bar, choose Format > Styles and Formatting, or press F11.)
  2. On the Styles and Formatting window, click on the Page Styles icon PageStylesIcon.png (fourth from the left) to display a list of page styles.
  3. Modifying the First Page style.
  4. Right-click on First Page and select Modify from the pop-up menu.
  5. On the Organizer page of the Page Style dialog box (Figure 5), look at the Next Style property. This property defines what the page style for the next page will be. It should be set to Default, but if it is not, you can change the next style by clicking on the drop-down button and choosing Default from the list of page styles.
  6. Organizer Page
    Setting the Next Style property for a page style.

  7. On the other pages of this dialog box, you can turn on or off the header and footer for the first page and define other characteristics, such as columns, a page border, or a page background. For more information, see Chapter 7 (Working with Styles).
  8. Click OK to save the changes.
Documentation note.png You can override the Next Style property by manually inserting a page break and specifying a page style or by starting a page with a paragraph or table that has its own page style property defined. These techniques are described in Inserting a landscape page into a portrait document.

Changing page orientation within a document

A document can contain pages in more than one orientation. A common scenario is to have a landscape page in the middle of a document, whereas the other pages are in a portrait orientation. Here are the steps to achieve it.

Setting up a landscape page style

  1. Note the page style that is current and the margin settings. (You can find the margin settings on the Page page of the Page Style dialog box, as shown in step 4.)
  2. Create a new style. (Right-click on the current page style in the Styles and Formatting window and choose New.)
  3. Starting a new page style.
  4. On the Organizer page of the Page Style dialog box, name (by typing in the Name field) this new style Landscape and set the Next Style property to Landscape (to allow for having more than one sequential landscape page).
  5. Naming the new style and setting the next page style to Landscape.
  6. On the Page page of the Page Style dialog box, set the Orientation to Landscape. The width and height attributes of the page will automatically change.
  7. Setting orientation and margins for a landscape page.
  8. Change the margins so that they correspond with the margins of the portrait page. That is, the portrait top margin becomes the landscape left margin, and so on.
  9. Click OK to save the changes.

Inserting a landscape page into a portrait document

Now that you have defined the Landscape page style, here is how to apply it.

  1. Position the cursor in the paragraph or table at the start of the page that is to be set to landscape. Right-click and choose Paragraph or Table, respectively, in the pop-up menu.
  2. On the Text Flow page of the Paragraph dialog box or the Table Format dialog box, select Insert (or Break for a table) and With Page Style. Set the Page Style property to Landscape. Click OK to close the dialog box and to apply the new page style.
  3. Specifying a page break before a paragraph.
    Specifying a page break before a table.
  4. Position the cursor in the paragraph or table where the page is to return to portrait orientation and change the properties of that paragraph or table properties so that With Page Style is the portrait page style that was used before the Landscape page style.
  5. Click OK to return to the previous portrait page style.
Tip.png If you need the headers or footers on the landscape pages to be in portrait orientation, see Portrait headers on landscape pages.


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