LibreOffice Logo

Getting Started Guide 24.8

Chapter 7,
Getting Started with Draw

Vector Drawing in LibreOffice

Copyright

This document is Copyright © 2024 by the LibreOffice Documentation Team. Contributors are listed below. This document may be distributed and/or modified under the terms of either the GNU General Public License (https://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), version 4.0 or later. All trademarks within this guide belong to their legitimate owners.

Contributors

To this edition

B Antonio Fernandez, Olivier Hallot, Peter Schofield

To previous editions

Claire Wood, Dave Barton, Hazel Russman, Kees Kriek. Nay Catina Dia-Schneebeli, Olivier Hallot, Peter Schofield, Ron Faile Jr., Skip Masonsmith.

Feedback

Please direct any comments or suggestions about this document to the Documentation Team Forum at https://community.documentfoundation.org/c/documentation/loguides/ (registration is required) or send an email to: loguides@community.documentfoundation.org.

Everything sent to a forum, including email addresses and any other personal information that is written in the message, is publicly archived and cannot be deleted. Emails sent to the forum are moderated.

Publication date and software version

Published August 2024. Based on LibreOffice 24.8 Community.
Other versions of LibreOffice may differ in appearance and functionality.

Using LibreOffice on macOS

Some keystrokes and menu items are different on macOS from those used in Windows and Linux. The table below gives some common substitutions used in this document. For a detailed list, see LibreOffice Help.

Table 1: Example of macOS keyboard shortcuts

Windows or Linux

macOS equivalent

Effect

Tools > Options

LibreOffice > Preferences

Access setup options

Right-click

Control+click, Ctrl+click, or right click depending on computer setup

Open a context menu

Ctrl or Control

⌘ and/or Cmd or Command, depending on keyboard

Used with other keys

Alt

⌥ and/or Alt or Option depending on keyboard

Used with other keys

F11

⌘+T

Open the Styles deck in the Sidebar

Introduction

LibreOffice Draw is the vector graphics drawing module included with the LibreOffice installation. It can be used to create a wide variety of graphic images, including some operations on raster graphics.

Vector graphics store and display an image as an assembly of simple geometric elements such as lines, circles, and polygons, rather than a collection of pixels (points on the screen). Vector graphics allow for easier storage and image scaling.

LibreOffice Draw is fully integrated into the LibreOffice suite simplifying exchanging graphics between all LibreOffice modules. If an image is created in LibreOffice Draw, reusing it in a LibreOffice Writer document is relatively easy. For example, select and copy a drawing in LibreOffice Draw, then paste the copied image directly into a LibreOffice Writer document. Also, drawings can be worked on directly from within LibreOffice Writer or Impress, using a subset functions and tools from LibreOffice Draw.

The functionality of LibreOffice Draw is extensive has not been designed to rival high-end graphics applications. However, LibreOffice Draw has more functionality than drawing tools that are available in the majority of office productivity suites. A few examples of drawing functions are as follows:

This chapter introduces some features of LibreOffice Draw, but does not cover all the available features in LibreOffice Draw. See the LibreOffice Draw Guide and LibreOffice Help for more information.

When LibreOffice is installed on a computer, a menu entry for each module is added to the system menu. The exact name and location of these menu entries depends on the operating system and graphical user interface being used.
The New icon displayed on the Standard toolbar depends on which LibreOffice module is open when creating a new document, presentation, spreadsheet, or drawing.

Main window

Pages pane

In LibreOffice Draw, drawings can be split over several pages with multi-page drawings used mainly for presentations. The Pages pane, on the left side of the main window, provides an overview pages created in a drawing. If the Pages pane is not visible, select View > Page Pane on the Menu bar. To make changes to the page order, drag and drop one or more pages displayed in the Pages pane.

Figure 1: LibreOffice Draw Main Window

LibreOffice Draw Main Window

  1. Pages pane

  1. Workspace

  1. Sidebar

  1. Status Bar

  1. Layers Bar

Workspace

The large area in the center of the main window (Figure 1) is the Workspace where drawings are created. This drawing area can be surrounded with toolbars and information areas. The number and position of visible tools varies with the task being carried out, user preferences, and computer setup. The maximum size of a drawing page in LibreOffice Draw is limited by computer setup and the page size that that can be set and used in a printer connected to the computer.

Sidebar

The Sidebar in LibreOffice Draw has five main decks and is similar to the Sidebar in other LibreOffice modules. To open a deck, click on its icon on the right of the Sidebar, or click on Sidebar Settings at the top of the Sidebar and select a deck from the drop-down list. If the Sidebar is not visible, select View > Sidebar on the Menu bar, or use the keyboard shortcut Ctrl+F5 (macOS ⌘+F5).

Properties

Contains panels where properties of a selected object in a drawing are changed: Page, Character, Paragraph, Image, Area, Line, Effect, Shadow, Position and Size, and Columns. Available panels depend on the selected object.

Styles

Provides options to edit and apply available Drawing Styles to objects in a drawing. When a style is edited or modified, changes are automatically applied to all elements formatted using that style. In LibreOffice Draw, Presentation Styles are not available. New drawing styles can be added to a drawing.

Gallery

Objects on the Gallery deck are inserted into a drawing either as a copy or as a link. The Gallery is divided into themes: Arrows, BPMN (Business Process Model and Notation), Bullets, Diagrams, Flow chart, Icons, Network, Shapes, and Sounds. New themes are added to the Gallery. See Chapter 11, Advanced Draw Techniques for more information on using the Gallery.

Navigator

On the Navigator deck, pages and objects in a drawing are quickly selected. It is recommended to use meaningful names for pages and objects in a drawing for easy identification and location when using the Navigator.

Shapes

Provides quick selection of some items available on the Drawing toolbar: Lines and Arrows, Curves and Polygons, Connectors, Basic Shapes, Symbol Shapes, Block Arrows, Flowchart, Callouts, Stars and Banners, and 3D Objects.

Status bar

The Status Bar (Figure 2) is located at the bottom of the Workspace in all LibreOffice modules and includes several LibreOffice Draw specific fields. For content details and use of these fields, see Chapter 1, LibreOffice Basics, and the LibreOffice Draw Guide. To hide the Status Bar, select View on the Menu bar and deselect Status Bar from the submenu.

Figure 2: LibreOffice Draw Status Bar

LibreOffice Draw Status Bar

  1. Slide (drawing) number

  1. Information area

  1. Master drawing

  1. Cursor position

  1. Selected object size

  1. Document scaling factor

  1. Unsaved changes

  1. Digital signature

  1. Fit drawing

  1. Zoom slider

  1. Zoom percentage

The measurement units displayed on the Status Bar are set by going to Tools > Options > LibreOffice Draw > General (macOS LibreOffice > Preferences > LibreOffice > General) on the Menu bar. These measurement units can be different to the measurement units set for the rulers displayed in the LibreOffice Draw main window.

Layers bar

A layer is a workplace where drawing elements and objects can be inserted. By default, the Workspace consists of three layers (Layout, Controls and Dimension Lines). Tabs for the default layers appear at the bottom of the Workspace. Default layers cannot be deleted or renamed, but layers can be added when required.

Tabs for layers appear in the Layers bar at the bottom of the Workspace. Use the Layers bar to navigate between layers, add layers as required, or delete layers that have been created. For more information on layers, see “Working with layersbelow.

Rulers

Rulers are positioned on the Workspace upper and left-hand sides. If the rulers are not visible, select View > Rulers in the Menu bar, or use the keyboard shortcut Ctrl+Shift+R (macOS ⌘+Shift+R). The rulers show the size of a selected object on the page using double lines (highlighted in Figure 3). Also, rulers are used to manage object handles and guide lines when positioning objects.

Figure 3: Example of rulers showing object size

Example of rulers showing object size

Page margins in the drawing area are represented on the rulers. Change the margins directly on the rulers by dragging with the cursor. Margin areas are normally indicated by a grayed out area on the rulers, but does depend on computer operating system and setup.

To change the ruler measurement units, right-click on a ruler and select the measurement unit from the drop down list, as shown in Figure 4 for the horizontal ruler. Measurement units for the horizontal and vertical rulers can be different measurement units.

Figure 4: Example of ruler measurement units

Example of ruler measurement units

Toolbars

To display or hide the LibreOffice Draw toolbars, select View > Toolbars on the Menu bar and select the required toolbar from the submenu. For more information on toolbars, see the LibreOffice Draw Guide.

The icons used for the tools on each toolbar depend on the computer operating system and how LibreOffice has been set up on a computer. For more information, see Chapter 12, Configuring LibreOffice. The four main toolbars used in LibreOffice Draw are as follows:

Standard toolbar

The Standard toolbar (Figure 5) is similar for all LibreOffice modules. By default, it is locked into position at the top of the main window when a document is opened.

Figure 5: Standard toolbar

Standard toolbar

Drawing toolbar

The Drawing toolbar (Figure 6) contains all the necessary functions for drawing various geometric and freehand shapes, and for organizing them in the drawing. By default, it is locked into position on the left of the main window.

Figure 6: Drawing toolbar

Drawing toolbar

Line and Filling toolbar

The Line and Filling toolbar (Figure 7) is normally docked at the top of the main window below the Standard toolbar and is used to modify the main properties of a drawing object. The tools and pull-down lists vary according to the type of object selected. The Line and Filling toolbar only becomes active when an object on the Workspace is selected.

Figure 7: Line and Filling toolbar

Line and Filling toolbar

Text Formatting toolbar

The Text Formatting toolbar (Figure 8) is similar to the Formatting toolbar in LibreOffice Writer. It is only available when text, or a text object, has been selected in a drawing. The Text Formatting toolbar replaces the Line and Filling toolbar when it opens.

Figure 8: Text Formatting toolbar

Text Formatting toolbar

Drawing basic shapes

LibreOffice Draw provides a wide range of basic shapes located on the Drawing toolbar (Figure 6 above) and the Shapes deck on the Sidebar (Figure 9). Some of the basic shape icons on the Drawing toolbar change according to the shape that has been selected. Also, some basic shapes on a toolbar have a subtoolbar available and these are indicated by a triangle ▼ to the right of the tool icon. See the LibreOffice Draw Guide for a complete description of the basic shapes available and how to access the subtoolbars.

Figure 9: Shapes deck on Sidebar

Shapes deck on Sidebar

When drawing basic shapes, or selecting a shape for editing, the information area in the Status bar changes to reflect the present action, for example Line created, Text frame xxyy selected, and so on.

Straight lines

A straight line is the simplest element or object to create in LibreOffice Draw.

  1. Use one of the following methods to start drawing a line:

  1. Place the cursor at the starting point on the drawing, then click and drag the cursor to draw a straight line.

  2. Release the cursor when the end point is reached and a straight line is created. A selection handle appears at each end of the line, showing that this object is selected. The selection handle at the starting point of the line is larger than the end point (highlighted in Figure 10).

Figure 10: Example of line starting point

Example of line starting point

A line is drawn using default attributes. To change line attributes and format a line to the drawing requirements, select the line by clicking on it and use one of the following methods to access formatting options for the line:

Figure 11: Line panel in Properties deck on Sidebar

Line panel in Properties deck on Sidebar

Figure 12: Line dialog — Line page

Line dialog — Line page

To snap the end of a line to the nearest grid point, keep the Ctrl key (macOS ⌘) pressed while drawing the line. However, if the Snap to Grid option in View > Snap Guides on the Menu bar is selected, the Ctrl key (macOS ⌘) deactivates the snap to grid.
To restrict the drawing angle of a line to multiples of 45 degrees, keep the Shift key pressed while drawing the line. However, if the option When creating or moving objects in the Constrain Objects section of Tools > Options > LibreOffice Draw > Grid (macOS LibreOffice > Preferences > LibreOffice Draw > Grid) has been selected, the Shift key deactivates this restriction.
To draw a line symmetrically outwards in both directions from the start point, keep the Alt key (macOS ⌥) pressed while drawing the line. Lines are drawn starting from the center of the line.

Lines and Arrows

LibreOffice Draw classifies both lines and arrows as lines. Arrows are drawn like straight lines. Hovering the cursor over each tool in the Lines and Arrows subtoolbar (Figure 13) indicates what type of line, or arrow each tool creates. The information field on the Status bar shows them only as lines.

Figure 13: Lines and Arrows subtoolbar

Lines and Arrows subtoolbar

  1. Use one of the following methods to draw a line or arrow:

  1. Place the cursor at the starting point of the line or arrow, then click and drag the cursor. The arrowhead is created when the cursor is released.

The tool icon for the Lines and Arrows tool previously used is shown on the Drawing toolbar making it easier to use the same tool again.
After drawing a line, or arrow, the line, or arrow style is changed by opening the Line dialog (Figure 12 above) and using the options available on the Line Styles or Arrow Styles pages.

Rectangles or Squares

  1. Use one of the following methods to start drawing a rectangle or square:

Figure 14: Basic Shapes subtoolbar

Basic Shapes subtoolbar

Figure 15: Legacy Rectangles toolbar

Legacy Rectangles toolbar

  1. Place the cursor at the starting point for the rectangle or square, then click and drag the cursor until the required size is drawn. The rectangle or square is drawn from the starting point using the bottom right corner as the anchor point for the cursor.

  2. If necessary, use one of the following options to draw a rectangle or square:

If the option When creating or moving objects is selected in the Constrain Object section of Tools > Options > LibreOffice Draw > Grid (macOS LibreOffice> Preferences > LibreOffice Draw > Grid), the Shift key action is reversed. A square is drawn instead of a rectangle. Holding down the Shift key a rectangle is drawn. Shift key action reversal also applies to ellipses, circles, arcs, and segments.

Ellipses or circles

  1. Use one of the following methods to start drawing an ellipse or circle:

Figure 16: Legacy Circles and Ovals toolbar

Legacy Circles and Ovals toolbar

  1. Place the cursor at the starting point for the ellipse or circle, then click and drag the cursor until the required size is drawn. The ellipse or circle is drawn from the starting point using the bottom right corner as the anchor point for the cursor.

  2. If necessary, use one of the following options while drawing an ellipse or circle:

To quickly insert an object, press and hold down the Ctrl (macOS ⌘) key, then click on an object tool on the Drawing toolbar. A standard sized object of the selected object is drawn automatically in the center of the Workspace. The size, shape, and color used are default settings. These attributes can be changed later. For more information, see the Draw Guide.

Dimension lines

Dimension lines display a measurement of an object in the drawing (Figure 17). A dimension line does not belong to the object itself, but is positioned close to it. An object can have as many dimension lines as necessary to indicate the dimensions of sides, edges, distances, and so on.

Figure 17: Example of object dimension lines

Example of object dimension lines

  1. Use one of the following methods to start drawing a dimension line:

Click the triangle ▼ on the right of Lines and Arrows on the Drawing toolbar and select Dimension Line on the Lines and Arrows sub-toolbar that opens.

  1. Place the cursor close to the object to position the start of the dimension line.

  2. Click and drag the cursor to draw the dimension line. As the dimension line is drawn, the dimension is displayed and automatically calculated. To change the measurement unit used for dimension lines, go to Tools > Options > LibreOffice Draw > General on the Menu bar.

  3. To change the display of a dimension line and its appearance, right-click on the dimension line and select Dimensions in the context menu to open the Dimension Line dialog (Figure 18).

  4. Select the required options in Line and Legend, then click OK to save the changes and close the Line Dimension dialog.

Figure 18: Dimension Line dialog

Dimension Line dialog

Curves

  1. Use one of the following methods to start drawing a curve:

Figure 19: Curves and Polygons subtoolbar

Curves and Polygons subtoolbar

  1. Click and hold the left mouse button to create the starting point of the curve, then drag from the starting point to draw a line. Release the mouse button and continue to drag the cursor to bend the line into a curve.

  2. Double-click to set the end point of the curve and fix the curve on the drawing. A filled curve automatically joins the last point to the first point, closing the curve and filling it with the selected fill color. A curve without fill will not be closed at the end of drawing the curve.

A single click fixes the curve to the drawing and allows drawing of straight lines from the end of the curve. Each single click allows the drawing of another straight line. Double-click to end drawing a curve with straight lines.

Polygons

  1. Use one of the following methods to start drawing a polygon:

  1. Click to create the starting point of the polygon, then drag from the starting point to draw a line.

  2. Release the hold and continue to drag the cursor to draw the next line for polygon, then click again to mark the end point of the line and start drawing another line. Holding the Shift key down while drawing lines restricts the angles used in the polygon to 45° or 90°.

Polygons 45°

A polygon 45° is drawn using the same procedure as polygons, but the angles between lines are restricted to 45° or 90°. This restriction of angles cannot be changed. However, hold down the Shift key to draw a line at an angle other than 45 or 90 degrees.

A filled polygon 45° automatically joins the last point to the first point, closing the polygon and filling it with the selected fill.

Free-form lines

Drawing a free-form line is similar to drawing with a pencil on paper.

  1. Use one of the following methods to start drawing a free-form line:

  1. Click and drag the cursor to create the free-form line shape required.

  2. Release the hold when satisfied with the free-form line and the drawing is completed. A filled free-form line automatically joins the last point to the first point, closing the free-form line and filling it with the selected fill.

Gluepoints and connectors

Gluepoints

All LibreOffice Draw objects have gluepoints and are not normally displayed. Gluepoints (Figure 20) only become visible on an object when a connector is selected on the Drawing toolbar or in the Shapes deck on the Sidebar.

Figure 20: Example of object gluepoints

Example of object gluepoints

Most objects have four gluepoints (Figure 20). More gluepoints can be added and customized using the Gluepoints toolbar (Figure 21). If the Gluepoints toolbar is not visible, go to View > Toolbars > Gluepoints on the Menu bar to open the toolbar. For a more detailed description on adding and using gluepoints, see the LibreOffice Draw Guide.

Figure 21: Gluepoints toolbar

Gluepoints toolbar

Figure 22: Example of a connector between objects

Example of a connector between objects

Gluepoints are not the same as the selection handles of an object. Selection handles are for moving or changing the shape of an object. Gluepoints are used to fix or glue a connector to an object so that when the object moves, the connector stays fixed to the object.

Connectors

Connectors are lines or arrows whose ends automatically snap to a gluepoint of an object. Connectors are especially useful in drawing organization charts, flow diagrams, and mind-maps. When objects are moved or reordered, the connectors remain attached to a gluepoint. Figure 22 shows an example of using two objects and a connector. For a more detailed description of the use of connectors, see the LibreOffice Draw Guide.

  1. Use one of the following methods to select a connector:

Figure 23: Connectors subtoolbar

Connectors subtoolbar

  1. Move the cursor over one of the objects to be connected. Small crosses (the gluepoints) appear around the object edges. Click on the required gluepoint for the start of the connector, then drag the cursor to drag the connector to another object.

  2. When the cursor is over a gluepoint of the target object, release the mouse button and the connector is drawn. The connector end point is attached to the gluepoint.

Geometric shapes

Geometric shapes are similar to basic shapes. They are provided in LibreOffice Draw as a starting point when creating objects for a drawing. Geometric shapes are located on the Drawing toolbar and in the Shapes deck on the Sidebar.

The tool icons on the Drawing toolbar always indicate the last geometric shape drawn. This makes it easier to use the same tool again.

Access geometric shapes using one of the following methods:

Using geometric shapes is similar to drawing rectangles, squares, ellipses, or circles as explained in “Drawing basic shapesabove. Text can be added to all geometric shapes. See “Adding and formatting textbelow and the LibreOffice Draw Guide.

Basic shape

Figure 24: Basic Shapes subtoolbar

Basic Shapes subtoolbar

The Basic Shapes subtoolbar (Figure 24) also includes rectangle and ellipse tools that are identical to the ones displayed on the Drawing toolbar. Basic Shapes are numbered from left to right on the subtoolbar as follows:

  1. Rectangle

  1. Rectangle, Rounded

  1. Square

  1. Square, Rounded

  1. Parallelogram

  1. Trapezoid

  1. Ellipse

  1. Circle

  1. Circle Pie

  1. Circle Segment

  1. Arc

  1. Block Arc

  1. Isosceles Triangle

  1. Right-angle Triangle

  1. Diamond

  1. Regular Pentagon

  1. Hexagon

  1. Octagon

  1. Cylinder

  1. Cube

  1. Folded Corner

  1. Cross

  1. Frame

  1. Ring

Symbol shapes

Figure 25: Symbol Shapes subtoolbar

Symbol Shapes subtoolbar

Symbol Shapes (Figure 25) are numbered from left to right on the subtoolbar as follows:

  1. Smiley Face

  1. Heart

  1. Sun

  1. Moon

  1. Cloud

  1. Lightning Bolt

  1. Flower

  1. Prohibited

  1. Puzzle

  1. Square Bevel

  1. Octagonal Bevel

  1. Diamond Bevel

  1. Double Bracket

  1. Left Bracket

  1. Right Bracket

  1. Double Brace

  1. Left Brace

  1. Right Brace

Block arrows

Figure 26: Block Arrows subtoolbar

Block Arrows subtoolbar

Block Arrows (Figure 26) are numbered from left to right on the subtoolbar as follows:,

  1. Right Arrow

  1. Left Arrow

  1. Down Arrow

  1. Up Arrow

  1. Left and Right Arrow

  1. Up and Down Arrow

  1. Circular Arrow

  1. S-shaped Arrow

  1. Split Arrow

  1. Right or Left Arrow

  1. 4-way Arrow

  1. Corner Right Arrow

  1. Chevron

  1. Pentagon

  1. Striped Right Arrow

  1. Up, Right and Down Arrow

  1. Notched Right Arrow

  1. Up and Right Arrow

  1. Right Arrow Callout

  1. Left Arrow Callout

  1. Down Arrow Callout

  1. Up Arrow Callout

  1. Left and Right Arrow Callout

  1. Up and Down Arrow Callout

  1. 4-way Arrow Callout

  1. Up and Right Arrow Callout

Flowchart

Figure 27: Flowchart subtoolbar

Flowchart subtoolbar

Flowchart (Figure 27) are numbered from left to right on the subtoolbar as follows:

  1. Process

  1. Alternate Process

  1. Decision

  1. Data

  1. Predefined Process

  1. Internal Process

  1. Document

  1. Multidocument

  1. Terminator

  1. Preparation

  1. Manual Input

  1. Manual Operation

  1. Connector

  1. Off-page Connector

  1. Card

  1. Punched Tape

  1. Summing Junction

  1. Or

  1. Collate

  1. Sort

  1. Extract

  1. Merge

  1. Stored Data

  1. Delay

  1. Sequential Access

  1. Magnetic Disc

  1. Direct Access Storage

  1. Display

Callouts

Figure 28: Callouts subtoolbar

Callouts subtoolbar

Callouts (Figure 28) are numbered from left to right on the subtoolbar as follows:

  1. Rectangular Callout

  1. Rounded Rectangular Callout

  1. Round Callout

  1. Cloud

  1. Line Callout 1

  1. Line Callout 2

  1. Line Callout 3

Stars and banners

Figure 29: Stars and Banners subtoolbar

Stars and Banners subtoolbar

Stars and Banners (Figure 29) are numbered from left to right on the subtoolbar as follows:

  1. 4-Pointed Star

  1. 5-Pointed Star

  1. 6-Pointed Star

  1. 8-Pointed Star

  1. 12-Pointed Star

  1. 24-Pointed Star

  1. Explosion

  1. Vertical Scroll

  1. Horizontal Scroll

  1. Signet

  1. Door-plate

  1. 6-Point Star, Concave

3D objects

Figure 30: 3D-Objects subtoolbar

3D-Objects subtoolbar

3D-Objects (Figure 30) are numbered from left to right on the subtoolbar as follows:

  1. Cube

  1. Sphere

  1. Cylinder

  1. Cone

  1. Pyramid

  1. Torus

  1. Shell

  1. Hemisphere

Adding and formatting text

Text can be added to drawings created in LibreOffice Draw. This section gives some guidelines on how to add text and change its appearance. Text added to drawings can be contained in text boxes, objects, or shapes. For more information on adding and formatting text, see the LibreOffice Draw Guide.

Text mode

Before adding any text to a drawing, text mode has to be activated using one of the following methods. The Text Formatting toolbar (Figure 31) automatically opens when text mode is activated, replacing the Line and Filling toolbar.

Figure 31: Text Formatting toolbar

Text Formatting toolbar

Inserting and formatting vertical text and vertical text boxes is the same as horizontal text and horizontal text boxes. A vertical text box expands vertically as text is added into the box. For more information on vertical text, see the LibreOffice Draw Guide.

Text boxes

  1. Create a text box in the drawing using one of the following methods. The Status Bar indicates Text Edit mode and the position of the cursor (Figure 32).

Figure 32: Example of text information on Status Bar

Example of text information on Status Bar

  1. When adding text is complete, click outside the text box to exit text mode. The Text Formatting toolbar closes and the Line and Filling toolbar opens in its original position.

  2. To format and/or reposition the text box, see the LibreOffice Draw Guide for more information.

Vertical text

By default, LibreOffice Draw is set for horizontal text only. Enabling vertical text is as follows:

  1. Go to Tools > Options > Language Settings > Languages (macOS LibreOffice > Preferences > Language Settings > Languages).

  2. Under Default Languages for Documents, select Asian and accept the default language displayed.

  3. Right-click in a blank area on the Drawing toolbar and select Visible Buttons in the context menu.

  4. Select Insert Vertical Text from the list of available tools to enable vertical text on the Drawing toolbar.

  5. Alternatively, go to View > Toolbars on the Menu bar and select the Text toolbar from the drop-down list, then select Insert Vertical Text from the tools available on the Text toolbar.

Text in LibreOffice Draw objects

Text can be added to most LibreOffice Draw objects. The exceptions are, for example, control elements, buttons, polygons, curves, or 3D objects.

By default, an object is not dynamic when created in LibreOffice Draw and does not behave like a text box. Text added to an object does not word wrap inside an object. To keep text within the borders of an object, use word wrap, paragraphs, line breaks, smaller text size, increasing object size, or a combination of all methods. For more information on adding text to objects, see the LibreOffice Draw Guide.

  1. Create an object in a drawing and make sure the object is selected with the selection handles displayed.

  2. Enter text mode on a selected object using one of the following methods:

  1. Type or paste text into the selected object.

  2. If the text goes outside the object borders, format the text using the various tools on the Text Formatting toolbar, panels in the Properties deck on the Sidebar, options in Format on the Menu bar, or Text page in the Text dialog. For more information on text formatting, see the LibreOffice Draw Guide.

  3. Click outside the object to deselect it ending text mode and saving any changes.

Creating lists

Unordered (bulleted) or ordered (numbered) lists can be created in text boxes and objects. For more information on creating and formatting lists, see the LibreOffice Draw Guide.

  1. Switch on text mode and select all of the text required for a list, or type the required text.

  2. Create a list using one of the following methods and default settings for lists:

  1. To change the format of the list, click on the triangle ▼ on the right of the list tools in the toolbars, or List panel in the Sidebar, and select a list style from the options available.

Text columns

Text in a drawing can be formatted into columns inside text boxes and objects. However, if text columns are to be used in a text box or object, then the whole of a text box or object has to be used for columns. For more information on text columns, see the LibreOffice Draw Guide.

Any text inside a text box, or graphic object automatically flows into column format when the changes are saved.

  1. For text boxes — click the border of a text box to select it so that the selection handles are displayed indicating that the text box is in edit mode.

  2. For graphic objects — double-click on a graphic object to select it so that the selection handles are displayed and the cursor flashes in the center of the object indicating that the object is in text edit mode.

  3. Open the options for text columns using one of the following methods:

  1. Set the number of columns required in the Number of columns box and the required spacing between the columns in the Spacing box.

  2. Type in the required text, or use copy and paste to enter the required text into the text box or graphic object. Any text entered will be in column format.

  3. If necessary, format the text to the drawing requirements.

  4. Save the changes and deselect the text box, or graphic object, using one of the following methods:

  1. Click outside the text box, or graphic object, to deselect and save all the changes.

Selecting objects

Direct selection

The easiest way to select an object is to click directly on it. For objects that are not filled, click on the object border to select it. To select, or deselect, more than one object, hold the Shift key down while clicking on each object.

Selection by framing

Several objects can be selected at the same time by clicking and dragging the cursor to create a selection rectangle (also known as a marquee) around objects. Only objects that lie entirely within this selection rectangle are selected. To select multiple objects by framing, Select on the Drawing toolbar must be active.

Selecting hidden objects

If objects are located behind others and not visible, they can still be selected. When selecting a hidden object, its selection handles appear through the objects covering it.

Arranging objects

In a complex drawing, several objects may be stacked on top of one another. This stacking order can be rearranged by moving an object forward, or backward, using one of the following methods:

Positioning and adjusting objects

When positioning or changing the size of an object, check the information area of the Status bar at the bottom of the Workspace (Figure 33). From left to right, it shows what object is selected, its position on the drawing in X/Y coordinates, and the dimensions of the object.

Figure 33: Example of object information on StatusBar

Example of object information on StatusBar

 The measurement units are those selected in Tools > Options > LibreOffice Draw > General. For more information on positioning and adjusting objects, see the LibreOffice Draw Guide.

Using zoom

To help in the positioning and adjustment of objects, LibreOffice Draw has a zoom function that reduces or enlarges the screen display of the current drawing. For example, zoom in to position objects on a drawing with greater accuracy; zoom out to see the complete drawing. Zooming is controlled using the Status bar, Zoom & View Layout dialog, or Zoom toolbar. For more information on using zoom, see the LibreOffice Draw Guide.

Moving objects

To move an object (or a group of objects), select it within the object borders, then click and drag the object. Release the object when it is in its correct position. Whilst moving the object, a ghost image of the object appears helping with repositioning (Figure 34).

Figure 34: Example of moving objects

Example of moving objects

Adjusting object size

To change the size of a selected object (or a group of selected objects), move the cursor to one of the selection handles. The cursor changes shape to indicate the direction of movement for that selection handle. As the object size changes, a ghosted outline of the object appears (Figure 35). When the desired size of the object is reached, release the object.

Figure 35: Example of adjusting object size

Example of adjusting object size

The results depend on which selection handle is being used. To resize an object along one axis, use a side, top, or bottom handle. To resize along both axes, use a corner handle.

Press and hold the Shift key while resizing an object, the change in size is carried out symmetrically with respect to the object width and height maintaining the aspect ratio of the object. This Shift key behavior works on all selection handles.

Rotating or slanting objects

To rotate or slant an object (or a group of objects), select it and switch to rotation mode using one of the following methods:

The selection handles change shape and color with a center of rotation appearing in the center of the object. As the cursor is moved over the handles, the cursor changes shape to indicate the type of movement.

Rotation

  1. Click on and hold a corner selection handle, then drag the cursor to rotate the object around the rotation point. A ghost image of the object rotation appears and the current angle of rotation is shown in the Status Bar (Figure 36).

Figure 36: Example of rotating an object

Example of rotating an object

  1. When the object is at the required rotation angle, release the object.

  2. To change the type of rotation, click on the rotation point and drag it to another position. The rotation point can be moved outside of the object boundaries.

Press the Shift key while rotating or slanting an object and the movement is restricted to 15°.

Slanting

  1. Click on a selection handle at the top, bottom, left side, or right side of an object. The cursor will change shape indicating the direction of movement.

  2. Drag the selection handle to slant the object. A ghost image of the object being slanted appears (Figure 37) and the current slant angle is shown in the Status Bar. The axis used for slanting an object is fixed to the edge of the object directly opposite the selection handle being used to slant the object.

  3. When the object is at the desired slant angle, release the object.

Figure 37: Example of slanting an object

Example of slanting an object

Flipping objects

Select an object so that the selection handles are displayed and flip the object vertically or horizontally using one of the following methods:

However, the Flip tool on the Transformations toolbar (Figure 38) provides greater control over the flipping process. Use the Flip tool to change the position and angle that the object flips over. See the LibreOffice Draw Guide for more information.

Figure 38: Transformations toolbar

Transformations toolbar

Object distortion

Three tools on the Transformations toolbar (Figure 38) allow the dragging of the corners and edges of an object to distort an object.

In all three cases, the object has to be converted into a curve. This is a necessary first step, so click Yes, then move the object handles to produce the desired effect. See the LibreOffice Draw Guide for more information on how to distort an object.

Dynamic gradients

Transparency gradients can be controlled the same as color gradients and both types of gradient can be used together. With a transparency gradient, the direction and degree of the object fill color changes from opaque to transparent. In a color gradient, the fill changes from one color to another, but the degree of transparency remains the same. An example of a dynamic gradient is shown in Figure 39.

Two tools on the Transformations toolbar are used to dynamically control transparency and color gradients — Interactive Transparency and Interactive Gradient. See the LibreOffice Draw Guide for more information on how to create transparencies and gradients in an object.

Figure 39: Example of a dynamic gradient

Example of a dynamic gradient

Duplication

Duplication makes copies of an object while applying a set of changes such as Color or rotation to the duplicates that are created. An example of duplication is shown in Figure 40. For more information on duplication, see the LibreOffice Draw Guide.

Figure 40: Example of duplicating objects

Example of duplicating objects

  1. Click on an object or group of objects and open the Duplicate dialog (Figure 41) using one of the following methods:

Figure 41: Duplicate dialog

Duplicate dialog

  1. Select the required options in Number of copies, Placement, Enlargement, and Colors.

  2. Click OK to duplicate the object and close the Duplicate dialog.

Cross-fading

Cross-fading transforms one object shape to another object shape. The result is a new group of objects with the first object selected as the start object and the second object selected as the end object. For example, when the options in the Cross-fading dialog are applied to a rectangle and an oval, the cross-fading produces the result shown by the example in Figure 42.

Figure 42: Example of cross fading objects

Example of cross fading objects

  1. Select two differently shaped objects and go to Shape > Cross-fading on the Menu bar to open the Cross-fading dialog (Figure 43).

Figure 43: Cross-fading dialog

Cross-fading dialog

  1. In Increments enter the number of shapes between the two objects.

  2. Select Cross-fading attributes to apply a gradual change of line and fill properties between the two objects.

  3. Select Same orientation to apply a smooth transition between the two objects.

  4. Click OK to carry out the cross-fading and close the Cross-fading dialog.

Grouping and combining multiple objects

Using Draw, a group of objects can be grouped together allowing multiple objects to be treated as one object, or combined together to create a new shape, as shown by the example (1) in Figure 44. For more information on grouping and combining objects, see the LibreOffice Draw Guide.

Figure 44: Example of grouping and combining objects

Example of grouping and combining objects

Grouping

Grouping of objects is similar to putting objects into a container. The objects can be moved as a group and global changes applied to the objects within the group. A group can always be undone (ungroup). Objects that make up a group can always be manipulated separately and retain their own individual properties.

Temporary grouping

A temporary grouping is when several objects are selected using one of the following methods:

Any changes to object parameters carried out are applied to all of the objects within the temporary group. For example, rotating a temporary group of objects in its entirety.

To cancel a temporary grouping of objects, click outside of the selection handles displayed around the objects.

Permanent grouping

A permanent grouping of objects can be created after selecting objects using one of the following methods:

When deselected, the objects remain grouped together. Any editing operations carried out on the group are applied to all objects within the group. If one object in the group is clicked, the whole group is selected.

Editing within groups

Editing an individual within a group can be carried out without ungrouping or breaking the group. After selecting the group, use one of the following methods to enter the group:

When editing is finished on an individual object within a group, use one of the following methods to exit the group:

Ungrouping

To ungroup or break apart a permanent group of objects, use one of the following methods:

Nesting groups

A group of groups, more commonly known as nested groups, can be created. When nested groups are created, Draw retains the individual group hierarchy and remembers the order in which groups were selected. That is, the last individual group selected will be on top of all the other groups within a nested group. Ungrouping and entering a nested group work in the same way as for individual groups.

Combining objects

Combining is a permanent merging of objects, creating a new object. The original objects are no longer available as individual entities and cannot be edited as individual objects. Any editing of a combined object affects all the objects that were used when combination was carried out. For more information on combining objects, see the LibreOffice Draw Guide.

After selecting the objects for combining, use one of the following methods to create a new object. An example of combining objects is shown in Figure 44 (2) above.

Merging, subtracting, and intersection

After selecting several objects, the Merge, Subtract, and Intersect functions become available. These functions are similar to combining objects, but allow the creation of a differently shaped object from the selected objects. The shape of the object depends on which function used. See the LibreOffice Draw Guide for more information on how to use these functions.

Arranging, aligning, and distributing objects

In LibreOffice Draw, selected objects can be arranged, aligned, and distributed in relation to each other. See the LibreOffice Draw Guide for more information on arranging and aligning objects.

Inserting and exporting images

Inserting

LibreOffice Draw contains a number of functions for editing images (also called pictures, raster graphics, or bitmaps). These functions include the import and export of images, and conversion from one image format to another. For more information on working with images, see Chapter 5, Working with Images and Graphics in this guide and the LibreOffice Draw Guide.

LibreOffice Draw includes a large range of filters so that it can read and display several image file formats. It also includes several tools for working with images, but does not have the same functionality as specialized programs, for example GIMP, or Adobe Photoshop.

Images can be added from several sources:

Exporting

LibreOffice Draw saves images as drawings in the Open Document Format (odf). To save an image or the entire file in another format, go to File > Export on the Menu bar and select a format in the drop-down list. The image formats that LibreOffice Draw can export in and save to are listed in Appendix B, Open Source, Open Standards, OpenDocument.

LibreOffice Draw files can also be exported in HTML, XHTML, or PDF format. The HTML export uses a conversion wizard that creates as many web pages as there are pages in a document. Optionally drawing pages can be displayed in frames with a navigator and an index page. For more information about file formats, see Chapter 10, Working with File Formats, Security, and Exporting.

Working with 3D objects

Although LibreOffice Draw does not match the functionality of specialized drawing, or image editing programs, it is capable of producing and editing good 3D drawings. For more information, see the LibreOffice Draw Guide.

Create a 3D object in LibreOffice Draw using one of the following methods:

Working with layers

Using layers when creating complex drawings makes a drawing easier to navigate and edit. Placing a simpler drawing that is part of a complex drawing into its own layer makes editing easier. Any area of a layer that does not contain a drawing object is transparent and does not obscure any part of a complex drawing. Any number of layers can be added to a drawing. For more information on layers, see the LibreOffice Draw Guide.

A drawing in LibreOffice contains three default layers that cannot be deleted or renamed:

A layer can be set to one or all of the following attributes:

To quickly toggle the attributes for a selected layer, use the following keyboard shortcuts:

Adding layers

  1. Use one of the following methods to open the Insert Layer dialog (Figure 45):

  1. Enter a meaningful Name, Title, and Description for the new layer in the text boxes.

  2. Select Visible if the layer is to be visible in a drawing. When Visible is not selected, the layer is hidden and its name in the layer tab changes color to blue.

  3. Select Printable if the layer is to be printed when a drawing is printed. Not printing is useful if a draft layer is required for guides or annotations that are used in making a drawing, but do not appear in the final output. The name of a layer is underlined in the layer tab bar when the Printable option is turned off.

  4. Select Locked to prevent any objects on this layer from deletion, editing, or moving. No additional objects can be added to a locked layer. Locking a layer is useful, for example, when a base plan is to be protected while adding a new layer with other details. The name of a locked layer is written in Italics in the layer tab bar.

  5. Click OK to create the new layer and close the Insert Layer dialog. A new layer automatically becomes active when added to a drawing.

Figure 45: Insert Layer dialog

Insert Layer dialog

Layers are added to the drawing in the order that they were inserted. The layer order cannot be changed.

Modifying layers

  1. To modify a layer, use one of the following methods to open the Modify Layers dialog, which is similar in layout and options to the Insert Layers dialog.

  1. Make the required changes to the layer, then click OK to save the changes and close the Modify Layers dialog.

Selecting colors

Colors are selected using a Color palette, the Area and Line panels on the Properties deck of the Sidebar, and tools on the Line and Filling, and Drawing toolbars.

For a more detailed description of the options available for Color palettes and custom colors, as well as more information on the difference between the CMYK and RGB Color schemes, refer to the LibreOffice Draw Guide.

Color palette

The Color Palette allows quick selection of a color for an area, background, or lines of selected objects in a drawing. To display the Color Palette (Figure 46), go to View > Color Bar on the Menu bar. To close the Color Palette, go to View on the Menu bar and deselect Color Bar.

Figure 46: Color Palette (Color Bar)

Color Palette (Color Bar)

Sidebar color

In the Area and Line panels in the Properties deck on the Sidebar (Figure 47), the color of an area or line of a selected object can be changed.

Figure 47: Area and Line panels in Properties deck on Sidebar

Area and Line panels in Properties deck on Sidebar

  1. Select an object in a drawing.

  2. Click on Properties on the Sidebar. In the Properties deck, open the Area and/or Line panels by clicking on the triangle ▼ on the panel title bar.

  3. Change the color of an area in the Area panel as follows:

  1. Select Color in the Fill drop-down list.

  2. Click on the triangle ▼ next to the Fill Color box to open a drop-down list of available color palettes.

  3. Select the required color palette from the options available.

  4. Click on the required color to change the area color.

  1. Change the color of a line in the Line panel as follows:

  1. Click on the triangle ▼ next to the Line Color box to open a drop-down list of available color palettes.

  2. Select the required color palette from the options available.

  3. Click on the required color to change the line color.

Toolbar color change

The Line and Filling, and Drawing toolbars have similar tools that can be used to change the color of an area (fill) or line — Fill Color and Line Color. These tools are used in a similar way as changing colors using the Area and Line panels on the Properties deck of the Sidebar.

Adding comments to a drawing

Adding comments to a drawing uses a similar process to the one used in Writer and Calc. For more about adding, navigating, and replying to comments, see Chapter 4, Getting Started with Writer.

Figure 48: Example of inserting comments

Example of inserting comments

Before using comments, make sure that name and initials are entered into Tools > Options > LibreOffice > User Data (macOS LibreOffice > Preferences > LibreOffice > User Data). The name and initials then appears in the comment marker and in the author field of the comment.

If more than one person edits the document, each author is automatically allocated a different background color. Go to View > Comments on the Menu bar to show or hide the comment markers.

  1. Go to Insert > Comment on the Menu bar. A small box containing the user initials appears in the upper left-hand corner of the drawing with a larger text box beside it (Figure 48). Draw automatically adds the name and the date at the bottom of this text box.

  2. Type or paste comments into the text box.

  3. If necessary, click and drag the small comment markers to move the comment to a different position on the drawing. Normally, the comment marker is placed on or near the object referred to in the comment.

  4. Right-click on the comment and choose an option from the context menu to carrying out the following:

Contents