details:   /erp/stable/2.50/rev/4b40fcfb60fe
changeset: 9138:4b40fcfb60fe
user:      Ioritz Cia <ioritz.cia <at> openbravo.com>
date:      Mon Jan 17 16:19:34 2011 +0100
summary:   Fixes issue 15673: Change the size of letters in the Payment Report.

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.jrxml     |  551 
++++++---
 src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment_data.xsql |   18 +-
 2 files changed, 378 insertions(+), 191 deletions(-)

diffs (truncated from 1079 to 300 lines):

diff -r 60e0a23acc18 -r 4b40fcfb60fe 
src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.jrxml    Mon Jan 
17 15:51:31 2011 +0100
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.jrxml    Mon Jan 
17 16:19:34 2011 +0100
@@ -29,14 +29,17 @@
                vAlign="Middle"
                fontName="Bitstream Vera Sans"
                fontSize="11"
-       />
+       >
+       </style>
        <style 
                name="Report_Title"
                isDefault="false"
                leftPadding="5"
                fontName="Bitstream Vera Sans"
                fontSize="18"
-       />
+       >
+                                       <box leftPadding="5"></box>
+       </style>
        <style 
                name="Report_Subtitle"
                isDefault="false"
@@ -44,7 +47,9 @@
                leftPadding="5"
                fontName="Bitstream Vera Sans"
                fontSize="14"
-       />
+       >
+                                       <box leftPadding="5"></box>
+       </style>
        <style 
                name="Total_Field"
                isDefault="false"
@@ -56,7 +61,9 @@
                fontName="Bitstream Vera Sans"
                fontSize="11"
                isBold="true"
-       />
+       >
+                                       <box leftPadding="5"></box>
+       </style>
        <style 
                name="Detail_Header"
                isDefault="false"
@@ -72,7 +79,11 @@
                fontName="Bitstream Vera Sans"
                fontSize="11"
                isBold="true"
-       />
+       >
+                                       <box leftPadding="5">                   
                <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
+                                       <rightPen lineWidth="1.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+</box>
+       </style>
        <style 
                name="GroupHeader_DarkGray"
                isDefault="false"
@@ -84,53 +95,62 @@
                fontName="Bitstream Vera Sans"
                fontSize="18"
                isBold="true"
-       />
+       >
+                                       <box leftPadding="5"></box>
+       </style>
        <style 
                name="GroupHeader_Gray"
                isDefault="false"
                mode="Opaque"
                backcolor="#999999"
-       />
+       >
+       </style>
        <style 
                name="Total_Gray"
                isDefault="false"
                mode="Opaque"
                forecolor="#000000"
                backcolor="#CCCCCC"
-       />
+       >
+       </style>
        <style 
                name="Report_Data_Label"
                isDefault="false"
                fontName="Bitstream Vera Sans"
                fontSize="11"
                isBold="true"
-       />
+       >
+       </style>
        <style 
                name="Report_Data_Field"
                isDefault="false"
                fontName="Bitstream Vera Sans"
                fontSize="11"
                isBold="false"
-       />
+       >
+       </style>
        <style 
                name="Report_Footer"
                isDefault="true"
                fontName="Bitstream Vera Sans"
                fontSize="11"
-       />
+       >
+       </style>
        <style 
                name="Group_Data_Label"
                isDefault="false"
                fontName="Bitstream Vera Sans"
                fontSize="14"
                isBold="true"
-       />
+       >
+       </style>
        <style 
                name="Group_Data_Field"
                isDefault="false"
                fontName="Bitstream Vera Sans"
                fontSize="14"
-       />
+       >
+       </style>
        <style 
                name="Detail_Data_Label"
                isDefault="false"
@@ -139,7 +159,8 @@
                fontName="Bitstream Vera Sans"
                fontSize="11"
                isBold="true"
-       />
+       >
+       </style>
        <style 
                name="Detail_Data_Field"
                isDefault="false"
@@ -147,14 +168,16 @@
                backcolor="#CCCCCC"
                fontName="Bitstream Vera Sans"
                fontSize="11"
-       />
+       >
+       </style>
        <style 
                name="Group_Footer"
                isDefault="false"
                fontName="Bitstream Vera Sans"
                fontSize="11"
                isBold="true"
-       />
+       >
+       </style>
 
        <parameter name="ATTACH" isForPrompting="false" 
class="java.lang.String"/>
        <parameter name="BASE_WEB" isForPrompting="false" 
class="java.lang.String"/>
@@ -203,6 +226,12 @@
        <field name="SALESREPNAME" class="java.lang.String"/>
        <field name="DEBTCANCEL" class="java.lang.String"/>
        <field name="ACCOUNTSTR" class="java.lang.String"/>
+       <field name="IDOCUMENTNO" class="java.lang.String"/>
+       <field name="IDATEINVOICED" class="java.lang.String"/>
+       <field name="S1DOCUMENTNO" class="java.lang.String"/>
+       <field name="S1DATETRX" class="java.lang.String"/>
+       <field name="S2DOCUMENTNO" class="java.lang.String"/>
+       <field name="S2DATETRX" class="java.lang.String"/>
 
        <variable name="SUM_AMOUNT_1" class="java.math.BigDecimal" 
resetType="Report" calculation="Sum">
                
