summaryrefslogtreecommitdiffstats
path: root/kugar/samples
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/samples')
-rw-r--r--kugar/samples/Makefile.am4
-rw-r--r--kugar/samples/sample1.kdf33
-rw-r--r--kugar/samples/sample1.ktf152
-rw-r--r--kugar/samples/sample2.kdf49
-rw-r--r--kugar/samples/sample2.ktf240
-rw-r--r--kugar/samples/sample3.kdf36
-rw-r--r--kugar/samples/sample3.ktf165
7 files changed, 679 insertions, 0 deletions
diff --git a/kugar/samples/Makefile.am b/kugar/samples/Makefile.am
new file mode 100644
index 00000000..7b35233f
--- /dev/null
+++ b/kugar/samples/Makefile.am
@@ -0,0 +1,4 @@
+templatedir = $(kde_datadir)/kugar/templates
+template_DATA = sample1.ktf sample2.ktf sample3.ktf sample1.kdf sample2.kdf sample3.kdf
+
+EXTRA_DIST = $(template_DATA)
diff --git a/kugar/samples/sample1.kdf b/kugar/samples/sample1.kdf
new file mode 100644
index 00000000..c695b02b
--- /dev/null
+++ b/kugar/samples/sample1.kdf
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE KugarData [
+ <!ELEMENT KugarData (Row* )>
+ <!ATTLIST KugarData
+ Template CDATA #REQUIRED>
+
+ <!ELEMENT Row EMPTY>
+ <!ATTLIST Row
+ level CDATA #REQUIRED
+ title CDATA #REQUIRED
+ version CDATA #REQUIRED
+ platform CDATA #REQUIRED
+ copies CDATA #REQUIRED>
+]>
+
+<KugarData Template="sample1.ktf">
+ <Row level="0" title=" BRU" version="15.0" platform="x86" copies="1"/>
+ <Row level="0" title=" Caldera Open Linux" version="2.2" platform="x86" copies="3"/>
+ <Row level="0" title=" K Desktop" version="1.1.1" platform="x86" copies="1"/>
+ <Row level="0" title=" Netscape Communicator" version="4.6" platform="x86" copies="10"/>
+ <Row level="0" title=" Redhat Linux" version="5.0" platform="x86" copies="11"/>
+ <Row level="0" title=" Redhat Linux" version="5.1" platform="x86" copies="12"/>
+ <Row level="0" title=" Redhat Linux" version="5.2" platform="x86" copies="14"/>
+ <Row level="0" title=" Redhat Linux" version="6.0" platform="x86" copies="15"/>
+ <Row level="0" title=" Star Office" version="5.0" platform="x86" copies="1"/>
+ <Row level="0" title=" Star Office" version="5.1" platform="x86" copies="3"/>
+ <Row level="0" title=" Microsoft Windows NT" version="3.1" platform="x86" copies="1"/>
+ <Row level="0" title=" Microsoft Windows NT" version="3.51" platform="x86" copies="1"/>
+ <Row level="0" title=" Microsoft Windows NT" version="4.0" platform="x86" copies="1"/>
+ <Row level="0" title=" Microsoft Windows NT" version="5.0" platform="x86" copies="1"/>
+ <Row level="0" title=" Sun Solaris" version="2.5" platform="Sparc" copies="1"/>
+</KugarData>
diff --git a/kugar/samples/sample1.ktf b/kugar/samples/sample1.ktf
new file mode 100644
index 00000000..5cba258d
--- /dev/null
+++ b/kugar/samples/sample1.ktf
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE KugarTemplate SYSTEM "kugartemplate.dtd">
+
+<KugarTemplate PageOrientation="1" TopMargin="40" RightMargin="48" BottomMargin="40" LeftMargin="48" PageSize="2" PageWidth="1100" PageHeight="850">
+ <ReportHeader PrintFrequency="0" Height="70">
+ <Label VAlignment="1" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="0" Y="0" ForegroundColor="0,0,0"
+ Text="Mutiny Bay Software" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="255" BackgroundColor="255,255,255" FontItalic="1"
+ BorderWidth="0" DrawRight="false" DrawBottom="false"
+ FontSize="24" />
+ <Label VAlignment="1" HAlignment="0"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="0" Y="39" ForegroundColor="0,0,0"
+ Text=" Software Inventory Report" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="30"
+ Width="690" BackgroundColor="0,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ </ReportHeader>
+
+ <PageHeader PrintFrequency="1" Height="45">
+ <Label VAlignment="1" HAlignment="0"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="0" Y="15" ForegroundColor="255,255,255"
+ Text=" Title" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="505" BackgroundColor="128,128,128" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="504" Y="15" ForegroundColor="0,0,0"
+ Text="Version" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="50" BackgroundColor="255,255,0" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="553" Y="15" ForegroundColor="0,0,0"
+ Text="Platform" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="60" BackgroundColor="255,255,0" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="612" Y="15" ForegroundColor="0,0,0"
+ Text="# of Copies" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="78" BackgroundColor="255,255,0" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ </PageHeader>
+
+ <Detail Level="0" Height="30" Repeat="false">
+ <Field VAlignment="1" HAlignment="0"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="title" X="0"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="505" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="1" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="version" X="504"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="50" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="platform" X="553"
+ Y="0" ForegroundColor="255,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="60" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="copies" X="612"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="1" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="78" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ </Detail>
+
+ <PageFooter PrintFrequency="1" Height="32">
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="0" Y="0" ForegroundColor="0,0,0"
+ Text="" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="1"
+ Width="690" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="2"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="640" Y="2" ForegroundColor="0,0,0"
+ Text="Page:" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="25" Height="30"
+ Width="30" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Special VAlignment="1" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="0" Y="2" ForegroundColor="0,0,0"
+ Text="[Date]" BorderColor="0,0,0" DateFormat="2"
+ FontFamily="Helvetica" DrawTop="false" FontWeight="25"
+ Height="30" Type="0" Width="90"
+ BackgroundColor="255,255,255" FontItalic="0" BorderWidth="0"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Special VAlignment="1" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="670" Y="2" ForegroundColor="0,0,0"
+ Text="[PageNo]" BorderColor="0,0,0" DateFormat="0"
+ FontFamily="Helvetica" DrawTop="false" FontWeight="25"
+ Height="30" Type="1" Width="20"
+ BackgroundColor="255,255,255" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ </PageFooter>
+
+ <ReportFooter PrintFrequency="2" Height="32">
+ <CalculatedField VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="copies" X="612"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="1" BorderColor="0,0,0"
+ CalculationType="1" DateFormat="0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" InputMask=""
+ Precision="0" Height="31" Width="78"
+ BackgroundColor="255,255,255" Currency="51" FontItalic="0"
+ BorderWidth="0" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ </ReportFooter>
+
+</KugarTemplate>
diff --git a/kugar/samples/sample2.kdf b/kugar/samples/sample2.kdf
new file mode 100644
index 00000000..279cbdce
--- /dev/null
+++ b/kugar/samples/sample2.kdf
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE KugarData [
+ <!ELEMENT KugarData (Row* )>
+ <!ATTLIST KugarData
+ Template CDATA #REQUIRED>
+
+ <!ELEMENT Row EMPTY>
+ <!ATTLIST Row
+ level CDATA #REQUIRED
+ prddesc CDATA #REQUIRED
+ prdnumber CDATA #REQUIRED
+ onsale CDATA #REQUIRED
+ price CDATA #REQUIRED
+ onhand CDATA #REQUIRED
+ reorder CDATA #REQUIRED
+ lastorder CDATA #REQUIRED>
+]>
+
+<KugarData Template="sample2.ktf">
+ <Row level="0" prddesc="Category 5 HD Jacks (Black)" prdnumber="DCO245OB" onsale="Y" price="5.99" onhand="-100" reorder="100" lastorder="02/25/2000" />
+ <Row level="0" prddesc="Category 5 HD Jacks (Blue)" prdnumber="DCO245OWB" onsale="Y" price="5.99" onhand="534" reorder="100" lastorder="02/25/2000" />
+ <Row level="0" prddesc="Category 5 HD Jacks (Gray)" prdnumber="DCO245OG" onsale="Y" price="5.99" onhand="856" reorder="100" lastorder="02/25/2000" />
+ <Row level="0" prddesc="Category 5 HD Jacks (Orange)" prdnumber="DCO245OO" onsale="Y" price="5.99" onhand="1432" reorder="100" lastorder="02/25/2000" />
+ <Row level="0" prddesc="Category 5 HD Jacks (Red)" prdnumber="DCO245OWR" onsale="Y" price="5.99" onhand="345" reorder="100" lastorder="02/25/2000" />
+ <Row level="0" prddesc="Category 5 HD Jacks (White)" prdnumber="DCO245OW" onsale="Y" price="5.99" onhand="946" reorder="100" lastorder="02/25/2000" />
+ <Row level="0" prddesc="Cisco Router 1 Ethernet/2 Serial" prdnumber="DEB1602" onsale="N" price="1659.00" onhand="74" reorder="5" lastorder="01/16/2000" />
+ <Row level="0" prddesc="Cisco Router 1 Ethernet/2 Sync Serial" prdnumber="DEB1611" onsale="N" price="2049.00" onhand="25" reorder="5" lastorder="01/16/2000" />
+ <Row level="0" prddesc="Cisco Router 2 Ethernet/2 Serial" prdnumber="DEB1609" onsale="N" price="1949.00" onhand="25" reorder="5" lastorder="01/16/2000" />
+ <Row level="0" prddesc="Datatwist 350 Patch Cable 1' (Blue)" prdnumber="DCA3153BL" onsale="N" price="6.99" onhand="2784" reorder="100" lastorder="01/27/2000" />
+ <Row level="0" prddesc="Datatwist 350 Patch Cable 1' (Green)" prdnumber="DCA3153GN" onsale="N" price="6.99" onhand="3531" reorder="100" lastorder="01/27/2000" />
+ <Row level="0" prddesc="Datatwist 350 Patch Cable 1' (Orange)" prdnumber="DCA3153OR" onsale="N" price="6.99" onhand="2674" reorder="100" lastorder="01/27/2000" />
+ <Row level="0" prddesc="Datatwist 350 Patch Cable 1' (Pink)" prdnumber="DCA3153PK" onsale="N" price="6.99" onhand="12684" reorder="100" lastorder="01/27/2000" />
+ <Row level="0" prddesc="Datatwist 350 Patch Cable 1' (Red)" prdnumber="DCA3153RD" onsale="N" price="6.99" onhand="4725" reorder="100" lastorder="01/27/2000" />
+ <Row level="0" prddesc="Etherlink 10 ISA UTP only" prdnumber="3C509BTPO" onsale="N" price="59.95" onhand="1232" reorder="25" lastorder="12/23/1999" />
+ <Row level="0" prddesc="Etherlink 10 ISA UTP/AUI" prdnumber="3C509BTP" onsale="Y" price="99.95" onhand="-5" reorder="10" lastorder="02/15/2000" />
+ <Row level="0" prddesc="Etherlink 10 ISA UTP/BNC" prdnumber="3C509BTPC" onsale="N" price="69.95" onhand="132" reorder="25" lastorder="10/11/1999" />
+ <Row level="0" prddesc="Etherlink 10 UTP 32-bit EISA" prdnumber="3C592TPO" onsale="Y" price="179.95" onhand="200" reorder="15" lastorder="09/01/1999" />
+ <Row level="0" prddesc="EZ Hub 12-port 10/100 Hub" prdnumber="DEH3889" onsale="N" price="239.99" onhand="2435" reorder="35" lastorder="10/07/1999" />
+ <Row level="0" prddesc="EZ Stack 8-port 10/100 Hub" prdnumber="DEH3693" onsale="N" price="224.99" onhand="1195" reorder="35" lastorder="11/15/1999" />
+ <Row level="0" prddesc="EZ Stack 16-port 10/100 Hub" prdnumber="DEH3694" onsale="N" price="399.99" onhand="345" reorder="25" lastorder="06/04/1999" />
+ <Row level="0" prddesc="Intel NetportExpress 10/100 1-Port" prdnumber="DEP1716" onsale="N" price="209.99" onhand="121" reorder="25" lastorder="02/12/2000" />
+ <Row level="0" prddesc="Intel NetportExpress 10/100 1-Port 3-Pack" prdnumber="DEP1717" onsale="N" price="569.99" onhand="98" reorder="25" lastorder="02/12/2000" />
+ <Row level="0" prddesc="Intel NetportExpress 10/100 3-Port" prdnumber="DEP1758" onsale="N" price="305.99" onhand="82" reorder="25" lastorder="02/12/2000" />
+ <Row level="0" prddesc="Intel NetportExpress 10/100 3-Port 3-Pack" prdnumber="DEP1759" onsale="N" price="809.99" onhand="321" reorder="25" lastorder="02/12/2000" />
+ <Row level="0" prddesc="Intel NetportExpress 10/100 1-Port 10Base-T" prdnumber="DEP1801" onsale="N" price="149.99" onhand="775" reorder="25" lastorder="02/12/2000" />
+ <Row level="0" prddesc="Intel NetportExpress 10/100 3-Port 10Base-T" prdnumber="DEP1803" onsale="N" price="249.99" onhand="121" reorder="25" lastorder="02/12/2000" />
+ <Row level="0" prddesc="Intel NetportExpress PRO 3-Port Token Ring" prdnumber="DEP1447" onsale="N" price="479.99" onhand="45" reorder="5" lastorder="02/12/2000" />
+</KugarData>
diff --git a/kugar/samples/sample2.ktf b/kugar/samples/sample2.ktf
new file mode 100644
index 00000000..5c2667c2
--- /dev/null
+++ b/kugar/samples/sample2.ktf
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE KugarTemplate SYSTEM "kugartemplate.dtd">
+
+<KugarTemplate PageOrientation="1" TopMargin="40" RightMargin="48" BottomMargin="40" LeftMargin="48" PageSize="2" PageWidth="1100" PageHeight="850">
+ <ReportHeader PrintFrequency="0" Height="70">
+ <Label VAlignment="2" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="0" Y="0" ForegroundColor="0,0,0"
+ Text="Networks R Us" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="255" BackgroundColor="255,255,255" FontItalic="1"
+ BorderWidth="0" DrawRight="false" DrawBottom="false"
+ FontSize="24" />
+ <Label VAlignment="2" HAlignment="2"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="435" Y="0" ForegroundColor="0,0,0"
+ Text="(Western Region)" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="31"
+ Width="255" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="0" DrawRight="false" DrawBottom="false"
+ FontSize="14" />
+ <Label VAlignment="1" HAlignment="0"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="0" Y="39" ForegroundColor="0,0,0"
+ Text=" Ethernet Products Inventory" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="30"
+ Width="690" BackgroundColor="224,224,224" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ </ReportHeader>
+
+ <PageHeader PrintFrequency="1" Height="32">
+ <Line Color="0,0,0" Style="1"
+ X1="0" X2="263" Y1="26"
+ Y2="26" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="0" X2="263" Y1="28"
+ Y2="28" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="267" X2="339" Y1="26"
+ Y2="26" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="267" X2="339" Y1="28"
+ Y2="28" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="344" X2="388" Y1="26"
+ Y2="26" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="344" X2="388" Y1="28"
+ Y2="28" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="393" X2="462" Y1="26"
+ Y2="26" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="393" X2="462" Y1="28"
+ Y2="28" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="467" X2="536" Y1="26"
+ Y2="26" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="467" X2="536" Y1="28"
+ Y2="28" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="541" X2="610" Y1="26"
+ Y2="26" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="541" X2="610" Y1="28"
+ Y2="28" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="615" X2="690" Y1="26"
+ Y2="26" Width="1" />
+ <Line Color="0,0,0" Style="1"
+ X1="615" X2="690" Y1="28"
+ Y2="28" Width="1" />
+ <Label VAlignment="2" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="0" Y="5" ForegroundColor="0,0,0"
+ Text="Product Description" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="20"
+ Width="268" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ <Label VAlignment="2" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="267" Y="5" ForegroundColor="0,0,0"
+ Text="Catalog #" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="20"
+ Width="78" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ <Label VAlignment="2" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="344" Y="5" ForegroundColor="0,0,0"
+ Text="Sale" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="20"
+ Width="50" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ <Label VAlignment="2" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="393" Y="5" ForegroundColor="0,0,0"
+ Text="Price" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="20"
+ Width="75" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ <Label VAlignment="2" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="467" Y="5" ForegroundColor="0,0,0"
+ Text="Quantity" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="20"
+ Width="75" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ <Label VAlignment="2" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="541" Y="5" ForegroundColor="0,0,0"
+ Text="Reorder" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="20"
+ Width="75" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ <Label VAlignment="2" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="615" Y="5" ForegroundColor="0,0,0"
+ Text="Last Order" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="50" Height="20"
+ Width="75" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ </PageHeader>
+
+ <Detail Level="0" Height="14" Repeat="false">
+ <Field VAlignment="1" HAlignment="0"
+ CommaSeparator="48" BorderStyle="0" WordWrap="0"
+ DrawLeft="false" Field="prddesc" X="0"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="14" Width="268" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="0"
+ CommaSeparator="48" BorderStyle="0" WordWrap="0"
+ DrawLeft="false" Field="prdnumber" X="267"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="14" Width="78" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="0" WordWrap="0"
+ DrawLeft="false" Field="onsale" X="344"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="14" Width="50" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="2"
+ CommaSeparator="49" BorderStyle="0" WordWrap="0"
+ DrawLeft="false" Field="price" X="393"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="4" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="14" Width="65" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="2"
+ CommaSeparator="49" BorderStyle="0" WordWrap="0"
+ DrawLeft="false" Field="onhand" X="467"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="1" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="14" Width="65" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="2"
+ CommaSeparator="49" BorderStyle="0" WordWrap="0"
+ DrawLeft="false" Field="reorder" X="541"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="1" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="14" Width="65" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="2"
+ CommaSeparator="48" BorderStyle="0" WordWrap="0"
+ DrawLeft="false" Field="lastorder" X="615"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="3" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="14" Width="65" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ </Detail>
+
+ <PageFooter PrintFrequency="1" Height="32">
+ <Line Color="0,0,0" Style="1"
+ X1="0" X2="690" Y1="0"
+ Y2="0" Width="1" />
+ <Label VAlignment="1" HAlignment="2"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="640" Y="2" ForegroundColor="0,0,0"
+ Text="Page:" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="25" Height="30"
+ Width="30" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Special VAlignment="1" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="0" Y="2" ForegroundColor="0,0,0"
+ Text="[Date]" BorderColor="0,0,0" DateFormat="2"
+ FontFamily="Helvetica" DrawTop="false" FontWeight="25"
+ Height="30" Type="0" Width="90"
+ BackgroundColor="255,255,255" FontItalic="0" BorderWidth="0"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Special VAlignment="1" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="670" Y="2" ForegroundColor="0,0,0"
+ Text="[PageNo]" BorderColor="0,0,0" DateFormat="0"
+ FontFamily="Helvetica" DrawTop="false" FontWeight="25"
+ Height="30" Type="1" Width="20"
+ BackgroundColor="255,255,255" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ </PageFooter>
+
+ <ReportFooter PrintFrequency="2" Height="0">
+ </ReportFooter>
+
+</KugarTemplate>
diff --git a/kugar/samples/sample3.kdf b/kugar/samples/sample3.kdf
new file mode 100644
index 00000000..82a3b0ee
--- /dev/null
+++ b/kugar/samples/sample3.kdf
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE KugarData [
+ <!ELEMENT KugarData (Row* )>
+ <!ATTLIST KugarData
+ Template CDATA #REQUIRED>
+
+ <!ELEMENT Row EMPTY>
+ <!ATTLIST Row
+ level CDATA #REQUIRED
+ title CDATA #REQUIRED
+ version CDATA #IMPLIED
+ platform CDATA #IMPLIED
+ copies CDATA #IMPLIED>
+]>
+
+<KugarData Template="sample3.ktf">
+ <Row level="1" title=" BRU" version="15.0" platform="x86" copies="1"/>
+ <Row level="1" title=" Caldera Open Linux" version="2.2" platform="x86" copies="3"/>
+ <Row level="1" title=" K Desktop" version="1.1.1" platform="x86" copies="1"/>
+ <Row level="1" title=" Netscape Communicator" version="4.6" platform="x86" copies="10"/>
+ <Row level="0" title="Redhat" />
+ <Row level="1" title=" Redhat Linux" version="5.0" platform="x86" copies="11"/>
+ <Row level="1" title=" Redhat Linux" version="5.1" platform="x86" copies="12"/>
+ <Row level="1" title=" Redhat Linux" version="5.2" platform="x86" copies="14"/>
+ <Row level="1" title=" Redhat Linux" version="6.0" platform="x86" copies="15"/>
+ <Row level="0" title="Sun" />
+ <Row level="1" title=" Star Office" version="5.0" platform="x86" copies="1"/>
+ <Row level="1" title=" Star Office" version="5.1" platform="x86" copies="3"/>
+ <Row level="1" title=" Sun Solaris" version="2.5" platform="Sparc" copies="1"/>
+ <Row level="0" title="Microsoft" />
+ <Row level="1" title=" Microsoft Windows NT" version="3.1" platform="x86" copies="1"/>
+ <Row level="1" title=" Microsoft Windows NT" version="3.51" platform="x86" copies="1"/>
+ <Row level="1" title=" Microsoft Windows NT" version="4.0" platform="x86" copies="1"/>
+ <Row level="1" title=" Microsoft Windows NT" version="5.0" platform="x86" copies="1"/>
+</KugarData>
diff --git a/kugar/samples/sample3.ktf b/kugar/samples/sample3.ktf
new file mode 100644
index 00000000..2b4fc6c6
--- /dev/null
+++ b/kugar/samples/sample3.ktf
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE KugarTemplate SYSTEM "kugartemplate.dtd">
+
+<KugarTemplate PageOrientation="1" TopMargin="40" RightMargin="48" BottomMargin="40" LeftMargin="48" PageSize="2" PageWidth="1100" PageHeight="850">
+ <ReportHeader PrintFrequency="0" Height="70">
+ <Label VAlignment="1" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="0" Y="0" ForegroundColor="0,0,0"
+ Text="Mutiny Bay Software" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="255" BackgroundColor="255,255,255" FontItalic="1"
+ BorderWidth="0" DrawRight="false" DrawBottom="false"
+ FontSize="24" />
+ <Label VAlignment="1" HAlignment="0"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="0" Y="39" ForegroundColor="0,0,0"
+ Text=" Software Inventory Report" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="30"
+ Width="690" BackgroundColor="0,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="12" />
+ </ReportHeader>
+
+ <PageHeader PrintFrequency="1" Height="45">
+ <Label VAlignment="1" HAlignment="0"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="0" Y="15" ForegroundColor="255,255,255"
+ Text=" Title" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="505" BackgroundColor="128,128,128" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="504" Y="15" ForegroundColor="0,0,0"
+ Text="Version" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="50" BackgroundColor="255,255,0" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="553" Y="15" ForegroundColor="0,0,0"
+ Text="Platform" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="60" BackgroundColor="255,255,0" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="612" Y="15" ForegroundColor="0,0,0"
+ Text="# of Copies" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="31"
+ Width="78" BackgroundColor="255,255,0" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ </PageHeader>
+
+ <Detail Level="0" Height="30" Repeat="false">
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="title" X="0"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="63" InputMask="" Precision="0"
+ Height="31" Width="690" BackgroundColor="55,155,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="16" />
+ </Detail>
+
+ <Detail Level="1" Height="30" Repeat="false">
+ <Field VAlignment="1" HAlignment="0"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="title" X="0"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="505" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="1" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="version" X="504"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="50" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="platform" X="553"
+ Y="0" ForegroundColor="255,0,0" NegValueColor="255,0,0"
+ Text="" DataType="0" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="60" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Field VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="copies" X="612"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="1" BorderColor="0,0,0"
+ DateFormat="0" FontFamily="Helvetica" DrawTop="false"
+ FontWeight="25" InputMask="" Precision="0"
+ Height="31" Width="78" BackgroundColor="255,255,255"
+ Currency="51" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ </Detail>
+
+ <PageFooter PrintFrequency="1" Height="32">
+ <Label VAlignment="1" HAlignment="1"
+ BorderStyle="1" WordWrap="0" DrawLeft="false"
+ X="0" Y="0" ForegroundColor="0,0,0"
+ Text="" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" Height="1"
+ Width="690" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Label VAlignment="1" HAlignment="2"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="640" Y="2" ForegroundColor="0,0,0"
+ Text="Page:" BorderColor="0,0,0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="25" Height="30"
+ Width="30" BackgroundColor="255,255,255" FontItalic="0"
+ BorderWidth="1" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ <Special VAlignment="1" HAlignment="0"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="0" Y="2" ForegroundColor="0,0,0"
+ Text="[Date]" BorderColor="0,0,0" DateFormat="2"
+ FontFamily="Helvetica" DrawTop="false" FontWeight="25"
+ Height="30" Type="0" Width="90"
+ BackgroundColor="255,255,255" FontItalic="0" BorderWidth="0"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ <Special VAlignment="1" HAlignment="1"
+ BorderStyle="0" WordWrap="0" DrawLeft="false"
+ X="670" Y="2" ForegroundColor="0,0,0"
+ Text="[PageNo]" BorderColor="0,0,0" DateFormat="0"
+ FontFamily="Helvetica" DrawTop="false" FontWeight="25"
+ Height="30" Type="1" Width="20"
+ BackgroundColor="255,255,255" FontItalic="0" BorderWidth="1"
+ DrawRight="false" DrawBottom="false" FontSize="10" />
+ </PageFooter>
+
+ <ReportFooter PrintFrequency="2" Height="32">
+ <CalculatedField VAlignment="1" HAlignment="1"
+ CommaSeparator="48" BorderStyle="1" WordWrap="0"
+ DrawLeft="false" Field="copies" X="612"
+ Y="0" ForegroundColor="0,0,0" NegValueColor="255,0,0"
+ Text="" DataType="1" BorderColor="0,0,0"
+ CalculationType="1" DateFormat="0" FontFamily="Helvetica"
+ DrawTop="false" FontWeight="75" InputMask=""
+ Precision="0" Height="31" Width="78"
+ BackgroundColor="255,255,255" Currency="51" FontItalic="0"
+ BorderWidth="0" DrawRight="false" DrawBottom="false"
+ FontSize="10" />
+ </ReportFooter>
+
+</KugarTemplate>