1 <?xml version="1.0" encoding="utf-8"?>
2 <page xmlns="http://projectmallard.org/1.0/" xmlns:e="http://projectmallard.org/experimental/" type="guide" id="editprop" xml:lang="id">
5 <link type="guide" xref="index#usage"/>
6 <revision pkgversion="3.0" version="0.1" date="2010-05-04" status="incomplete"/>
8 Change the properties of objects.
10 <credit type="author">
11 <name>Jim Evins</name>
12 <email>evins@snaught.com</email>
14 <credit type="author">
15 <name>Mario Blättermann</name>
16 <email>mariobl@gnome.org</email>
19 <p>Creative Commons Share Alike 3.0</p>
23 <title>To edit object properties</title>
25 <section id="glabels-object-properties">
27 <p>Most object properties can be modified through the object
28 editor sidebar, illustrated below. To use the object editor,
29 a single object must first be selected. See
30 <link xref="select"/>.</p>
32 <!-- ==== Figure ==== -->
33 <media type="image" src="figures/object-editor-sidebar.png" mime="image/png" style="right">
34 <p>Kendali Salinan Cetak</p>
36 <!-- ==== End of Figure ==== -->
38 <p>The object editor will contain a subset of the following
39 tabbed sections, depending on object type:</p>
41 <section id="object-editor-text">
42 <title>Text Tabbed Section (Text objects)</title>
44 <p>This section contains a small editor for changing the content
45 of a text object. It also contains a dropdown menu of available
46 document merge keys, that can be inserted into text.</p>
50 <section id="object-editor-image">
51 <title>Image Tabbed Section (Image objects)</title>
53 <p>This section contains a file entry with preview to select
54 image files. The browse button can be used to easily locate
55 image files. Alternatively, a document merge key can be used
56 instead to provide a filename at print time.</p>
60 <section id="object-editor-data">
61 <title>Data Tabbed Section (Barcode objects)</title>
63 <p>This section contains a text entry to enter literal barcode
64 data. Alternatively, a document merge key can be used to
65 provide this data at print time.</p>
69 <section id="object-editor-style">
70 <title>Style Tabbed Section (Text objects)</title>
72 <p>This section contains controls to select text properties,
73 including font family, font size, font weight, color, and
74 text justification.</p>
78 <section id="object-editor-barcode">
79 <title>Style Tabbed Section (Barcode objects)</title>
81 <p>This section contains controls to select barcode properties,
82 including barcode style, color, whether to print text, and whether
83 to include a checksum digit.</p>
87 <section id="object-editor-line">
88 <title>Line Tabbed Section</title>
90 <p>This section contains controls to select properties of lines
91 and outlines. These properties include line width and color.</p>
95 <section id="object-editor-fill">
96 <title>Fill Tabbed Section</title>
98 <p>This section contains controls to select fill properties of box
99 and ellipse objects. Currently the only fill property is fill
104 <section id="object-editor-size">
105 <title>Size Tabbed Section (All except line objects)</title>
107 <p>This section contains controls to select the width and height
108 of an object. A checkbox is provided, so that the current aspect
109 ratio can be locked while manipulating the width and height controls.
110 Image objects also provide a button to reset the size to the
111 image's natural size (Assumes 72DPI).</p>
115 <section id="object-editor-size-line">
116 <title>Size Tabbed Section (Line objects)</title>
118 <p>This section contains controls to select the length and angle
119 of a line object.</p>
123 <section id="object-editor-position">
124 <title>Position Tabbed Section</title>
126 <p>This section contains controls to change the position of an
132 <section id="object-editor-shadow">
133 <title>Shadow Tabbed Section (All except barcode objects)</title>
135 <p>This section contains controls to add a shadow to an object.</p>
142 <!-- ============= Other Manipulations of Objects ========= -->
143 <section id="glabels-object-manipulation">
144 <title>Other Manipulations of Objects</title>
146 <p>Objects can also be manipulated in the following ways.</p>
148 <section id="other-moving-resizing">
149 <title>Moving and Resizing Objects</title>
151 <p>Objects can be moved by simply clicking on a selected
152 object and dragging the object to its new location. If the object
153 is part of an aggregate selection, all objects in the selection
154 will move with the object being dragged, maintaining their relative
155 positions to one another. If no object is selected, clicking on
156 an object will create a new selection containing that object.
157 See <link xref="select"/>.</p>
159 <p>A selected object can be resized by clicking one of its resize
160 handle and dragging it to obtain the new size.</p>
164 <section id="other-stacking-order">
165 <title>Changing Stacking Order</title>
167 <p>Stacking order refers to relative position in the z-axis of
168 objects. That is when objects overlap, which object will appear
169 on top of the other. By default, newer objects will appear above
170 older objects. To change this order, select one or more objects
171 and choose <guiseq> <gui>Objects</gui>
173 <gui>Bring to Front</gui> </guiseq>
174 to raise the selection to the top of the stacking
175 order, or choose <guiseq> <gui>Objects</gui>
177 <gui>Send to Back</gui> </guiseq>
178 to lower the selection to the bottom of the
179 stacking order. These menuitems are also available by right-clicking
180 the display area when there is a non-empty selection.</p>
184 <section id="other-rotating-flipping">
185 <title>Rotating and Flipping Objects</title>
187 <p>Objects can be rotated 90 degrees in either direction, or flipped
188 horizontally or vertically, by choosing the appropriate menuitem
189 in the <guiseq> <gui>Objects</gui>
190 <gui>Rotate/Flip</gui> </guiseq> sub-menu. These
191 menuitems are also available by right-clicking
192 the display area when there is a non-empty selection.</p>
196 This feature could be useful when you are designing CD box inlays. For
197 the spine caption, you need vertical aligned text. After you have created
198 a basic text box, choose <guiseq> <gui>Objects</gui><gui>Rotate/Flip</gui> </guiseq>
199 to rotate the text box according to your needs.
205 <section id="other-alignment">
206 <title>Aligning Objects</title>
208 <p>Objects can be aligned horizontally or vertically, relative to
209 one another, or relative to the center line of the label, by
210 choosing the appropriate menuitem from the <guiseq>
212 <gui>Align Horizontal</gui>
213 </guiseq> or <guiseq> <gui>Objects</gui>
214 <gui>Align Vertical</gui> </guiseq> sub-menus.
215 These menuitems are also available by right-clicking
216 the display area when there is a non-empty selection.</p>
220 <section id="other-property-bar">
221 <title>Using the Property Bar</title>
223 <p>The property bar can be used to change some common properties
224 of objects en-masse. These properties include font family, font
225 size, font weight, text alignment, text color, fill color, line
226 or outline color, and line width. The property bar also controls
227 the defaults for these properties for any newly created objects.