File: usage-customization.xml

package info (click to toggle)
dia 0.97.3%2Bgit20160930-9
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 54,372 kB
  • sloc: ansic: 155,065; xml: 16,326; python: 6,641; cpp: 4,935; makefile: 3,833; sh: 540; perl: 137; sed: 19
file content (372 lines) | stat: -rw-r--r-- 14,923 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<chapter label="9" id="usage-customization">
  <title>Customization</title>
  <sect1 id="prefs">
    <title>Preferences Dialog</title>
    <para>
      <application>Dia</application> allows you to set a number of 
      customization options that modify how the program works.
      These options are set by selecting the 
      <menuchoice>
        <guimenu>File</guimenu>
        <guimenuitem>Preferences</guimenuitem>
      </menuchoice> 
      from the <interface>Toolbox Menu Bar</interface>.  
      This opens the <interface>Preferences</interface> dialog. This 
      dialog has tab panes grouping related preferences like: User Interface, 
      Diagram Defaults, View Defaults and Grid Lines. 
    </para>  
    <para>
      After you have made all the changes you want, click on
      <guibutton>OK</guibutton> to apply the changes and close the
      <interface>Preferences</interface> dialog. To cancel the changes and return
      to previous values, click the <guibutton>Close</guibutton> button. You may
      preview the effect of your changes using the Apply
      button.
    </para>
    <sect2 id="user-interface">
      <title>User Interface</title>
      <para>
        <figure>
          <title><interface>User Interface</interface></title>
          <screenshot>
            <screeninfo><interface>User Interface</interface> dialog box</screeninfo>
            <graphic format="PNG" fileref="graphics/file-preferences-ui"
                srccredit="Hans Breuer" />
          </screenshot>
        </figure>
      </para>
      <para>
        The User Interface tab pane allows you to change the way
        <application>Dia</application> works. 
        The configurable properties in the User Interface tab are explained below.
      </para>
      <itemizedlist>
        <listitem>
          <para>
            Reset tools after create causes the Modify tool to be selected 
            automatically each time an object has been added to the diagram. This
            allows you to add an object and then use the Modify tool to select objects
            without having to go back to the Toolbox.
          </para>
          <para>
            If the Reset tools button is not checked, 
            then the current object tool will "stick" until another tool is chosen. This 
            is useful if you want to draw many shapes using the same tool repeatedly. 
            However, in this case, you will need to manually select the Modify tool
            in order to select objects.
          </para> 
          <tip>
            <para>
              As an alternative to unchecking this box,  
              you can press the Space key after inserting an object to reselect
              the last object. See <link linkend="adding-objects">Adding Objects</link>
              for more information.
            </para>
          </tip>  
        </listitem>
        <listitem>
          <para>
            Compress saved files provides the option to have Dia XML files 
            compressed into much smaller files using gzip or to leave the Dia XML 
            files as plain text so that they can be more easily edited using other
            software.  
          </para>
        </listitem>
        <listitem>
          <para>
            Number of undo levels customizes how many steps that the undo tool
            remembers.  The higher the number, the more steps you can undo to fix an
            error. However, more undo levels requires more computer memory.
            Setting the undo level to zero allows the program an unlimited 
            number of undo levels, subject to the available computer memory.

          </para>
        </listitem>
        <listitem>
          <para>
            Reverse dragging selects intersecting objects allows you to create 
            selections by area that only need to cover part of the object you 
            want to select. Normally when you select objects by area, 
            you need to create a selection around the whole of the 
            object you want to select in order to select it. Also, normally dragging
            from the top-left to the bottom-right is the same as "reverse dragging" --
            dragging from the bottom-right to the top-left. 
          </para>
          <para>
            If this option is checked, dragging from the bottom-right
            to the top-left allows you to select objects that only partially fall
            into the selection rectangle. Dragging from the top-left to bottom-right
            still works the same -- objects are only selected if the whole object
            is inside the selection rectangle. 
          </para>
          <para>  
            This option gives you two different ways to select by area, depending on
            which way you drag the mouse.
          </para>

        </listitem>
        <!-- The description of Recent Documents is deliberately vague so that it 
   will still make some sense if a submenu for Recent items is added. -->
        <listitem>
          <para>
            Recent Documents list size allows you to set how many items will be shown 
            in the Recent Documents section of the <guimenu>File</guimenu> menu.  
          </para>
        </listitem>
        <listitem>
          <para>
            When Use menu bar is checked, the pull-down menus appear at the  
            top of each Diagram, and the object context menus are accessed
            by right-clicking on a selected object. If this box is unchecked, 
            these menus do not 
            display at the top of the diagram. Instead, these menus are 
            selected by right-clicking on the canvas, and the object context
            menus are selected by middle-clicking (on a three-button mouse) on
            a selected object.
          </para>
          <note>
            <para>
              If you do not have a three-button mouse, you will need to have this 
              box checked. Otherwise, you will not be able to access the object
              context menus.
            </para>
          </note>
        </listitem> 
        <listitem>
          <para>
            Keep tool box on top of diagram windows ensures that the Toolbox window 
            is always in front of all the diagram windows which makes it easier to 
            keep track of and have quick access to the tool at all times.  
          </para>
        </listitem> 

      </itemizedlist>
    </sect2>
    <sect2 id="diagram-defaults">
      <title>Diagram Defaults</title>
      <figure>
        <title>Diagram Defaults</title>
        <screenshot>
          <screeninfo>Diagram Defaults</screeninfo>
          <graphic format="PNG" fileref="graphics/file-preferences-diagram" 
              srccredit="Hans Breuer" />
        </screenshot>
      </figure>  
      <para>
        The Diagram Defaults tab allows you to set default properties for all new
        diagrams. These are explained below.
      </para>
      <itemizedlist>
        <listitem>
          <para>
            Portrait indicates that the diagram is in portrait orientation on the page.
            If this is unchecked, then landscape orientation is assumed.
          </para>
        </listitem> 
        <listitem>
          <para>
            Paper type allows you to select from a list of paper sizes (e.g., A4, Letter, 
            etc.).
          </para>
        </listitem> 
        <listitem>
          <para>
            Background color allows you to set a default background color for all new
            diagrams. See <link linkend="colors">Colors</link> for more information 
            on setting colors.
          </para>
        </listitem> 
        <listitem>
          <para>
            New Window: Width allows you to set default width (in pixels) of 
            the window  when a new diagram is created.
            You can either enter a number manually or
            use the increment / decrement buttons.
          </para>
        </listitem>   
        <listitem>
          <para>
            New Window: Height allows you to set default height (in pixels).
          </para>
        </listitem>   
        <listitem>
          <para>
            New Window: Magnify allows you to set the default zoom value (in
            percent) for a new diagram. You can either enter a number manually or
            use the increment / decrement buttons.
          </para>
        </listitem>   
        <listitem>
          <para>
            Connection Points: Visible determines whether connection points will be
            visible by default on new diagrams. When working with a diagram, 
            this can be toggled on or off using the 
            <menuchoice>
              <guimenu>View</guimenu> <guimenuitem>Show Connection Points</guimenuitem>
            </menuchoice> on the Diagram menu bar.
          </para>
        </listitem>   
      </itemizedlist>
    </sect2>
    <sect2 id="view-defaults">
      <title>View Defaults</title>
      <figure>
        <title>View Defaults</title>
        <screenshot>
          <screeninfo>View Defaults</screeninfo>
          <graphic format="PNG" fileref="graphics/file-preferences-view" 
              srccredit="Hans Breuer" />
        </screenshot>
      </figure>  
      <para>
        This tab allows you to set default properties for the Page break lines.
      </para>
      <itemizedlist>
        <listitem>
          <para>
            Page Breaks: Visible controls whether page break lines will be visible.
          </para>
        </listitem> 
        <listitem>
          <para>
            Color allows you to select the default color of the page break lines. 
            This can be changed for a single diagram using the Colors tab on the
            <menuchoice>
              <guimenu>
                Diagram
              </guimenu>
              <guimenuitem>
                Properties
              </guimenuitem>
            </menuchoice> menu choice from the Diagram menu bar.
          </para>
        </listitem> 

        <listitem>
          <para>
            Solid lines determines whether the page break lines appear as solid
            lines or as dashed lines.
          </para>
        </listitem> 
      </itemizedlist>



    </sect2>
    <sect2 id="preferences-favorites">
      <title>File export favorites</title>
      <para>
        When exporting files there are often multiple filters capable to save to one format. 
        This preference allows to choose the one used, when not explicit selected in the file 
        export dialog, i.e. <menuchoice><guimenuitem>By extension</guimenuitem></menuchoice> gets used.
      </para>
      <figure>
        <title>File export favorites</title>
        <screenshot>
          <screeninfo>File export favorites</screeninfo>
          <graphic format="PNG" fileref="graphics/file-preferences-favorites" srccredit="Hans Breuer" />
        </screenshot>
      </figure>
    </sect2>

    <sect2 id="preferences-gridlines">
      <title>Grid Lines</title>

      <figure>
        <title>Grid Lines</title>
        <screenshot>
          <screeninfo>Grid Lines</screeninfo>
          <graphic format="PNG" fileref="graphics/preferences-gridlines" srccredit="Hans Breuer" />
        </screenshot>
      </figure>  
      <para>
        This tab allows you to set default properties for Grid Lines. These may
        be changed for an individual diagram by selecting the 
        <menuchoice>
          <guimenu>Diagram</guimenu>
          <guimenuitem>Properties</guimenuitem>
        </menuchoice> from the Diagram menu bar and then selecting
        the Grid tab.  These options are explained below.
      </para>
      <itemizedlist>
        <listitem>
          <para>
            Visible determines whether, by default, grid lines will be visible on new diagrams.
          </para>
        </listitem> 
        <listitem>
          <para>
            Snap to determines whether, by default, new diagrams will have snap-to-grid
            enabled. Snap-to-grid forces object edges to move to the nearest grid line 
            intersection.  
            This makes it easier to align objects, as separate objects
            snap to the same line. This feature can be toggled on or off using the
            snap-to-grid button on the bottom of the Toolbox. 
            See <link linkend="gridlines">Canvas / Grid Lines</link> for more information. 
            This can also be toggled using the
            <menuchoice>
              <guimenu>View</guimenu>
              <guimenuitem>Snap To Grid</guimenuitem>
            </menuchoice> option on the Diagram menu bar. 
          </para>
        </listitem> 
        <listitem>
          <para>
            Dynamic grid resizing determines whether the grid size changes as the 
            diagram is zoomed in or out. If this box is checked, then the grid lines
            display as the same size no matter how the diagram zoom is changed. 
            In this case, the X Size and Y Size values have no effect. 
          </para>
          <para>
            If this box is unchecked, then the grid size is set in absolute terms according to
            the X Size and Y Size values (in centimeters). In this case, the appearance 
            of the grid will change as the zoom changes, so the grid lines will 
            move closer when you zoom out and will spread out as you zoom in. 
          </para>
        </listitem>    
        <listitem>
          <para>
            X Size determines the distance, in centimeters, between grid lines
            along the horizontal axis. This only
            takes effect if Dynamic grid resizing is unchecked.
          </para>
        </listitem> 
        <listitem>
          <para>
            Y Size determines the distance, in centimeters, between grid lines
            along the vertical axis. This only
            takes effect if Dynamic grid resizing is unchecked.
          </para>
        </listitem> 

        <listitem>
          <para>
            Color sets the display color of the grid lines.   
          </para>
        </listitem> 

        <listitem>
          <para>
            Lines per major line determines the spacing of major (i.e., solid) 
            grid lines. For example, a value of 5 means that every 5th grid line
            is solid.   
          </para>
        </listitem>   
        <listitem>
          <para>
            Hex grid allows you to have a grid of hexagons instead of a rectangular
            grid.
          </para>
        </listitem> 
        <listitem>
          <para>
            Hex size determines the size of the hexagons, in centimeters, in the 
            hex grid. This option only applies if Hex grid is checked.
          </para>
        </listitem> 
      </itemizedlist>

    </sect2>

  </sect1>
</chapter>