Getting Started Guide 7.5
Chapter 7,
Getting Started with Draw
Vector Drawing in LibreOffice
This document is Copyright © 2023 by the LibreOffice Documentation Team. Contributors are listed below. This document maybe 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 for this edition:
Peter Schofield
Nay Catina Dia-Schneebeli
Contributors for previous editions:
Claire Wood
Dave Barton
Hazel Russman
Kees Kriek
Olivier Hallot
Peter Schofield
Ron Faile Jr.
Skip Masonsmith
Please direct any comments or suggestions about this document to the Documentation Team 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.
Note
Everything sent to a forum or mailing list, including email addresses and any other personal information that is written in the message, is publicly archived and cannot be deleted.
Published March 2023. Based on LibreOffice 7.5 Community.
Other versions of LibreOffice may differ in appearance and functionality.
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.
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 |
|
Alt |
⌥ and/or Alt or Option depending on keyboard |
Used with other keys |
F11 |
⌘+T |
Open the Styles deck in the Sidebar |
LibreOffice Draw is a vector graphics drawing program, although it can also perform some operations on raster graphics (pixels). Using Draw, a wide variety of graphical images can easily and quickly be created.
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 scaling of the image.
Draw is fully integrated into the LibreOffice suite, and this simplifies exchanging graphics with all components of the LibreOffice suite. If an image is created in Draw, reusing it in a Writer document is relatively easy. For example, select and copy the drawing in Draw and then paste the image directly into a Writer document. Also, drawings can be worked on directly from within Writer or Impress, using a subset of the functions and tools from Draw.
The functionality of LibreOffice Draw is extensive. Draw was not designed to rival high-end graphics applications, but it possesses more functionality than the drawing tools that are generally integrated with the majority of office productivity suites. A few examples of the drawing functions are as follows:
Layer management;
Magnetic grid-point system;
Dimensions and measurement display;
Connectors for making organization charts and other diagrams;
3D functions for creating small three-dimensional drawings;
Drawing and page-style integration;
Bézier curves.
This chapter introduces some features of Draw, but it does not attempt to cover all of the Draw features. See the Draw Guide and LibreOffice Help for more information.
The large area in the center of the Draw 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 the visible tools vary with the task in hand, user preferences, and computer setup.
The maximum size of a drawing page in Draw is limited by the computer setup and the page size that that can be set and used in the printer connected to the computer.
Drawings can be split over several pages. Multi-page drawings are used mainly for presentations. The Pages pane on the left side of the Draw main window provides an overview of the pages that are created in a drawing. If the Pages pane is not visible, go to View > Page Pane on the Menu bar. The Pages pane is also used to make changes to the page order by dragging and dropping one or more pages.
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). These default layers cannot be deleted or renamed, but layers can be added when necessary.
Figure 1: Draw main window
Pages pane
Workspace
Sidebar
Status bar
Layers bar
Tabs for default and other layers appear in the Layers bar at the bottom of the Workspace. The Layers bar can be used to navigate between layers, add layers as required, or delete layers that have been added. For more information, see “Working with layers” on page 1.
The Sidebar in Draw is similar to the Sidebar in the other LibreOffice components. In Draw, it has five main decks. To open a deck, click on its icon on the right of the Sidebar, or click on the Sidebar Settings icon at the top of the tab bar and select a deck in the drop-down list. If the Sidebar is not visible, go to View > Sidebar on the Menu bar.
Properties
Styles
Gallery
Navigator
Shapes
Rulers are positioned on the upper and left-hand sides of the Workspace. If the rulers are not visible, go to View > Rulers on the Menu bar. The rulers show the size of a selected object using double lines (highlighted in Figure 2). Also the rulers can be used to manage object handles and guide lines when positioning objects.
The page margins in the drawing area are also represented on the rulers. The margins can be changed directly on the rulers by dragging the margins with the cursor. The margin areas are indicated by the grayed-out area on the rulers (Figure 2).
To change the measurement units of the rulers, right-click on a ruler and select the measurement unit in the drop-down list, as shown in Figure 3 for the horizontal ruler. The horizontal and vertical rulers can be set to different measurement units.
The Status bar (Figure 4) is located at the bottom of the Workspace in all LibreOffice components. It includes several Draw-specific fields. For details on the contents and use of these fields, see Chapter 1, LibreOffice Basics, in this guide and the Draw Guide. To hide the Status Bar, go to View on the Menu bar and deselect Status Bar.
Note
The measurement units shown on the Status Bar are set by going to Tools > Options > LibreOffice Draw > General on the Menu bar. These units may be different to the measurement units set for the rulers.
Figure 2: Rulers showing object size
Figure 3: Ruler measurement units
Figure 4: Status bar
Slide (drawing) number
Information area
Master drawing
Cursor position
Selected object size
Scaling factor of the document
Unsaved changes
Digital signature
Fit drawing
Zoom slider
Zoom percentage
To display or hide the various Draw toolbars, go to View > Toolbars on the Menu bar and select a toolbar from the drop-down menu. For more information on toolbars, see the 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 three main toolbars used in Draw are:
Standard — this toolbar is similar for all LibreOffice components. By default it is docked at the top of the Workspace when a Draw document is opened (Figure 5)
Figure 5: Standard toolbar
Drawing — this toolbar 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 Workspace (Figure 6).
Figure 6: Drawing toolbar
Line and Filling — this toolbar is normally docked at the top of the Workspace below the Standard toolbar. The tools and pull-down lists on this toolbar vary according to the type of object selected. The Line and Filling toolbar (Figure 7) only becomes active when an object on the Workspace is selected.
Figure 7: Line and Filling toolbar
Draw provides a wide range of shapes, located in palettes accessed on the Drawing toolbar, or in the Shapes deck on the Sidebar (Figure 8). See the Draw Guide for a complete description of the basic shapes available.
Some of the tool icons on the Drawing toolbar change according to the shape that has been selected. Also, some tools on a toolbar have extra tool palettes available and these are indicated by a triangle ▼ to the right of the tool icon.
Note
When drawing a basic shape, or selecting one for editing, the Information field in the Status bar changes to reflect the present action, for example Line created, Text frame xxyy selected, and so on.
1) Use one of the following methods to start drawing a line:
Click on Insert Line on the Drawing toolbar.
Click the triangle ▼ on the right of Lines and Arrows on the Drawing toolbar and select Insert Line in the drop-down list.
Click on Insert Line in the Lines and Arrows panel of the Shapes deck on the Sidebar (Figure 8).
2) Place the mouse pointer at the starting point on the drawing, then click and drag the pointer to draw a straight line.
Figure 8: Shapes deck on Sidebar
Figure 9: Line starting point
3) Release the mouse button 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 the currently selected object. The selection handle at the starting point of the line is slightly larger than the other selection handle (highlighted in Figure 9).
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:
Go to the Properties deck on the Sidebar and open the Line panel (Figure 10).
Right-click on a line and select Line in the context menu to open the Line dialog (Figure 11).
Go to Format > Line on the Menu bar to open the Line dialog.
Use the tools Line Style, Line Width, and Line Color on the Line and Filling toolbar.
Tips
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 has been selected, the Ctrl key (macOS ⌘) deactivates the snap to grid.
To restrict the drawing angle of a line to a multiple of 45 degrees (0, 45, 90, 135, and so on), 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 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. This draws lines by starting from the center of the line.
Figure 10: Line panel in Properties deck on Sidebar
Figure 11: Line dialog — Line page
Figure 12: Lines and Arrows sub-toolbar
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 sub-toolbar (Figure 12) indicates what type of line, or arrow each tool will draw. The information field on the Status bar shows them only as lines.
1) Use one of the following methods to start drawing an arrow:
Click the triangle ▼ on the right of Lines and Arrows on the Drawing toolbar and select the type of arrow required from the Lines and Arrows sub-toolbar.
Click on the type of arrow required in the Lines and Arrows panel of the Shapes deck on the Sidebar.
2) Place the mouse pointer at the starting point of the arrow, then click and drag the pointer. The arrowhead is drawn when the mouse button is released.
Notes
The tool icon for the Lines and Arrows tool used most recently will be shown on the Drawing toolbar. This makes it easier to use the same tool again.
After drawing a line, or arrow, the line, or arrow style can be changed by opening the Line dialog and using the options available on the Line Styles or Arrow Styles pages.
Figure 13: Basic Shapes sub-toolbar
Figure 14: Legacy Rectangles toolbar
Use one of the following methods to start drawing a rectangle:
Click on Rectangle on the Drawing toolbar.
Click the triangle ▼ on the right of Basic Shapes on the Drawing toolbar and select Rectangle on the Basic Shapes sub-toolbar (Figure 13).
Click on Rectangle in the Basic Shapes panel of the Shapes deck on the Sidebar.
Select the type of rectangle on the Legacy Rectangles toolbar (Figure 14). To display the toolbar, go to View > Toolbars on the Menu bar and select it.
Place the mouse pointer at the starting point for the rectangle, then click and drag the pointer until the required size is drawn. As the rectangle is drawn, the rectangle appears with its bottom right corner attached to the cursor.
To draw a rectangle from its center, position the mouse pointer on the drawing, press the mouse button and then hold down the Alt key (macOS ⌥) while dragging the mouse pointer. The rectangle uses the start point as the center of the rectangle.
Use one of the following methods to start drawing a square:
Click on Rectangle on the Drawing toolbar, then hold down the Shift key while dragging the mouse pointer to draw a square.
Click the triangle ▼ on the right of Basic Shapes on the Drawing toolbar and select Square on the Basic Shapes sub-toolbar (Figure 13).
Click on Square in the Basic Shapes panel of the Shapes deck on the Sidebar.
Select the type of square from the Legacy Rectangles toolbar (Figure 14). To display the toolbar, go to View > Toolbars on the Menu bar and select it.
Place the mouse pointer at the starting point for the square, then click and drag the pointer until the required size is drawn. As the square is drawn, the square appears with its bottom right corner attached to the cursor.
To draw a square from its center, position the cursor on the drawing, press the mouse button and then hold down the Alt key (macOS ⌥) while dragging the mouse pointer. The square uses the start point as the center of the square.
Figure 15: Legacy Circles and Ovals toolbar
1) Use one of the following methods to start drawing an ellipse:
Click on Ellipse on the Drawing toolbar.
Click the triangle ▼ on the right of Basic Shapes on the Drawing toolbar and select Ellipse on the Basic Shapes sub-toolbar (Figure 13).
Click on Ellipse in the Basic Shapes panel of the Shapes deck on the Sidebar.
Select the type of ellipse on the Legacy Circles and Ovals toolbar (Figure 15). To display the toolbar, go to View > Toolbars on the Menu bar and select it.
2) Place the mouse pointer at the starting point for the ellipse, then click and drag the pointer until the required size is drawn. As the ellipse is drawn, the ellipse appears with its bottom right corner attached to the cursor.
3) To draw an ellipse from its center, position the mouse pointer on the drawing, press the mouse button and then hold down the Alt key (macOS ⌥) while dragging with the pointer. The ellipse uses the start point as the center of the ellipse.
1) Use one of the following methods to start drawing a circle:
Click on Ellipse on the Drawing toolbar, then hold down the Shift key while dragging the cursor to draw a circle.
Click the triangle ▼ on the right of Basic Shapes on the Drawing toolbar and select Circle on the Basic Shapes sub-toolbar (Figure 13).
Click on Circle in the Basic Shapes panel of the Shapes deck on the Sidebar.
Select the type of circle on the Legacy Circles and Ovals toolbar (Figure 15). To display the toolbar, go to View > Toolbars on the Menu bar and select it.
2) Place the mouse pointer at the starting point for the circle, then click and drag the pointer until the required size is drawn. As the circle is drawn, the circle appears with its bottom right corner attached to the cursor.
3) To draw a circle from its center, position the mouse pointer on the drawing, press the mouse button and then hold down the Alt key (macOS ⌥) while dragging with the pointer. The circle uses the start point as the center of the circle.
Tip
To quickly insert a line, rectangle, ellipse, or circle, press and hold down the Ctrl key (macOS ⌘) and then click on one of the icons for Line, Rectangle, Ellipse, or Circle and a standard sized object is drawn automatically in the center of the Workspace. The size, shape, and color are all standard values. These attributes can be changed later, if desired. For more information, see the Draw Guide.
Dimension lines display a measurement of an object in the drawing (Figure 16). The dimension line does not belong to the object itself, but it is normally placed close to it.
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.
Click on Dimension Line in the Lines and Arrows panel of the Shapes deck on the Sidebar.
Place the mouse pointer close to the object to position the start of the dimension line.
Figure 16: Example of object dimension lines
Figure 17: Dimension Line dialog
Click and drag the mouse pointer 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.
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 17).
Select the required options in Line and Legend, then click OK to save the changes and close the Line Dimension dialog.
Use one of the following methods to start drawing a curve:
Click the triangle ▼ on the right of Curves and Polygons on the Drawing toolbar and select the type of curve on the Curves and Polygons sub‑toolbar (Figure 18).
Click on the type of curve required in the Curves and Polygons panel of the Shapes deck on the Sidebar.
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.
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.
Note
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.
1) Use one of the following methods to start drawing a polygon:
Click the triangle ▼ on the right of Curves and Polygons on the Drawing toolbar and select the type of polygon on the Curves and Polygons sub‑toolbar (Figure 18).
Click on the type of polygon required in the Curves and Polygons panel of the Shapes deck on the Sidebar.
2) Click and hold the left mouse button to create the starting point of the polygon, then drag from the starting point to draw a line.
Figure 18: Curves and Polygons sub-toolbar
3) Release the mouse button and continue to drag the cursor to draw the next line for polygon, then click to mark the end point of the line and to start drawing another line. Holding the Shift key down while drawing lines restricts the angles used in the polygon to 45° or 90°.
4) Double-click to set the end point of the polygon and fix the polygon on the drawing. A filled polygon automatically joins the last point to the first point, closing the polygon and filling it with the selected fill Color. A polygon without fill will not be closed at the end of drawing the polygon.
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, and if required, hold down the Shift key as the line is drawn so that the line is drawn 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 color.
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:
Click the triangle ▼ on the right of Curves and Polygons on the Drawing toolbar and select the type of free-form line on the Curves and Polygons sub-toolbar (Figure 18).
Click on the type of free-form line required in the Curves and Polygons panel of the Shapes deck on the Sidebar.
2) Click and drag the mouse pointer to create the free-form line shape required.
3) Release the mouse button 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 color.
All Draw objects have glue points, which are not normally displayed. Glue points (Figure 20) become visible on an object when a connector is selected on the Drawing toolbar or in the Shapes deck on the Sidebar.
Most objects have four glue points (Figure 20). More glue points can be added and customized using the Gluepoints toolbar (Figure 19). 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 glue points, see the Draw Guide.
Glue points are not the same as the selection handles of an object. Selection handles are for moving or changing the shape of an object. Glue points are used to fix or glue a connector to an object so that when the object moves, the connector stays fixed to the object.
Figure 19: Gluepoints toolbar
Figure 20: Example of object gluepoints
Figure 21: Connectors sub-toolbar
Figure 22: Example of connector between two objects
Connectors are lines or arrows whose ends automatically snap to a glue point 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 glue point. Figure 22 shows an example of using two objects and a connector. For a more detailed description of the use of connectors, see the Draw Guide.
Use one of the following methods to select a connector:
Click the triangle ▼ on the right of Connectors on the Drawing toolbar and select the type of connector on the Connectors sub-toolbar (Figure 21).
Click on the type of connector required in the Connectors panel of the Shapes deck on the Sidebar.
Move the mouse pointer over one of the objects to be connected. Small crosses (the glue points) appear around the object edges. Click on the required glue point for the start of the connector, then drag the mouse pointer to drag the connector to another object.
When the mouse pointer is over a glue point of the target object, release the mouse button and the connector is drawn. The connector end point is attached to the glue point.
Geometric shapes are similar to basic shapes. They are provided in 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:
Click on Shapes on the Sidebar to open the Shapes deck, then choose from the geometric shapes available.
Click the triangle ▼ on the right of a geometric shape on the Drawing toolbar to open a sub-toolbar giving access to more geometric shape tools.
Using geometric shapes is similar to drawing rectangles, squares, ellipses, or circles as explained in “Drawing basic shapes” on page 1. Text can be added to all geometric shapes. See “Adding and formatting text” on page 1 and the Draw Guide.
The Basic Shapes sub-toolbar (Figure 23) also includes rectangle and ellipse tools that are identical to the ones displayed on the Drawing toolbar.
Figure 23: Basic Shapes sub-toolbar
Basic shapes numbered from left to right
Rectangle
Rectangle, Rounded
Square
Square, Rounded
Parallelogram
Trapezoid
Ellipse
Circle
Circle Pie
Circle Segment
Arc
Block Arc
Isosceles Triangle
Right-angle Triangle
Diamond
Regular Pentagon
Hexagon
Octagon
Cylinder
Cube
Folded Corner
Cross
Frame
Ring
Figure 24: Symbol Shapes sub-toolbar
Symbol shapes numbered from left to right
Smiley Face
Heart
Sun
Moon
Cloud
Lightning Bolt
Flower
Prohibited
Puzzle
Square Bevel
Octagonal Bevel
Diamond Bevel
Double Bracket
Left Bracket
Right Bracket
Double Brace
Left Brace
Right Brace
Figure 25: Block Arrows sub-toolbar
Block arrows numbered from left to right
Right Arrow
Left Arrow
Down Arrow
Up Arrow
Left and Right Arrow
Up and Down Arrow
Circular Arrow
S-shaped Arrow
Split Arrow
Right or Left Arrow
4-way Arrow
Corner Right Arrow
Chevron
Pentagon
Striped Right Arrow
Up, Right and Down Arrow
Notched Right Arrow
Up and Right Arrow
Right Arrow Callout
Left Arrow Callout
Down Arrow Callout
Up Arrow Callout
Left and Right Arrow Callout
Up and Down Arrow Callout
4-way Arrow Callout
Up and Right Arrow Callout
Figure 26: Flowchart sub-toolbar
Flowchart shapes from left to right
Process
Alternate Process
Decision
Data
Predefined Process
Internal Process
Document
Multidocument
Terminator
Preparation
Manual Input
Manual Operation
Connector
Off-page Connector
Card
Punched Tape
Summing Junction
Or
Collate
Sort
Extract
Merge
Stored Data
Delay
Sequential Access
Magnetic Disc
Direct Access Storage
Display
Figure 27: Callouts sub-toolbar
Callouts numbered from left to right
Rectangular Callout
Rounded Rectangular Callout
Round Callout
Cloud
Line Callout 1
Line Callout 2
Line Callout 3
Figure 28: Stars and banners sub-toolbar
Stars and banners numbered from left to right
4-Pointed Star
5-Pointed Star
6-Pointed Star
8-Pointed Star
12-Pointed Star
24-Pointed Star
Explosion
Vertical Scroll
Horizontal Scroll
Signet
Door-plate
6-Point Star, Concave
Figure 29: 3D-Objects sub-toolbar
3D objects numbered from left to right
Cube
Sphere
Cylinder
Cone
Pyramid
Torus
Shell
Hemisphere
Figure 30: Text Formatting toolbar
Text can be added to drawings created in 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 Draw Guide.
A text box is an independent Draw object that is dynamic and expands as more text is added within the frame.
An object or shape in a drawing is not dynamic, which means that the boundary rectangle does not expand as text is added. Care must be taken when adding text to prevent the text from extending outside the object or shape boundaries.
Before adding any text to a drawing, text mode has to be activated using one of the following methods. The Text Formatting toolbar (Figure 30) automatically opens when text mode is activated, replacing the Line and Filling toolbar.
For horizontal text, click on Insert Text Box on the Drawing, or Text toolbars to create a text box.
For horizontal text, go to Insert > Text Box on the Menu bar to create a text box.
For horizontal text, use the keyboard shortcut F2 to create a text box.
For vertical text, click on Insert Vertical Text on the Drawing, or Text toolbars to create a vertical text box.
Double-click inside an object on the drawing and the object switches to text mode with a flashing cursor inside the object.
Note
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 Draw Guide.
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 31).
Figure 31: Text information in Status Bar
Click at the approximate position for the text box and a single line text box is created containing a flashing cursor. Start typing the text or paste copied text into the text box. The width of a single line text box increases as text is added.
Click at the approximate position for the text and drag the mouse pointer to the approximate width required for the text box creating a multi-line text box. Start typing the text, or paste copied text into the text box. As the horizontal limit of the text box is reached, the text automatically word wraps inside the text box and the text box expands vertically as it fills.
If necessary, create multiple lines of text in a single-line text box by pressing Enter to create a new paragraph, or using Shift+Enter to create a line break in the text.
2) 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.
3) To format and/or reposition the text box, see the Draw Guide for more information.
By default, Draw is set for horizontal text only. To enable vertical text:
Go to Tools > Options > Language Settings > Languages.
Under Default Languages for Documents, select Asian and accept the default language displayed.
Right-click in a blank area on the Drawing toolbar and select Visible Buttons in the context menu.
Select Insert Vertical Text in the list of available tools to enable vertical text on the Drawing toolbar.
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 can be added to most 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 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 Draw Guide.
Create an object in a drawing and make sure the object is selected with the selection handles displayed.
Enter text mode on a selected object using one of the following methods:
Click on Insert Text Box for horizontal text, or Insert Vertical Text for vertical text on the Drawing, or Text toolbar.
For horizontal text, double-click on the selected object.
For vertical text, double-click on the selected object and click on Insert Vertical Text on the Drawing, or Text toolbar.
Type or paste text into the selected object.
If the text goes outside the object borders, format the text using the various tools on the Text Formatting toolbar, the panels in the Properties deck on the Sidebar, the options in Format on the Menu bar, or the Text page in the Text dialog. For more information on text formatting, see the Draw Guide.
Click outside the object to deselect it ending text mode and saving any changes.
Unordered (bulleted) or ordered (numbered) lists can be created in text boxes and Draw objects. For more information on creating and formatting lists, see the 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:
Click on Toggle Unordered List, or Toggle Ordered List on the Text Formatting toolbar.
Click on Toggle Unordered List, or Toggle Ordered List in the Lists panel in the Properties deck on the Sidebar.
Go to Format > Lists > Unordered List, or Ordered List on the Menu bar.
3) 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 in a drawing can be formatted into columns inside text boxes and objects. However, columns cannot be used on separate parts of text inside a text box or object. The whole of the text box or object has to be used for columns. For more information on text columns, see the Draw Guide.
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:
Right-click in the text box or graphic object and select Text Attributes in the context menu to open the Text dialog, then click on the Text Columns tab to open the Text Columns page,
Click on Columns in the Properties deck on the Sidebar to open the Columns panel.
4) Set the number of columns required in the Number of columns box and the required spacing between the columns in the Spacing box.
5) 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.
6) If necessary, format the text to the drawing requirements.
7) Save the changes and deselect the text box, or graphic object, using one of the following methods:
For the Text dialog, click OK to save the changes and close the dialog, then click outside the text box to deselect it.
For the Columns panel in the Properties deck on the Sidebar, click outside the text box or graphic object to deselect it and save the changes.
8) Click outside the text box, or graphic object, to deselect and save all the changes.
Note
Any text inside a text box, or graphic object automatically flows into column format when the changes are saved.
The easiest way to select an object is to click directly on it. For objects that are not filled, click on the object outline to select it. To select, or deselect, more than one object, hold the Shift key down while clicking on each object.
Several objects can be selected at the same time by clicking and dragging the cursor to draw a selection rectangle (also known as a marquee) around the 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.
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.
Windows, macOS or Linux — press the Tab key to select and cycle through the objects in a drawing, stopping at the hidden object to select it. To cycle through the objects in reverse order, press Shift+Tab.
Windows or macOS only — select the object in front of a hidden object, then press the Alt key (macOS ⌥) and click to select the hidden object. If there are several hidden objects, keep holding down the Alt key (macOS ⌥) and clicking until the object required is reached. To cycle through the objects in reverse order, hold down the Alt+Shift keys (macOS ⌥+Shift) and click.
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:
Select an object, go to Shape > Arrange on the Menu bar, or right-click on the object and select Arrange in the drop-down menu, then choose one of the following options:
Send Backward (Ctrl+-) (macOS ⌘+–)
Send to Back (Ctrl+Shift+-) (macOS ⌘+Shift+–)
In Front of Object
Behind Object
Reverse — clicking on this option reverses the order of the selected objects.
Select an object, then click on one of the Arrange tools, as above, on the Line and Filling toolbar. When hovering the cursor over a tool, its function is indicated.
When positioning or changing the size of an object, check the information area of the Status bar at the bottom of the Draw Workspace (Figure 32). 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. The measurement units are those selected in Tools > Options > LibreOffice Draw > General.
For more information on positioning and adjusting objects, see the Draw Guide.
To help in the positioning and adjustment of objects, 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 Draw Guide.
Figure 32: Object information on left end of Status Bar
Figure 33: Example of moving objects
Figure 34: Example of adjusting object size
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 33).
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 34). When the desired size of the object is reached, release the object.
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.
Note
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.
To rotate or slant an object (or a group of objects), select it and switch to rotation mode using one of the following methods:
Right-click on the object and select Transformations > Rotate in the context menu.
Click on the triangle ▼ on the right of Transformations on the Standard or Line & Filling toolbars and select Rotate.
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.
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).
2) When the object is at the required rotation angle, release the object.
3) 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.
Note
Press the Shift key while rotating or slanting an object and the movement is restricted to 15°.
Figure 35: Transformations toolbar
Figure 36: Example of rotating an object
Figure 37: Example of slanting an object
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.
Select an object so that the selection handles are displayed and flip the object vertically or horizontally using one of the following methods:
Right-click on the object and select Flip > Vertically, or Horizontally, in the context menu.
Go to Shape > Flip > Vertically, or Horizontally, on the Menu bar.
Click on Vertically, or Horizontally, tool on the Line and Filling toolbar.
Use Flip Vertically, or Flip Horizontally, tool in the Position and Size section on the Properties deck of the Sidebar.
However, the Flip tool on the Transformations toolbar (Figure 35) provides greater control over the flipping process. Use the Flip tool to change the position and angle that the object flips over. See the Draw Guide for more information.
Three tools on the Transformations toolbar (Figure 35) allow the dragging of the corners and edges of an object to distort an object.
Distort — distorts an object in perspective.
Set in Circle (perspective) — creates a pseudo 3D effect.
Set to Circle (slant) — creates a pseudo 3D effect. Despite the (slant) in the name of this tool, it operates differently from the slanting created by rotation.
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 Draw Guide for more information on how to distort an object.
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 38.
Figure 38: Example of a dynamic gradient
Figure 39: Example of duplicating objects
Two tools on the Transformations toolbar are used to dynamically control transparency and color gradients — Interactive Transparency and Interactive Gradient. See the Draw Guide for more information on how to create transparencies and gradients in an object.
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 39. For more information on duplication, see the Draw Guide.
1) Click on an object or group of objects and open the Duplicate dialog (Figure 41) using one of the following methods:
Go to Edit > Duplicate on the Menu bar.
Go to Shape > Duplicate on the Menu bar.
Use the keyboard shortcut Shift+F3.
Figure 40: Example of cross-fading two objects
Figure 41: Duplicate dialog
2) Select the required options in Number of copies, Placement, Enlargement, and Colors.
3) Click OK to duplicate the object and close the Duplicate dialog.
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 diamond and an ellipse, the cross-fading produces the result shown by the example in Figure 40.
Figure 42: Cross-fading dialog
1) Select two differently shaped objects and go to Shape > Cross-fading on the Menu bar to open the Cross-fading dialog (Figure 42).
2) In Increments enter the number of shapes between the two objects.
3) Select Cross-fading attributes to apply a gradual change of line and fill properties between the two objects.
4) Select Same orientation to apply a smooth transition between the two objects.
5) Click OK to carry out the cross-fading and close the Cross-fading dialog.
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 in Figure 43. For more information on grouping and combining objects, see the Draw Guide.
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.
Figure 43: Example of grouping and combining objects
Grouped
Combined
A temporary grouping is when several objects are selected using one of the following methods:
While holding down the Shift key, click on each object with the cursor to select it for the temporary group.
Click and drag the cursor to create a rectangle (also known as a marquee) around the objects required for the temporary group.
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.
A permanent grouping of objects can be created after selecting objects using one of the following methods:
Go to Shape > Group > Group on the Menu bar.
Right-click on the selected objects and select Group in the context menu.
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 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:
Go to Shape > Group > Enter Group on the Menu bar.
Right-click on the selected group and select Enter Group in the context menu.
Use the keyboard shortcut F3.
Double-click on the selected group.
When editing is finished on an individual object within a group, use one of the following methods to exit the group:
Go to Shape > Group > Exit Group on the Menu bar.
Right-click and select Exit Group in the context menu.
To ungroup or break apart a permanent group of objects, use one of the following methods after selecting the group:
Go to Shape > Group > Ungroup on the Menu bar.
Right-click and select Ungroup in the context menu.
Use the keyboard shortcut Ctrl+Alt+Shift+G (macOS ⌥+⌘+Shift+G).
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 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 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 43 above.
Go to Shape > Combine on the Menu bar.
Right-click on the objects and select Shapes > Combine in the context menu.
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 Draw Guide for more information on how to use these functions.
In Draw, selected objects can be arranged, aligned, and distributed in relation to each other. See the Draw Guide for more information on arranging and aligning objects.
Arrange the position of an object by moving it either forward or backward in relation to the order of objects.
Align objects with respect to each other using Left, Centered, or Right for horizontal alignment and Top, Center, or Bottom for vertical alignment.
Distribute objects so that the space between each of the objects is the same.
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 Draw Guide.
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:
Directly from a scanner (Insert > Media > Scan on the Menu bar).
Created by another program, for example photographs from a digital camera (Insert > Image on the Menu bar).
The LibreOffice Gallery; see Chapter 5, Working with Images and Graphics.
Draw saves images as drawings in the Open Document Format (odf). To save an image or the entire Draw 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 Draw can export in and save to are listed in Appendix B, Open Source, Open Standards, OpenDocument.
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 Draw 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.
Although 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 Draw Guide.
Create a 3D object in Draw using one of the following methods:
Select a 3D shape in the 3D Objects panel in the Shapes deck on the Sidebar.
Right-click on a 2D object and select Convert > To 3D, or To 3D Rotation Object in the context menu.
Right-click on a 2D object and select Format > 3D Effects on the Menu bar.
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 Draw Guide.
A drawing in LibreOffice contains three default layers that cannot be deleted or renamed:
Layout — is the default Workspace where objects are normally placed when a drawing is created.
Controls — used for form controls that have been assigned an action. Objects on this layer are always in front of objects on other layers.
Dimension Lines — is where the dimension lines are drawn. By switching the layer to show or hide, dimension lines can be switched on or off.
A layer can be set to one or all of the following attributes:
Visible or hidden.
Printable or not printable.
Locked or unlocked.
Figure 44: Insert Layer dialog
To quickly toggle the attributes for a selected layer, use the following keyboard shortcuts:
Shift+click — toggle between a layer being visible or hidden.
Ctrl+click (macOS ⌘+click) — toggle between a layer being locked or unlocked.
Ctrl+Shift+click (macOS ⌘+Shift+click) — toggle between a layer being printed or not printed.
1) Use one of the following methods to open the Insert Layer dialog (Figure 44):
Go to Insert > Layer on the Menu bar.
Right-click on the layer tabs at the bottom of the Workspace and select Insert Layer in the context menu.
2) Enter a meaningful Name, Title, and Description for the new layer in the text boxes.
3) 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.
4) 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.
5) 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.
6) Click OK to create the new layer and close the Insert Layer dialog. A new layer automatically becomes active when added to a drawing.
Note
Layers are added to the drawing in the order that they were inserted. The layer order cannot be changed.
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.
Right-click on the name tab of the layer and select Modify Layer in the context menu.
Double-click on the layer tab.
Go to Format > Layer on the Menu bar.
2) Make the required changes to the layer, then click OK to save the changes and close the Modify Layers dialog.
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.
Note
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 Draw Guide.
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 45), 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.
Left-click on a color to change the area or background color of a selected object.
Right-click on a color to change the color of lines in a selected object.
Left-click on the box with the X at the bottom left of the Color Palette to select no color for the area, or background of a selected object.
Right-click on the box with the X at the bottom left of the Color Palette to select no color for the lines of a selected object.
In the Area and Line panels in the Properties deck on the Sidebar (Figure 46), the Color of an area or line of a selected object can be changed.
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.
Figure 45: Color Palette (Color Bar)
Figure 46: Area and Line panels in Properties deck on Sidebar
3) Change the color of an area in the Area panel as follows:
a) Select Color in the Fill drop-down list.
b) Click on the triangle ▼ next to the Fill Color box to open a drop-down list of available color palettes.
c) Select the required color palette from the options available.
d) Click on the required color to change the area color.
4) Change the color of a line in the Line panel as follows:
a) Click on the triangle ▼ next to the Line Color box to open a drop-down list of available color palettes.
b) Select the required color palette from the options available.
c) Click on the required color to change the line color.
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 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.
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.
1) Go to View > Comments on the Menu bar to show or hide the comment markers.
2) 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 47). Draw automatically adds the name and the date at the bottom of this text box.
3) Type or paste comments into the text box.
Figure 47: Example of inserting a comment
4) 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.
5) Right-click on the comment and choose an option from the context menu to carrying out the following:
Delete the current comment.
Delete all the comments from the same author.
Delete all the comments in the document.
Carry out basic text formatting on the comment.