From: Jim Evins Date: Sun, 30 May 2010 03:57:43 +0000 (-0400) Subject: Added page on skipping empty address fields. X-Git-Tag: glabels-2_3_1~182 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a502e49f1219d69fdd1a9ac38263cdbb05f2944;p=glabels Added page on skipping empty address fields. --- diff --git a/help/C/about.page b/help/C/about.page index d32babd6..2208fd70 100644 --- a/help/C/about.page +++ b/help/C/about.page @@ -37,7 +37,7 @@

This program is distributed under the terms of the GNU General Public license as published by the Free Software - Foundation; either version 2 of the License, or (at your option) + Foundation; either version 3 of the License, or (at your option) any later version. A copy of this license can be found at this link, or in the file COPYING included with the source code of this program.

diff --git a/help/C/figures/skip-fields-output.png b/help/C/figures/skip-fields-output.png new file mode 100644 index 00000000..1cdf3da1 Binary files /dev/null and b/help/C/figures/skip-fields-output.png differ diff --git a/help/C/figures/skip-fields-screenshot.png b/help/C/figures/skip-fields-screenshot.png new file mode 100644 index 00000000..78ddb9b4 Binary files /dev/null and b/help/C/figures/skip-fields-screenshot.png differ diff --git a/help/C/skipfields.page b/help/C/skipfields.page new file mode 100755 index 00000000..d7030ab8 --- /dev/null +++ b/help/C/skipfields.page @@ -0,0 +1,57 @@ + + + + + + + How to skip blank address lines when doing a document merge. + + + Jim Evins + evins@snaught.com + + + Mario Blättermann + mariobl@gnome.org + + +

Creative Commons Share Alike 3.0

+
+
+ + Skipping blank address lines + +

This feature can be best described by a simple example. In the + following CSV file, column 5 (ADDR2) contains the second address line + for each record. This field is empty in records 1 and 2, but not in + record 3. (For this feature to work, the field must be completely + empty -- any text, including spaces will defeat this feature.)

+ + + LAST,FIRST,MI,ADDR1,ADDR2,CITY,STATE,ZIP + Summers,Joyce,,"1630 Revello Dr",,Sunnydale,CA,95037 + McGarret,Steve,O,"404 Piikoi Street",,Honolulu,HI,96813 + Kramer,Cosmo,,"Apt 5B","129 W. 81 St.","New York",NY,10024-7207 + + +

In the following screenshot, a single multiline text object has been + created to format these addresses. Notice that ${ADDR2} representing + the second address line is on a line by itself. (Any additional text + on this line, including spaces would defeat this feature.)

+ + +

Multi-line address

+
+ +

Printing this label results in the following output. Notice that the + line containing the ${ADDR2} field is completely skipped for the first + two records, without printing a blank line.

+ + +

Output

+
+ +