You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Martin Smales <M....@exchange.curtin.edu.au> on 2005/09/29 03:33:38 UTC

Reduce content to one A4 page?

Hi,

Is it possible to reduce two or more A4-sized content length down to a
single A4 page using Apache FOP?

In some situations, only one page (i.e. the first page) is permitted
which led me to ask that question. Some content may flow on from the
first page to the second page which is not what I want.

Thanks,
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Reduce content to one A4 page?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Martin Smales wrote:
> Is it possible to reduce two or more A4-sized content length down to a
> single A4 page using Apache FOP?
> 
> In some situations, only one page (i.e. the first page) is permitted
> which led me to ask that question. Some content may flow on from the
> first page to the second page which is not what I want.


It depends on how you define "reduce".
If you want to clip content which doesn't fir the first page, and
if you don't have a footer or a margin at the bottom of the page
(or don't mind if the content goes to the end of the page), the put
all the content in an absolutely positioned fo:block-container.
If you want to reduce the font size or otherwise fiddle with the
layout, you are most likely out of luck, because the XSLFO spec
doesn't provide the necessary functionality.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org