Hi,

I've posted a couple of messages on the xsl list and got responses re above
problem.  It seems like there may be a bug in FOP re positioning relative to
right and bottom edge's of the container.

The spec says that right and bottom positioning are implemented.  However,
when I do the following:

<fo:flow flow-name="xsl-region-body">
 <fo:block-container position="absolute" left="0cm" top="0cm" right="0cm"
bottom="0cm" background-color="rgb(192, 192, 192)" border-color="rgb(0, 0,
0)" border-style="solid" border-width="1pt">
  <fo:block>&#160; </fo:block>
  </fo:block-container>

I would expect this to produce a grey-shaded page with a 1pt black border at
the margin edges of each page in the flow.  Instead I get a miniscule box
(about 2mm sq) at the top left margins of the page.

If, however, I do the following, I get roughly what I want.

<fo:flow flow-name="xsl-region-body">
 <fo:block-container position="absolute" left="0cm" top="0cm" width="19cm"
height="27cm" background-color="rgb(192, 192, 192)" border-color="rgb(0, 0,
0)" border-style="solid" border-width="1pt">
  <fo:block>&#160; </fo:block>
  </fo:block-container>

Can anyone tell me if I am doing something wrong or whether this is a known
FOP problem and, if so, any workarounds please.

TIA for any help.

Regards,

Mark Williams


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to