JasperReports templates
Hey Tim G
I know you have put a tonne of time into getting the community reports up to scratch ...thanks
I just wanted to point out that a lot of the report fields have the tag
pdfFontName="Helvetica-Bold"
which was depreceated and replaced by the use of Font Extensions.
http://community.jaspersoft.com/wiki/custom-font-font-extension
they also have the following properties which are now defunct as ireports is depreceated.
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
Tim A you might want to correct me if I am wrong but additionally many reports have :-
<import value="org.openvpms.archetype.function.party.PartyFunctions"/>
<import value="org.openvpms.component.business.domain.im.party.Party"/>
I was pretty sure that it wasnt required anymore? Can you confirm?
Anyway as we update reports I thought we might want to look at removing the cruft.
Re: JasperReports templates
Actually I take that back it appears the PDF tags have already been removed.
Re: JasperReports templates
Ben - when I did the renovation work on the reports in the 1.8 package I fixed this. The 1.8 stuff that I have been adding to the resource library has this fixed also. In addition all the Hong Kong reports used to have the font set to Arial. I have been removing this (so you get the default Sans Serif font) as I work on the reports and hence any that go into the Resource Library have this fixed also.
HOWEVER, note that I said "renovation work on the reports" - I just ran a 'find in files' search through the current 1.9 snapshot reports directory looking for 'pdf' in jrxml files and it found 54 of them. The culprits are all the 'system' templates - ie invoices etc.
The fix is very fast - global replace of ' pdfFontName="Helvetica"' and ' pdfFontName="Helvetica-Bold"' with nothing - but the hooker is doing the testing/checking.
Tim A - do you want me to put this on my 'to do' list?
Regards, Tim G
Re: JasperReports templates
Removed in revision 6765.
Regards,
-Tim A