<section id="object-editor-shadow">
- <title>Shadow Tabbed Section (All except image and barcode objects)</title>
+ <title>Shadow Tabbed Section (All except barcode objects)</title>
<p>This section contains controls to add a shadow to an object.</p>
<guiseq> <gui>Objects</gui>
<gui>Merge Properties</gui> </guiseq> menu item to display
the <gui>merge properties</gui> dialog. We use this dialog to
- select the source type (in our case CSV) and the merge source (filename) as
- shown.</p>
+ select the source type (in our case CSV with keys on line 1) and the merge
+ source (filename) as shown.</p>
<!-- ==== Figure ==== -->
<media type="image" src="figures/merge-ex1-1.png" mime="image/png" style="right">
</media>
<!-- ==== End of Figure ==== -->
- <p>Before applying the merge source, we uncheck the first record since it is only
- column headers from our original <app>gnumeric</app> spreadsheet
- and would simply waste our first label. We could also unselect any other records
- that we didn't want to print a label for.</p>
-
<p>We can also view each record in more detail by clicking on the appropriate
expander (the little triangles) as shown. Once we are satisfied with the
selections in this dialog we click <gui>OK</gui> to accept the
<p>In this example we have added three text objects and a barcode object. The
first text object contains only simple literal text ("Hello, my name is"). The
- second text object contains a single merge field ("${1}") corresponding to the
+ second text object contains a single merge field ("${Name}") corresponding to the
first field of a record (first column of a line) which contains the new crew
member's full name. The third text field contains both literal text
- ("Department: ") followed by a single merge field ("${2}") corresponding to
+ ("Department: ") followed by a single merge field ("${Department}") corresponding to
the second field or the crew member's department. The barcode object is
- configured to use field (or key) "3" which contains our crew member's
+ configured to use field (or key) "SN" which contains our crew member's
starfleet serial number.</p>
<p>Now we can print our name tags by selecting the
<guiseq> <gui>Objects</gui>
<gui>Merge Properties</gui> </guiseq> menu item to display
the <gui>merge properties</gui> dialog. We use this dialog to
- select the source type (in our case CSV) and the merge source (filename) as
- shown.</p>
+ select the source type (in our case CSV with keys on line 1) and the merge
+ source (filename) as shown.</p>
<!-- ==== Figure ==== -->
<media type="image" src="figures/merge-ex2-1.png" mime="image/png" style="right">
</media>
<!-- ==== End of Figure ==== -->
- <p>Before applying the merge source, we uncheck the first record since it is only
- column headers from our original <app>gnumeric</app> spreadsheet
- and would simply waste our first label. We also unselect the second record
- which is empty (an artifact of our original spreadsheet). We could also unselect
+ <p>Before applying the merge source, we uncheck the first record since it only
+ contains empty fields. It is an artifact of our original <app>gnumeric</app> spreadsheet
+ and would simply waste our first label. We could also unselect
any other records that we didn't want to print a label for.</p>
<p>We can also view each record in more detail by clicking on the appropriate
<p>In this example we have a single text object. This text object contains
all of our merge fields organized on multiple lines as a mailing address.
- Notice that fields ${4} and ${5} (corresponding to ADDR1 and ADDR2) are each
+ Notice that fields ${ADDR1} and ${ADDR2} are each
located with no other text on their own lines. When
<app>glabels</app> encounters a field as the only text on
a line, it will not expand the line if the field is empty.</p>
the print dialog as shown below.</p>
<!-- ==== Figure ==== -->
- <media type="image" src="figures/merge-ex2-3.png" mime="image/png" style="right">
+ <media type="image" src="figures/merge-ex3-3.png" mime="image/png" style="right">
<p>Printing address labels</p>
</media>
<!-- ==== End of Figure ==== -->