I see from the compliance page that absolute positioning is implemented.
However in practice I have an FO file which uses absolute positioning and it
seems like it doesn't take effect at all.
I culled all the containing elements from my FO output just in case they
were to blame somehow, and the issue still occurred. Here's the block
(apologies in advance for the way this is going to break):
<fo:block margin-left="0pt" margin-right="0pt" id="SlideObj"
font-size="16.0px" unicode-bidi="embed" visibility="hidden">
<fo:external-graphic content-height="scale-to-fit"
content-width="scale-to-fit" scaling="uniform"
src="url(file:/C:/Users/Daniel/Desktop/testppt_files/slide0001_background.jpg)"
absolute-position="absolute" height="100.0%" width="100.0%" left="0.0%"
top="0.0%"/>
<fo:block margin-left="0pt" margin-right="0pt" color="black"
unicode-bidi="embed">
<fo:block margin-left="0pt" margin-right="0pt"
unicode-bidi="embed" text-align="left">
<fo:inline absolute-position="absolute" height="6.25%"
left="35.95%" top="54.25%" margin-left="0pt" margin-right="0pt">
<fo:inline color="white" font-size="88.0%"
font-family="'Trebuchet MS'" margin-left="0pt" margin-right="0pt">Line
1</fo:inline>
</fo:inline>
<fo:inline absolute-position="absolute" height="6.25%"
left="35.95%" top="60.5%" margin-left="0pt" margin-right="0pt">
<fo:inline color="white" font-size="88.0%"
font-family="'Trebuchet MS'" margin-left="0pt" margin-right="0pt">Line
2</fo:inline>
</fo:inline>
</fo:block>
<fo:block-container absolute-position="absolute" height="5.5%"
width="38.95%" left="35.95%" top="74.0%">
<fo:block margin-left="0pt" margin-right="0pt"
unicode-bidi="embed" text-align="left"/>
</fo:block-container>
</fo:block>
</fo:block>
As far as I can tell it should draw the image and then draw two lines of
text over the image.
However in practice, the text appears below the image, not to mention all on
one line. I'm guessing that this is because they're fo:inline as opposed to
fo:block. I can't easily change this to be fo:block because the output is
from another library and it's not going to be a trivial exercise to
determine which ones I can change and which ones I can't.
Any ideas as to what might be causing this?
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]