At 2003-01-14 17:19 +0100, Philippe Drix wrote:
<fo:region-before extent="29.7cm - 0.64cm - 4.001cm"/>
<fo:region-body margin-top="12.3cm" margin-bottom="3.101cm" />
<fo:region-after extent="3cm"/>
Unrelated to your issue, region-body should be specified before the others
to match the content model in 6.4.12.
<fo:block-container
height="25.5cm" width="17.576cm" top="0cm" left="0cm"
position="absolute"
border-color="red" border-width="0.011cm"
border-style="solid"
>
...
Both XEP and FOP draw the red rectangle.
With XEP its left and top edges are placed on the left and top edges of
the paper sheet (page viewport area), while with FOP they are placed on
the left and top edges of the page reference area (ie the page minus the
page margins).
I think the result produced by FOP is correct with respect to the XSL-FO
Recommandation, but I am not sure, and I would be pleased if somebody
could give his opinion.
7.5.1 says "absolute" is to the containing area and "fixed" is to the
viewport, so you are witnessing "fixed" behaviour for the value "absolute"
in XEP.
Looking at page 4 of the support document for XEP it states:
absolute-position="fixed" works on ?fo:block-container? only
So I think what you are seeing is consistent with their documentation,
though perhaps the wording should be "only a-p="fixed" works on <b-c>".
What did you understand from their documentation?
I hope this helps.
................... Ken
--
Upcoming hands-on in-depth North America: February 3- 7, 2003
XSLT/XPath and/or XSL-FO Europe: February 17-21, 2003
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 0-13-140374-5 Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list