Using Page Styles

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:27, 1 February 2007 (edit)
Lorinda (Talk | contribs)
(How to Modify Page Styles - added break)
← Previous diff
Revision as of 02:07, 4 March 2007 (edit) (undo)
Lorinda (Talk | contribs)
(Related Articles - French Master Document addition (commented))
Next diff →
Line 90: Line 90:
* Choisissez le document dont vous voulez importer le style de page et cliquez sur '''Ouvrir'''.<br/> * Choisissez le document dont vous voulez importer le style de page et cliquez sur '''Ouvrir'''.<br/>
Le style importé se trouve dans la catégorie '''Styles personnalisés''' et vous pouvez l'appliquer à votre page comme il est dit dans la section précédente.--> Le style importé se trouve dans la catégorie '''Styles personnalisés''' et vous pouvez l'appliquer à votre page comme il est dit dans la section précédente.-->
 +
 +
 +<!--==Utiliser les styles de page dans un document maître==
 +Il est possible d'organiser vos documents en chapitres qui peuvent être regroupés en un [[Fr:Utilisation_d'un_document_maître|document maître]].<br>
 +L'application des styles de page, en ce cas, ne présente aucune difficulté particulière. Nous allons l'expliquer ici. <br>
 +Supposons que deux auteurs soient en train de travailler sur un livre et se soient partagé les chapitres à écrire ; supposons aussi que l'un des auteurs soit européen et l'autre nord-américain. La page standard pour l'auteur européen est au format '''A4''', alors que pour l'auteur nord-américain la page standard est au format '''Letter'''. Lorsque le livre doit être assemblé, réunir les chapitres des deux auteurs dans deux formats différents pourrait poser un problème. À cause de cela NeoOffice et OpenOffice.org ne se préoccupent pas du format dans lequel sont écrits les chapitres mais utilisent comme page standard celle qui est utilisée lors de la création du document maître.<br><br>
 +Cela, qui de ce point de vue est un comportement intelligent, provoque des problèmes quand nous créons des documents avec des styles de page différents et voulons ensuite les réunir en un document maître : en effet le document maître ignorera tous les styles de page présents dans les fichiers insérés et utilisera seulement le style standard, si nous n'avons pas pris soin d'importer les différents styles de page des documents insérés.<br>Prenons un exemple. Supposons que nous ayons écrit un document où ont été insérées des pages auxquelles nous avons appliqué un style de page que nous avons créé, par exemple un style de page orientée horizontalement. Si maintenant nous voulons insérer ce document dans un document maître nous nous apercevrons que les pages du document original étaient horizontales, maintenant nous voulons les afficher verticalement, même si précédemment nous avions importé dans le document maître le style de page "Horizontal". <br>
 +La seule façon de réussir à afficher les pages horizontalement dans notre document maître consiste à
 +*Diviser le fichier contenant les pages avec des styles différents en plusieurs fichiers ne contenant qu'un seul style de page.
 +*À ce moment il faut insérer les sous-fichiers l'un après l'autre comme décrit [[Fr:Utilisation_d'un_document_maître#Insérer_un_nouveau_fichier_dans_un_document_maître|ici]].
 +*Dans la fenêtre du Navigateur cliquez sur le fichier dont vous voulez modifier le style de page
 +*Cliquez sur l'icône '''Insertion''' de la fenêtre du Navigateur et choisissez '''Texte'''
 +*Double-cliquez sur votre '''Texte''' dès qu'il est inséré
 +*Insérez un saut manuel de page dans le menu {{menu|Insertion/Saut manuel…}}. Vérifiez que le bouton-radio {{prefName|Saut de page}} est sélectionné et sélectionnez le modèle de page que vous utilisez. Ce modèle/style de page sera appliqué depuis ce point du document et ensuite, si après une ou plusieurs pages vous voulez revenir au style initial (dans notre cas le standard vertical), il faudra répéter la procédure en insérant un espace de texte, etc.-->

Revision as of 02:07, 4 March 2007


Page styles are one of OpenOffice.org and NeoOffice's resources. They allow you to create page models like those created by desktop programming software. You can configure and use a variety of page types in a document, independent of its content. The following page style elements are customizable:

  • Format
  • Orientation
  • Margins
  • Background color
  • Header
  • Footer
  • Border
  • Columns


Contents

How to Create a Page Style

First of all, make sure to keep the Styles and Formatting window open. Ctrl-F11. Then you have two options:

The first consists of individually setting the format of the page elements and then clicking on the Page Styles icon. (The fourth from the left). Once the style list appears, click on the icon that looks like a page with a small green cross, and click on New style from selection. Give the style a suitable name in the window which appears and click OK.

The second method consists of creating the page style directly in the Styles and Formatting window. Click on the list of page styles and right click or Ctrl-clic. Choose New from the contextual menu. In the window that appears, specify the settings you want in the various tabs of the page format window. Don't forget to give the style a name in the Organizer tab. Then click OK.

Keep in mind that these page styles only apply to the document that you have created. If you wish to use these styles for other documents, you must create a template.


How to Modify Page Styles

Once a page style has been created, you can always modifier its elements as you like. In the Styles and Formatting window, right click or Ctrl-click on the style name you want to modify. When the contextual menu appears, choose Modify... and then make the changes in the subsequent window. Then click on OK and the modifications will take effect.

The changes that you make will be immediately applied to the pages of your document which use that style.

How to Apply a Style to a page

While the page to which you want to apply the style is visible, open the Styles and Formatting window. You have several options:

  • Double-click on the desired style; it is immediately applied to the page.
  • Select the desired style and click on the paintcan icon, then click on the page and the selected style is immediately applied.
  • You can also use the status bar (at the bottom of the main NeoOffice window). The second option that appears in the status bar (from left to right in the bar by default) indicates the page style of the page in which the cursor is located. Double-clicking on this option brings up a dialog box which allows you to modify the page style. But if you right-click or ctrl-click, the list of available page styles appears. Chose the one which you would like and it is immediately applied to the page in question.

N.B. Sometimes the modfication of a page style can make changes in the following pages. To avoid this, check the styles related to the page style that you are using. This is done by placing the cursor on the name of the style and right-clicking or Ctrl-clicking on it. Choose Modify and in the Organizer tab, check what style appears in the option Next Style. Make sure that it is the page style which you want for the follow pages of the document that you are formatting.

Another means to avoid this problem is to put manual page breaks at the end of the page or to group the pages that you want to modify. To do this, select Manual break... from the Insert menu. In the window which appears, there is a Style option where you can specify the style you want for the following page(s).


How to Import a Page Style

You can import a page style created in an older document into the current document you are formatting.

  • Open the window Styles and Formatting, select the type of style you want to import (First page, right page, etc.), then click on the last icon on the right (the one which shows a page with a small green cross) and chose Load Styles...
  • In the dialog box that opens, check the Page box and click on From File...
  • Choose the document from which you want to import the style and click on Open.

The imported style can be found in the Custom Styles category. You can now apply the style to your page as explained above.



Related Articles

Editing Default Styles and Using Templates
How to Number Pages (es)



This article in other languages: Français Italiano Español
Personal tools