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 listes <li...@radenkovic.com> on 2003/11/19 11:59:44 UTC
page-height="indefinite" not yet implemented another solution ?
First sorry for my poor english.
It seems that page-height="indefinite" is not yet implemented in fop
0.20.5 with PDF Rendering
Is there another solution to make page-height dynamic ?
I have an idea, but i don't know if it will be work.
I have created a xsl variable like this : <xsl:variable
name="page.height">5cm</xsl:variable>
and my simple-page-master tag is : <fo:simple-page-master
master-name="default-page" page-width="5.57cm" page-height="{$page.height}">
Is possible to get the y coordinate (in cm or in) of the last block of
my document ?
Thanks in advance for answers.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: different margins for first and last page
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Abhijit Junnare wrote:
> I woudl like to have different page masters for the
> first and last page.
> I understand that page-position="last" is not
> implemented yet in FOP> Is there any alternative to
> achieving different margins of the first and last page
> as compared to the rest of the pages?
> thanks in advance
> abhi
First check whether you can fake this effect somehow with
a table or something.
If this fails, and you know how many pages your FO produces,
use a repeatable-page-master-reference for your normal
pages with the approrpiate page count set, and another
single-page-master-reference (or also a
repeatable-page-master-reference) for the last page.
If your page count is more dynamic, you can try a two pass
approach similar to the one outlined here:
http://xml.apache.org/fop/fo.html#fo-total-pages
The first pass gets you the page count, in the second
pass you use it for setting the proper page count on your
repeatable-page-master-reference.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
different margins for first and last page
Posted by Abhijit Junnare <ma...@yahoo.com>.
I woudl like to have different page masters for the
first and last page.
I understand that page-position="last" is not
implemented yet in FOP> Is there any alternative to
achieving different margins of the first and last page
as compared to the rest of the pages?
thanks in advance
abhi
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org