From: W. Eliot Kimber (eliot@isogen.com)
Date: Wed Oct 23 2002 - 07:55:42 PDT
Here is an FO sample that overlays one block on another. When I render
this with XSL Formatter, the two blocks are overlayed such that their
before-start corners are at the same position.
When I render with XEP 3.02 the overlayed block is aligned with the
before and start edges of the page.
I believe that the XSL Formatter behavior is correct per the XSL 1.0 spec.
Thanks,
Eliot.
FO Instance:
<?xml version="1.0" encoding="UTF-8"?>
<fo:root
xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
xmlns:saxon="http://icl.com/saxon"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-height="11in" margin-right="1.25in"
margin-top="0.25in" margin-left="1in" master-name="title-page"
margin-bottom="0.25in" page-width="8.5in">
<fo:region-body region-name="main" margin-top="1in" margin-bottom="1in"/>
<fo:region-before region-name="header" extent="2in"/>
<fo:region-after region-name="footer"
extent="1.5in"/></fo:simple-page-master>
<fo:simple-page-master page-height="11in" margin-right="1.25in"
margin-top="0.25in" margin-left="1in" master-name="main"
margin-bottom="0.25in" page-width="8.5in"><fo:region-body
region-name="main" margin-top="1in"
margin-bottom="1in"/><fo:region-before region-name="header"
extent="2in"/><fo:region-after region-name="footer"
extent="0.5in"/></fo:simple-page-master><fo:page-sequence-master
master-name="title"><fo:repeatable-page-master-reference
master-reference="title-page"/></fo:page-sequence-master><fo:page-sequence-master
master-name="body"><fo:repeatable-page-master-reference
master-reference="main"/></fo:page-sequence-master></fo:layout-master-set>
<fo:page-sequence master-reference="body"><fo:flow flow-name="main"
font-size="10pt" line-height="12pt"
font-family="Helvetica"><fo:block><fo:block break-before="page"
font-family="Helvetica">
<fo:block>
<fo:block-container>
<fo:block><fo:external-graphic content-width="scale-to-fit"
src="url(graphics/graphic-test-01.eps)"/>
</fo:block>
<fo:block-container absolute-position="absolute"
reference-orientation="90" block-progression-dimension="6in"
inline-progression-dimension="4in"
text-align="center" display-align="center"
border-style="solid" border-width="1pt" border-color="red">
<fo:block color="red" font-size="24pt" line-height="110%">
This is overlay text
</fo:block>
</fo:block-container>
</fo:block-container>
</fo:block>
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
-- W. Eliot Kimber, eliot@isogen.com Consultant, ISOGEN International 1016 La Posada Dr., Suite 240 Austin, TX 78752 Phone: 512.656.4139 ------------------- By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:28 PST