details:   https://code.openbravo.com/erp/devel/pi/rev/a4904e167c73
changeset: 22781:a4904e167c73
user:      Jon Alegría <jon.alegria <at> openbravo.com>
date:      Thu Mar 27 12:28:15 2014 +0100
summary:   0026103: Page number in general ledger journal report is not
correctly shown when the page number is big (three figures)

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml |  8 
++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r b20ad2172fce -r a4904e167c73 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml   
Thu Mar 27 12:10:34 2014 +0100
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml   
Thu Mar 27 12:28:15 2014 +0100
@@ -571,7 +571,7 @@
                                <reportElement key="line-4" 
style="Report_Footer" x="5" y="0" width="530" height="1"/>
                        </line>
                        <textField pattern="" isBlankWhenNull="false">
-                               <reportElement key="textField-5" 
style="Report_Footer" x="375" y="1" width="141" height="12"/>
+                               <reportElement key="textField-5" 
style="Report_Footer" x="353" y="1" width="141" height="12"/>
                                <box topPadding="2" leftPadding="5">
                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -584,7 +584,7 @@
                                <textFieldExpression 
class="java.lang.String"><![CDATA["Page "+new 
java.lang.Integer(($V{PAGE_NUMBER}.intValue()) 
+(Integer.parseInt($P{PageNo}))-(1)).toString()+" of "]]></textFieldExpression>
                        </textField>
                        <textField evaluationTime="Report">
-                               <reportElement x="518" y="1" width="15" 
height="12"/>
+                               <reportElement x="496" y="1" width="39" 
height="12"/>
                                <textElement verticalAlignment="Bottom">
                                        <font fontName="DejaVu Sans" size="8"/>
                                </textElement>
@@ -598,14 +598,14 @@
                                <reportElement key="line-4" 
style="Report_Footer" x="1" y="1" width="530" height="1"/>
                        </line>
                        <textField evaluationTime="Report">
-                               <reportElement x="518" y="2" width="16" 
height="12"/>
+                               <reportElement x="496" y="2" width="40" 
height="12"/>
                                <textElement verticalAlignment="Bottom">
                                        <font fontName="DejaVu Sans" size="8"/>
                                </textElement>
                                <textFieldExpression 
class="java.lang.Integer"><![CDATA[new 
java.lang.Integer($V{PAGE_NUMBER})]]></textFieldExpression>
                        </textField>
                        <textField pattern="" isBlankWhenNull="false">
-                               <reportElement key="textField-5" 
style="Report_Footer" x="375" y="2" width="141" height="12"/>
+                               <reportElement key="textField-5" 
style="Report_Footer" x="353" y="2" width="141" height="12"/>
                                <box topPadding="2" leftPadding="5">
                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>

------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to