A quick note before the question:
I asked a question the other day about why my html jasper reports where
not being outputted in UTF-8 even though the html encoding said so and
I found out that it was related to a simple bug in the HTMLExporter of
jasper reports. This bug has already been fixed in jasper reports 0.5 :
) Also I would like to point out to those still using jasper reports
0.4 that upgrading fixed my pdf generating also. Anyways...
My problem is that I have to generate html,pdf and excel files all from
the same layout and some very annoying problems persist
a. I cannot tell the design to stretch horizontally when overflowing
instead of wrapping. This is a features most people must want or am I
the only one??
b. The generated files do not look the same!
1. The html and excel files generated cannot display a background
color for the columns for example. The only way to create the effect is
to set a background color for each column (label) and put them exactly
side by side. However in pdf doing this will not create a seamless
background color since the column in pdf gets a slight border ruining
the effect. So to fix the pdf version you also have to have a rectangle
with a background color set behind the columns (which was my original
plan but did not work in html or excel). We at least need backround
color support for bands (do we have that?) or a change in the excel and
html exporters so that they can display layered content. I would like
to point out that the html exporter is far from perfect and could be
much better if implemented in stylesheets rather then with a 1000x
transparent images controlling the layout.
2. Column widths in excel are always less than in pdf and html! Just
try generating pdf,html and excel from the same layout.
3. The font size in excel is always less. I don't know where jasper
reports are getting these font sizes. I clearly state Helvetica size 10
for columns and fields and the excel file sets the fonts at 9.5??
Eirikur S. Hrafnsson, eiki@...
Chief Software Engineer