You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Sells, Fred" <fr...@adventistcare.org> on 2003/08/23 00:42:28 UTC

absolute-position bug?

I need to use absolute-position to put an address in the right spot for a
window envelope.  I tried the following using fop 0.20.5. I cannot seem to
get it to move from the top-left corner of the flow.  What am I missing?

<fo:flow flow-name="xsl-region-body" font-size="12pt" >

<xsl:for-each select="letters">
<xsl:for-each select="letter">

<fo:block-container absolute-position="absolute" top="3.0in" height="2.0in"

                     left="1.0in" width="3.0in" background-color="red">
<fo:block>  zzzzzzzzzzzzzzzzzzzzzzzzz  aaaaaaaaaa aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaa dddddddddddd dddddddddddddddd dddddddddddd ddddddddddd
ddddddddd
aaaaaaaaaaaaa dddddddddddd dddddddddddddddd dddddddddddd ddddddddddd
ddddddddd
aaaaaaaaaaaaa dddddddddddd dddddddddddddddd dddddddddddd ddddddddddd
ddddddddd
aaaaaaaaaaaaa dddddddddddd dddddddddddddddd dddddddddddd ddddddddddd
ddddddddd
aaaaaaaaaaaaa dddddddddddd dddddddddddddddd dddddddddddd ddddddddddd
ddddddddd
</fo:block>
</fo:block-container>

...

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: absolute-position bug?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Sells, Fred wrote:

 >> I need to use absolute-position to put an address in the right spot for a
 >> window envelope.  I tried the following using fop 0.20.5. I cannot seem to
 >> get it to move from the top-left corner of the flow.  What am I missing?
 >>
 >> <fo:block-container absolute-position="absolute" top="3.0in" height="2.0in"
 >>
 >>                      left="1.0in" width="3.0in" background-color="red">


Use the shorthand position="absolute", which is implemented.
Look into the FOP examples for more info.

J.Pietschmann




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


RE: absolute-position bug?

Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
>I need to use absolute-position to put an address in the right spot for a
>window envelope.  I tried the following using fop 0.20.5. I cannot seem to
>get it to move from the top-left corner of the flow.  What am I missing?

As already indicated, absolute-position not implemented, but I do think the
desired
effect can easily be achieved by using a <fo:table>.

Greetz,

Andreas Delmelle


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


RE: absolute-position bug?

Posted by Victor Mote <vi...@outfitr.com>.
Sells, Fred wrote:

> I need to use absolute-position to put an address in the right spot for a
> window envelope.  I tried the following using fop 0.20.5. I cannot seem to
> get it to move from the top-left corner of the flow.  What am I missing?

Probably:
http://xml.apache.org/fop/compliance.html#fo-property-absolute-position
where absolute-position is described as not being implemented in FOP.

Victor Mote


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org