My problem is that I have clients who use wide-ranging JREs using my templates. I'd like to come up with an intelligent solution to this (e.g., use JRE -version as a parameter to re-calculate the extents/margin(s))
My questions are: - Is this documented anywhere? - Is there a matrix/calculation enabling me to change this - How do others handle this problem?
Here're excerpts from the Java 1.3.1 & 1.4.1 versions of my .fo files:
** Java 1.3.1 **
<fo:layout-master-set>
<fo:simple-page-master master-name="repeating" page-height="28cm" page-width="22cm" margin-top="1cm" margin-bottom="1.3cm" margin-left="1cm" margin-right="1cm">
<fo:region-body margin-bottom="7.1cm" margin-top="8.3cm"/>
<fo:region-before extent="8.3cm"/>
<fo:region-after extent="7.1cm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="repeating_pm">
<fo:repeatable-page-master-reference master-name="repeating"/>
</fo:page-sequence-master>
</fo:layout-master-set>
** Java 1.4.1 **
<fo:layout-master-set>
<fo:simple-page-master master-name="repeating" page-height="28cm" page-width="22cm" margin-top="1cm" margin-bottom="1.3cm" margin-left="1cm" margin-right="1cm">
<fo:region-body margin-bottom="6.6cm" margin-top="7.4cm"/>
<fo:region-before extent="7.4cm"/>
<fo:region-after extent="6.6cm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="repeating_pm">
<fo:repeatable-page-master-reference master-name="repeating"/>
</fo:page-sequence-master>
</fo:layout-master-set>
Many thanks! -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]