Can you post up the revised FO? Just placing a block container around the inline isn't enough. The attributes relating to absolute position have to be moved off thye fo:inline element and onto the fo:block-container element.

It now looks like... (this is actually a slightly different example, I created a fresh test case which was simpler than the original one so that I could compare the results more easily)

<fo:block margin-left="0pt" margin-right="0pt" font-family="serif" line-height="1.33" padding-bottom="0.0pt" padding-left="0.0pt" padding-right="0.0pt" padding-top="0.0pt" unicode-bidi="embed"> <fo:block-container border-bottom-width="1.0px" absolute-position="absolute" border-top-style="solid" width="20.0em" border-right-style="solid" border-before-width.conditionality="retain" border-bottom-color="red" border-top-width="1.0px" border-bottom-style="solid" border-top-color="red" border-left-color="red" height="15.0em" border-left-style="solid" border-right-color="red" border-right-width="1.0px" left="0" border-after-width.conditionality="retain" border-left-width="1.0px" top="0">
   <fo:block margin-left="0pt" margin-right="0pt" unicode-bidi="embed">
<fo:block-container absolute-position="absolute" left="16.0%" top="16.0%">
       <fo:block>
         <fo:inline margin-left="0pt" margin-right="0pt">1</fo:inline>
       </fo:block>
     </fo:block-container>
<fo:block-container absolute-position="absolute" left="46.0%" top="46.0%">
       <fo:block>
         <fo:inline margin-left="0pt" margin-right="0pt">2</fo:inline>
       </fo:block>
     </fo:block-container>
<fo:block-container absolute-position="absolute" left="76.0%" top="76.0%">
       <fo:block>
         <fo:inline margin-left="0pt" margin-right="0pt">3</fo:inline>
       </fo:block>
     </fo:block-container>
   </fo:block>
 </fo:block-container>
</fo:block>

So now the 1, 2 and 3 are all inside the outer box, but all at the top left corner. This could be because the <fo:block> inside the top-level <fo:block-container> doesn't fill the entire block container. It could also be because % simply doesn't work (hopefully that isn't the case though, the former problem is easier to work around.)

Daniel Noll

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://nuix.com/                               Fax: +61 2 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.


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

Reply via email to