Utilisation de sections pour la mise en page

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

Jump to: navigation, search



Introduction aux sections

Une section est un bloc de texte qui a des attributs spéciaux et du formatage. Vous pouvez utiliser les sections pour :

  • Protéger un texte en écriture
  • Masquer du texte
  • Insérer dynamiquement du contenu d'un autre document
  • Ajouter des colonnes, des retraits de marge, une couleur d'arrière-plan ou une image d'arrière-plan à un portion du document
  • Personnaliser les notes de bas de page et de fin pour une portion du document.

Créer des sections

Pour créer une section:

  1. Placez le curseur à l'endroit de votre document où vous souhaitez insérer la nouvelle section. Ou sélectionnez le texte que vous voulez placer dans une nouvelle section.
  2. À partir du menu principal, choisissez Insertion > Section. La boîte de dialogue Insérer une section s'ouvre.
  3. Cliquez sur l'onglet Section, s'il n'est pas déjà affiché. (Voir Utiliser l'onglet Section).

La boîte de dialogue Insérer une section a cinq onglets :

  • Utilisez l'onglet Section pour définir les attributs de la section
  • Utilisez l'onglet Retraits pour définir des retraits dans les marges de droite et de gauche de la section
  • Utilisez l'onglet Arrière-plan pour ajouter de la couleur ou une image à l'arrière-plan de la section
  • Utilisez l'onglet Notes de bas de page/de fin pour personnaliser les notes de bas de section ou de fin.

A tout moment, vous pouvez restaurer les paramètres de ces onglets à leur valeur par défaut en cliquant sur le bouton Rétablir (remarquez cependant que vous ne pouvez pas restaurer l'onglet Section. Si vous souhaitez annuler des modifications faites dans l'onglet Section vous devez le faire manuellement).

Utiliser l'onglet Section

Utilisez l'onglet Section pour définir les attributs de la section active.

Insérer une section en utilisant la boîte de dialogue Insérer une section.

Nommer les sections

Writer saisie automatiquement un nom pour la section active dans le champ en haut de la zone Nouvelle section. Pour modifier le nom, sélectionnez-le et taper par dessus. Le nom est affiché dans la catégorie Sections de la fenêtre du Navigateur. Si vous donnez aux sections des noms significatifs, vous pourrez naviguer entre elles plus facilement.

Lier des sections

Vous pouvez insérer le contenu d'un autre document dans la section active et laisser Writer actualiser la section lorsque l'autre document est actualisé. Cela s'appelle lier la section à un autre document.

Pour lier la section active à un autre document, suivez ces étapes :

  1. Dans la zone Lier, cochez la case à cocher Lier.
  2. Cliquez sur le bouton (...) à la droite du champ Nom de fichier. La boite de dialogue Insérer s'ouvre
  3. Cherchez et sélectionnez le document que vous souhaitez insérer et cliquez ensuite sur le bouton Insérer. La boîte de dialogue Insérer se ferme et le nom du document sélectionné apparaît dans le champ Nom de ficher.
  4. Si vous souhaitez insérer seulement une section du document sélectionné, sélectionnez la section désirée à partir de la liste déroulante Section.
Lier une section.

Template:Documentation/Note

Vous pouvez actualiser les liens automatiquement ou manuellement. Voir Actualiser les liens.

Protéger les sections en écriture

Pour protéger une section en écriture de façon à ce que le contenu ne puisse pas être édité, cochez la case à cocher Protéger dans la zone Protection contre les modifications.

Sections protégées en écriture.

Template:Documentation/Note

Sections protégées par mot de passe

Pour empêcher d'autres personnes d'éditer les attributs de la section ou le format, protégez la section de la façon suivante :

  1. Cochez la case à cocher Avec mot de passe. La boîte de dialogue Saisir un mot de passe s'ouvre.
  2. Saisissez un mot de passe dans le champ Mot de passe et confirmez le mot de passe en le saisissant de nouveau dans le champ Confirmer.
  3. Cliquez sur OK. La boîte de dialogue Saisir un mot de passe se ferme. Toute personne qui essaie d'éditer les attributs de la section ou le format devra fournir le mot de passe.
Protéger une section par mot de passe.

Template:Documentation/Note

Masquer des sections

Vous pouvez masquer la section active de façon à ce qu'elle ne soit pas affichée à l'écran ou imprimée. Vous pouvez également spécifier des conditions pour masquer la section. Par exemple, vous pouvez masquer la section seulement pour certains utilisateurs.

Template:Documentation/Note

Pour masquer une sectin, cochez la case à cocher Masquer dans la zone Masquer

Masquer une section.

Pour masquer la section seulement sous certaines conditions, saisissez les conditions souhaitées dans le champ Avec condition. La syntaxe et les opérateurs pour saisir les conditions sont les mêmes que ceux utilisés pour saisir les formules. Pour connaître cette syntaxe et obtenir une liste des opérateurs, consultez l'aide de Writer sous "conditions".

Si la section est protégée en écriture avec un mot de passe, le mot de passe devra être saisi pour masquer ou révéler le texte.

