You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Peuß, Thomas" <TP...@airplus.de> on 2000/09/13 09:17:22 UTC

Alignment of fo:external-image objects

Hello!

Where can I set the alignment for fo:external-image-elements? The
text-align-attribute has no effect.

CU
Thomas

Re: Alignment of fo:external-image objects

Posted by Keiron Liddle <ke...@aftexsw.com>.
"Peuß, Thomas" wrote:

> Where can I set the alignment for fo:external-image-elements? The
> text-align-attribute has no effect.

To set the alignment you should use the text-align for horizontal
alignment and vertical-align for the vertical alignment.
Of course this does not work yet, since it has not been implemented.

Keiron.


[BUG] Re: Alignment of fo:external-image objects

Posted by Pricilla Yin <pr...@transcanada.com>.
I assumed you were referring to fo:external-graphic element. The
"text-align" attribute is the attribute used for setting the alignment.
If you set it to be "center", the image is aligned to the left (start),
If set it to "start", the image is centered. It works correctly with
"end".
I think this is a bug with fop-0_14_0.jar, so I also posted this reply
as a bug report.

Pricilla Yin

"Peuß, Thomas" wrote:

> Hello!
>
> Where can I set the alignment for fo:external-image-elements? The
> text-align-attribute has no effect.
>
> CU
> Thomas