Could you show me more, I tried belows but all failed.
+ <fo:block>Some text here ..<fo:external-graphic baseline-shift="sub"
src="url({IMAGEPATH})"/></fo:block>
+ <fo:block><fo:inline baseline-shift="sub">Some text here
..</fo:inline><fo:external-graphic src="url({IMAGEPATH})"/></fo:block>
thanks,
Thang.
-----Original Message-----
From: Pascal Sancho [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 3:23 PM
To: [email protected]
Subject: RE: How to align text and <fo:external-graphic> within <fo:block> by
bottom
> -----Original Message-----
> From: Nguyen, Thang [mailto:[EMAIL PROTECTED]
>
> I layout a <fo:block> like this:
>
> <fo:block>Some text here ..<fo:external-graphic
> src="url({IMAGEPATH})"/>.</fo:block>
>
> The result is: the text & the image are aligned by the top of the
> block
>
> My question is how to align the text & the image by the bottom of the
> block.
Hi Thang,
Since display-align is not yet implemented for inlines FOs (both in FOP 0.20.5
and 0.92b), as a work around, you can play with baseline-shift property on your
fo:external-graphic, using negative values (FOP 0.92bà or 'sub' value (all FOP
versions).
HTH,
Pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This email may contain material that is confidential, privileged and/or
attorney work product for the sole use of the intended recipient. Any review,
reliance or distribution by others or forwarding without express permission is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]