Subject: Re: [xsl] block-container, with position="absolute" From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 14 Jan 2003 11:51:45 -0500 |
<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"/>
<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.
-- 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@xxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] block-container, with positio, Philippe Drix | Thread | Re: [xsl] block-container, with pos, David Tolpin |
RE: [xsl] listing unique attributes, Américo Albuquerque | Date | Re: [xsl] the fo:block thing, G. Ken Holman |
Month |