Outdated version of the documentation. Find the latest one here.

` `

Overview of the Print Composer

The Print Composer provides growing layout and printing capabilities. It allows you to add elements such as the QGIS map canvas, text labels, images, legends, scale bars, basic shapes, arrows, attribute tables and HTML frames. You can size, group, align, position and rotate each element and adjust their properties to create your layout. The layout can be printed or exported to image formats, PostScript, PDF or to SVG (export to SVG is not working properly with some recent Qt4 versions; you should try and check individually on your system). You can save the layout as a template and load it again in another session. Finally, generating several maps based on a template can be done through the atlas generator.

Exemple d’utilisation

Before you start to work with the Print Composer, you need to load some raster or vector layers in the QGIS map canvas and adapt their properties to suit your own convenience. After everything is rendered and symbolized to your liking, click the newComposer New Print Composer icon in the toolbar or choose File ‣ New Print Composer. You will be prompted to choose a title for the new Composer.

Pour créer une carte, veuillez suivre les instructions suivantes.

  1. Sur le côté gauche, sélectionnez le bouton de barre d’outils addMap Ajouter une nouvelle carte et dessinez un rectangle. A l’intérieur du rectangle dessiné, la carte de la vue QGIS est affichée .

  2. Select the scaleBar Add new scalebar toolbar button and click with the left mouse button on the Print Composer canvas. A scalebar will be added to the canvas.
  3. Sélectionnez le bouton de la barre d’outils addLegend Ajouter une nouvelle légende et dessinez un rectangle dans le canevas en maintenant enfoncé le bouton gauche de la souris. À l’intérieur du rectangle dessiné, la légende sera affichée.

  4. Sélectionnez l’icône select Sélectionner/Déplacer un objet pour sélectionner la carte sur le canevas et déplacez-le un peu.

  5. Tant que l’élément de carte est encore sélectionné, vous pouvez également modifier la taille de l’élément de carte. Cliquez tout en maintenant le bouton gauche de la souris enfoncé, dans un petit rectangle blanc dans l’un des coins de l’élément de la carte et faites-le glisser vers un nouvel emplacement pour modifier sa taille.

  6. Cliquez sur le panneau Propriétés d’élément en bas à gauche et trouvez le réglage pour l’orientation. Changez la valeur du paramètre Orientation de la carte en ‘15.00°‘. Vous devriez voir l’orientation de la carte changer.

  7. Now, you can print or export your print composition to image formats, PDF or to SVG with the export tools in Composer menu.
  8. Finally, you can save your print composition within the project file with the fileSave Save Project button.

You can add multiple elements to the Composer. It is also possible to have more than one map view or legend or scale bar in the Print Composer canvas, on one or several pages. Each element has its own properties and, in the case of the map, its own extent. If you want to remove any elements from the Composer canvas you can do that with the Delete or the Backspace key.

The Composer Manager

The Composer Manager is the main window to manage print composers in the project. It helps you add new print composer, duplicate an existing one, rename or delete it. To open the composer manager dialog, click on the composerManager Composer Manager button in the toolbar or choose Composer ‣ Composer Manager. It can also be reached from the main window of QGIS with Project ‣ Composer Manager.

../../../_images/print_composer_manager.png

The Print Composer Manager

The composer manager lists in its upper part all the available print composers in the project. The bottom part shows tools that help to:

  • show the selected composer(s): you can open multiple print composers in one-click
  • duplicate the selected composer (available only if one print composer is selected): it creates a new composer using the selected composer as template. You’ll be prompted to choose a new title for the new composer
  • rename the composer (also available only if one print composer is selected): You’ll be prompted to choose a new title for the composer. Note that you can also rename the composer by double-clicking on its title in the upper part
  • remove the composer: the selected print composer(s) will be deleted from the project.

With the Composer Manager, it’s also possible to create new print composers as an empty composer or from a saved template. By default, QGIS will look for templates in user directory (~/.qgis2/composer_templates) or application’s one (ApplicationFolder/composer_templates). QGIS will retrieve all the available templates and propose them in the combobox. The selected template will be used to create a new composer when clicking Add button. You can also save composer templates in another folder. Choosing specific in the template list offers the ability to select such template and use it to create a new print composer.