You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Heritier Arnaud <ah...@axway.com> on 2004/07/09 15:50:49 UTC
RE : PDF-plugin: table layout
Actually the PDF plugin can't auto-resize columns (FOP limitation).
If you want to specify a percentage (what I did for the pdf plugin properties doc : http://maven.apache.org/reference/plugins/pdf/properties.html) you must to do it for each cell in the first row.
Arnaud
> -----Message d'origine-----
> De : Jörg Schaible [mailto:Joerg.Schaible@Elsag-Solutions.com]
> Envoyé : vendredi 9 juillet 2004 15:10
> À : Maven Users List
> Objet : PDF-plugin: table layout
>
>
> Hi folks,
>
> what is the best way to format a table in the PDF report ? I
> have a table with three columns, where in HTML the second
> columns takes nearly 90% of space (without any width
> attributes set), which is fine. Unfortunately in the PDF all
> columns have all same size. I tried to tweak this by setting
> the width for first and last column to 5%, but then the
> PDF-plugin does not produce anything useful anymore. So what
> is the best way, to achieve such a table layout ?
>
> -- Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : PDF-plugin: table layout
Posted by Jörg Schaible <jo...@gmx.de>.
Heritier Arnaud wrote:
> Actually the PDF plugin can't auto-resize columns (FOP limitation).
> If you want to specify a percentage (what I did for the pdf plugin
> properties doc :
> http://maven.apache.org/reference/plugins/pdf/properties.html) you must to
> do it for each cell in the first row.
Hmm. This is, what I did. I have 4 tables on the page (not nested, each in a
section) and I set the width of the left and right column in the th-tag to
5%. Unfortunately the resulting PDF was not readable anymore. Nearly every
row was on a new page and some text preceding the tables were gone
completely ... :(
-- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : PDF-plugin: table layout
Posted by Dion Gillard <di...@gmail.com>.
On Fri, 9 Jul 2004 15:50:49 +0200, Heritier Arnaud <ah...@axway.com> wrote:
> Actually the PDF plugin can't auto-resize columns (FOP limitation).
> If you want to specify a percentage (what I did for the pdf plugin properties doc : http://maven.apache.org/reference/plugins/pdf/properties.html) you must to do it for each cell in the first row.
Arnaud,
I hate to be a stickler for detail, but that would make a great FAQ
for the PDF plugin docs.
Would you write it up? Or would you prefer I do it?
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org