<variableExpression><![CDATA[$F{CONVAMOUNT}]]></variableExpression>
@@ -226,10 +255,14 @@
                                                style="Detail_Header"
                                                x="1"
                                                y="0"
-                                               width="599"
+                                               width="781"
                                                height="15"
                                                key="textField-15"/>
-                                       <box topBorder="None" 
topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" 
leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" 
bottomBorder="None" bottomBorderColor="#000000"/>
+                                       <box leftPadding="5">                   
                <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+                                       <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+                                       <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
+                                       <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+</box>
                                        <textElement>
                                                <font/>
                                        </textElement>
@@ -240,12 +273,16 @@
                                                style="Detail_Header"
                                                x="1"
                                                y="15"
-                                               width="64"
+                                               width="70"
                                                height="15"
                                                key="staticText-20"/>
-                                       <box topBorder="None" 
topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" 
leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" 
bottomBorder="None" bottomBorderColor="#000000"/>
+                                       <box leftPadding="5">                   
                <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+                                       <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+                                       <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
+                                       <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+</box>
                                        <textElement textAlignment="Left" 
verticalAlignment="Middle">
-                                               <font 
pdfFontName="Helvetica-Bold" size="4" isBold="true"/>
+                                               <font 
pdfFontName="Helvetica-Bold" size="6" isBold="true"/>
                                        </textElement>
                                <text><![CDATA[Description]]></text>
                                </staticText>
@@ -253,28 +290,36 @@
                                        <reportElement
                                                style="Detail_Header"
                                                mode="Opaque"
-                                               x="102"
+                                               x="116"
                                                y="15"
-                                               width="30"
+                                               width="36"
                                                height="15"
                                                key="staticText-18"/>
-                                       <box topBorder="None" 
topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" 
leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" 
bottomBorder="None" bottomBorderColor="#000000"/>
+                                       <box leftPadding="5">                   
                <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+                                       <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+                                       <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
+                                       <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+</box>
                                        <textElement textAlignment="Left" 
verticalAlignment="Middle">
-                                               <font 
pdfFontName="Helvetica-Bold" size="4" isBold="true"/>
+                                               <font 
pdfFontName="Helvetica-Bold" size="6" isBold="true"/>
                                        </textElement>
                                <text><![CDATA[Date]]></text>
                                </staticText>
                                <staticText>
                                        <reportElement
                                                style="Detail_Header"
-                                               x="65"
+                                               x="71"
                                                y="15"
-                                               width="37"
+                                               width="45"
                                                height="15"
                                                key="staticText-19"/>
-                                       <box topBorder="None" 
topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" 
leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" 
bottomBorder="None" bottomBorderColor="#000000"/>
+                                       <box leftPadding="5">                   
                <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+                                       <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+                                       <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
+                                       <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+</box>
                                        <textElement textAlignment="Left" 
verticalAlignment="Middle">
-                                               <font 
pdfFontName="Helvetica-Bold" size="4" isBold="true"/>
+                                               <font 
pdfFontName="Helvetica-Bold" size="6" isBold="true"/>
                                        </textElement>
                                <text><![CDATA[Invoice]]></text>
                                </staticText>
@@ -282,14 +327,18 @@
                                        <reportElement
                                                style="Detail_Header"
                                                mode="Opaque"
-                                               x="132"
+                                               x="152"
                                                y="15"
-                                               width="30"
+                                               width="42"
                                                height="15"
                                                key="staticText-21"/>
-                                       <box topBorder="None" 
topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" 
leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" rightPadding="2" 
bottomBorder="None" bottomBorderColor="#000000"/>
+                                       <box leftPadding="5" rightPadding="2">  
                                <topPen lineWidth="0.0" lineStyle="Solid" 
lineColor="#000000"/>
+                                       <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+                                       <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
+                                       <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+</box>
                                        <textElement textAlignment="Right" 
verticalAlignment="Middle">
-                                               <font 
pdfFontName="Helvetica-Bold" size="4" isBold="true"/>
+                                               <font 
pdfFontName="Helvetica-Bold" size="6" isBold="true"/>
                                        </textElement>
                                <text><![CDATA[Amount]]></text>
                                </staticText>
@@ -297,14 +346,18 @@
                                        <reportElement
                                                style="Detail_Header"
                                                mode="Opaque"
-                                               x="162"
+                                               x="194"
                                                y="15"
-                                               width="30"
+                                               width="42"
                                                height="15"
                                                key="staticText-22"/>
-                                       <box topBorder="None" 
topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" 
leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" rightPadding="2" 
bottomBorder="None" bottomBorderColor="#000000"/>
+                                       <box leftPadding="5" rightPadding="2">  
                                <topPen lineWidth="0.0" lineStyle="Solid" 
lineColor="#000000"/>
+                                       <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+                                       <bottomPen lineWidth="0.0" 
lineColor="#000000"/>
+                                       <rightPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#FFFFFF"/>
+</box>
                                        <textElement textAlignment="Right" 
verticalAlignment="Middle">
-                                               <font 
pdfFontName="Helvetica-Bold" size="4" isBold="true"/>
+                                               <font 
pdfFontName="Helvetica-Bold" size="6" isBold="true"/>
                                        </textElement>
                                <text><![CDATA[cancelled]]></text>
                                </staticText>
@@ -312,59 +365,77 @@

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to