Définition d'une mise en page de base avec des styles

From Apache OpenOffice Wiki
< FR‎ | Documentation‎ | Writer Guide
Revision as of 17:11, 13 April 2009 by Sgauti (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Dans Writer, les styles de page définissent la mise en page basique de toutes les pages, incluant la taille de la page, les marges, l'emplacement des en-têtes et pieds de page, les bordures et l'arrière-plan, le nombre de colonnes, et ainsi de suite.

Writer vient avec plusieurs styles de page, sur lesquels vous pouvez construire ou les modifier et vous pouvez définir de nouveaux (personnalisés) styles de page. Vous pouvez avoir un ou plusieurs styles de page dans un seul document.

Template:Documentation/Note

Pour modivier la mise en page d'une page individuelle, soit vous définissez un nouveau style de page, soit vous utilisez l'une des techniques (sections, cadres ou tableaux) décrites plus loin dans ce chapitre.

Ce chapitre décrit certains usages des styles de pages. D'autres usages sont discutés dans le Chapitre 6 (Introduction aux styles). La boîte de dialogue Style de page est couverte en détail dans le Chapitre 7 (Travail avec les styles).

Template:Documentation/Tip

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.

Template:Documentation/Note

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.

Template:Documentation/Tip


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