baanjim
15th June 2007, 10:55
Hi,
I create a report with some amounts fields.
When I choose the "D" device, the amounts fields (details and sums) are rigth aligned. But when I chose a "PDF" device, theses same amounts are left aligned in the PDF file...
The tool I use to convert from ERP ln to PDF format is a convertor released by SSA and called in a 3GL script linked to the device:
the command is:
run.app = "java -cp ${BSE}/java/xml-apis.jar:${BSE}/java/ssa-bml.jar:${BSE}/java/xercesImpl.jar com.ssaglobal.bml.BMLConverter PDF " & "${BSE}/tmp/Fileout." & str.num & " " & local.path
A this time, I managed to left align the amounts by creating a report script and making a conversion like this (example):
domain leftalignstring amount.str
detail.1:
before.layout:
amount.str = str$(amount)
where amount.str is a report field rigth aligned (in the report editor)...
I'm not really satisfied with this solution, because I must realise manually then sums on all amounts...
Does anybody knows if a simple solution exists?
Thanks for all ;)
I create a report with some amounts fields.
When I choose the "D" device, the amounts fields (details and sums) are rigth aligned. But when I chose a "PDF" device, theses same amounts are left aligned in the PDF file...
The tool I use to convert from ERP ln to PDF format is a convertor released by SSA and called in a 3GL script linked to the device:
the command is:
run.app = "java -cp ${BSE}/java/xml-apis.jar:${BSE}/java/ssa-bml.jar:${BSE}/java/xercesImpl.jar com.ssaglobal.bml.BMLConverter PDF " & "${BSE}/tmp/Fileout." & str.num & " " & local.path
A this time, I managed to left align the amounts by creating a report script and making a conversion like this (example):
domain leftalignstring amount.str
detail.1:
before.layout:
amount.str = str$(amount)
where amount.str is a report field rigth aligned (in the report editor)...
I'm not really satisfied with this solution, because I must realise manually then sums on all amounts...
Does anybody knows if a simple solution exists?
Thanks for all ;)