New FileUtil::makeRelativeIfInDir func; label parser_3 barcode map; unit tests

This commit is contained in:
gitlost
2019-08-26 03:00:32 +01:00
parent e8daa8aa48
commit 7e44bbdc06
37 changed files with 2613 additions and 55 deletions
@@ -0,0 +1,5 @@
Name,Department,SN
"Jim Kirk",Management,"SC937-0176 CEC"
"Mr. Spock",Sciences,S179-276SP
"Leonard McCoy",Medicine,unknown
"Montgomery Scott",Engineering,SE-197-54T
1 Name Department SN
2 Jim Kirk Management SC937-0176 CEC
3 Mr. Spock Sciences S179-276SP
4 Leonard McCoy Medicine unknown
5 Montgomery Scott Engineering SE-197-54T
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<Glabels-document version="4.0">
<Template part="5395" size="US-Letter" description="Name Badge Labels" brand="Avery">
<Label-rectangle x_waste="4.5pt" round="13.5pt" height="168pt" width="243pt" id="0" y_waste="4.5pt">
<Markup-margin size="4.5pt"/>
<Layout nx="2" x0="49.5pt" ny="4" y0="42pt" dx="270pt" dy="180pt"/>
</Label-rectangle>
</Template>
<Objects rotate="false" id="0">
<Object-text shadow="false" shadow_y="0pt" x="10.8434pt" font_weight="bold" font_italic="false" a3="1" font_size="12" shadow_color="0x0" shadow_x="0pt" w="166.75pt" a0="1" color="0x3366ffff" font_family="Sans" font_underline="false" y="18.9pt" align="left" wrap="word" a2="0" valign="top" a5="0" lock_aspect_ratio="false" line_spacing="1" h="25pt" a1="0" shadow_opacity="1" auto_shrink="false" a4="0">
<p>Hello, my name is</p>
</Object-text>
<Object-text shadow="false" shadow_y="0pt" x="10.8434pt" font_weight="normal" font_italic="false" a3="1" font_size="15" shadow_color="0x0" shadow_x="0pt" w="103.125pt" a0="1" color="0xff" font_family="Sans" font_underline="false" y="46.44pt" align="left" wrap="word" a2="0" valign="top" a5="0" lock_aspect_ratio="false" line_spacing="1" h="30pt" a1="0" shadow_opacity="1" auto_shrink="false" a4="0">
<p>${Name}</p>
</Object-text>
<Object-text shadow="false" shadow_y="0pt" x="10.8434pt" font_weight="normal" font_italic="false" a3="1" font_size="8.25" shadow_color="0x0" shadow_x="0pt" w="167.172pt" a0="1" color="0xff" font_family="Sans" font_underline="false" y="82.08pt" align="left" wrap="word" a2="0" valign="top" a5="0" lock_aspect_ratio="false" line_spacing="1" h="20pt" a1="0" shadow_opacity="1" auto_shrink="false" a4="0">
<p>Department: ${Department}</p>
</Object-text>
<Object-barcode data="${SN}" style="code39" a4="0" w="221pt" text="true" a0="1" x="10.8434pt" y="100.44pt" checksum="true" a5="0" h="61pt" a2="0" lock_aspect_ratio="false" backend="" color="0xff" a1="0" a3="1"/>
</Objects>
<Merge type="Text/Comma/Line1Keys" src="crew-orientation-list.csv"/>
<Data/>
</Glabels-document>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

@@ -0,0 +1,12 @@
f324889a1
4f0784627
46c71845f
67a9a5b65
5d0ba16ab
517b1274f
2fe53379b
117a5b049
c2a967c2d
963b9900a
e584dd38f
7bb8b8746
1 f324889a1
2 4f0784627
3 46c71845f
4 67a9a5b65
5 5d0ba16ab
6 517b1274f
7 2fe53379b
8 117a5b049
9 c2a967c2d
10 963b9900a
11 e584dd38f
12 7bb8b8746
File diff suppressed because one or more lines are too long