Template:Documentation/Note

Using the Columns page

Use the Columns page of the Insert Section dialog box to format the current section into columns. This page is very similar to the Columns dialog box shown in Defining the number of columns on a page. Please refer to that topic for details.

Using the Indents page

Use the Indents page, pictured below, to set indents in the right and left margins of the current section. Enter the desired left-margin indent in the Before section box. Enter the desired right-margin indent in the After section box. The preview box on the right-hand side of the page shows you how the section will look with the indents applied.

Indenting a section.

Using the Footnotes/Endnotes page

Use the Footnotes/Endnotes page, pictured below, to customize the current section's footnotes and endnotes.

Setting footnotes and endnotes for a section.

Customizing footnotes

If you want the current section's footnotes to appear separately from the other footnotes in the document, check the Collect at end of text check box in the Footnotes area.

To number the current section's footnotes separately from the other footnotes in the document, follow these steps:

  1. In the Footnotes area, make sure that the Collect at end of text check box is checked.
  2. Check the Restart numbering checkbox.
  3. If you want the section's footnotes to start at a number other than 1, enter the desired starting number in the Start at spin box.

To edit the format of the section's footnotes, follow these steps:

  1. In the Footnotes area, make sure that the Collect at end of text and Restart numbering checkboxes are checked.
  2. Check the Custom format checkbox.
  3. From the drop-down list under and to the right of the Custom format checkbox, select a numbering format for the footnotes.
  4. To add text to the selected numbering format, use the Before and After fields. For example, if you want the footnote numbers to be preceded by the word "Note" and followed by a colon, fill the Before and After fields like this:
Numbering footnotes for a section.

Customizing endnotes

If you want the current section's endnotes to appear at the end of the section rather than at the end of the document, check the Collect at end of section checkbox in the Endnotes area.

To number the current section's endnotes separately from the other endnotes in the document, follow these steps:

  1. In the Endnotes area, make sure that the Collect at end of section checkbox is checked.
  2. Check the Restart numbering checkbox.
  3. If you want the section's endnotes to start at a number other than 1, enter the desired starting number in the Start at spin box.

To edit the format of the section's endnotes, follow these steps:

  1. In the Endnotes area, make sure that the Collect at end of section and Restart numbering checkboxes are checked.
  2. Check the Custom format checkbox.
  3. From the drop-down list under and to the right of the Custom format checkbox, select a numbering format for the endnotes.
  4. To add text to the selected numbering format, use the Before and After fields, as shown above for footnotes.

Using the Background page

Use the Background page to add color or a graphic to the background of the current section. This page is similar to the Background pages for paragraphs, frames, tables, and other objects in OOo. For more information, refer to Chapter 7 (Working with Styles).

Saving a new section

To save a new section so that it appears in your document, click the Insert button. The Insert Section dialog box closes and the new section appears in your document.

Editing and deleting sections

You can edit a section's attributes and formatting, and you can also delete sections.

Selecting a section

To select the section that you want to edit or delete, follow these steps:

  1. From the main menu, choose Format > Sections. The Edit Sections dialog box opens.
  2. The name of the current section appears in the Section area, in the field above the list box. If you want to edit or delete a different section, click the name of the desired section in the list. The selected section becomes the current section, and its name appears in the field above the list box.
Edit Sections dialog box.

Editing section attributes

To rename the current section, simply type over its name in the Section area.

From the Edit Sections dialog box, you can also edit the current section's link, write-protect, and hide attributes. To learn how to edit these attributes, see:

Deleting sections

To delete the current section, click the Remove button.

Template:Documentation/Note

Editing the format of a section

To edit the format of the current section, click the Options button. The Options dialog box opens.

Options dialog box for sections.

The Options dialog box has four tabbed pages: Columns, Indents, Background, and Footnotes/Endnotes. To learn how to use these pages, see:

To reset a page to its most recently saved settings, click the Reset button.

To save your Options settings and return to the Edit Sections dialog box, click OK.

Updating links

You can have Writer update linked sections automatically, and you can also update links manually.

Updating links automatically

The default behavior, whenever you open a document that contains links, is for Writer to prompt you to update the links. To have Writer update links without prompting you or to turn off automatic updating, follow these steps:

  1. Choose Tools > Options > OpenOffice.org Writer > General. The dialog box displays general text document settings.
  2. In the Update area, under Update links when loading, select one of the following three options:
    • Select Always if you want Writer to update links automatically, without prompting you, whenever you open a document that contains links.
    • Select On request if you want Writer to prompt you before updating links.
    • Select Never if you do not want Writer to update links.
  3. Click OK to save your settings. The Options dialog box closes.
Writer > General Options settings.

Updating links manually

To update a link manually:

  1. Open the document that contains the link.
  2. Choose Edit > Links. The Edit Links dialog box opens.
  3. The list in the Edit Links dialog box displays the names of all the files that are linked to the current document. Click the file that corresponds to the link that you want to update.
  4. Click the Update button. The most recently saved contents of the linked file appear in the current document.
  5. To close the Edit Links dialog box, click Close.
Edit links dialog box.


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