Subject: Re: fo:external-graphic
From: David Tolpin <dvd@xxxxxxxxxxx>
Date: Mon, 3 Dec 2001 15:09:50 +0400 (AMT)
|
>
> Hi,
>
> I have a question concerning XSL-FO. It's about <fo:external-graphic>. I
> have a JPEG of unknown size and want to place it in the horizontal middle of
> the page (align="center"). But neither I get the correct scaling nor the
> JPEG centered. I found the attribute "display-align", but that's not
> implemented in FOP. With XEP I don't get any picture.
<fo:block align="center"><fo:external-graphic src="1.jpg"/></fo:block>
>
> I tried <fo:external-graphic src="1.jpg" width="22.7cm" height="12.4cm"/>
> and the not implemented attributes content-width="scale-to-fit",
> content-height="scale-to-fit" and scaling="uniform".
<fo:external-graphic src="1.jpg" content-width="22.7cm" content-height="12.4cm" scaling="uniform"/>
That should work with XEP smoothly.
If something does not work with XEP, please post your question to xep-support@xxxxxxxxxxx (this is a
mailing list, send a message to majordomo@xxxxxxxxxxx with words 'subscribe xep-support' in the BODY of
the message) with your fo and jpeg attached.
Either a team member or a XEP user will respond.
Sincerely,
David Tolpin
RenderX
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- fo:external-graphic
- Jörg Heinicke - Sat, 1 Dec 2001 12:23:31 -0500 (EST)
- David Tolpin - Mon, 3 Dec 2001 06:08:07 -0500 (EST) <=
- <Possible follow-ups>
- DPawson - Mon, 3 Dec 2001 09:44:05 -0500 (EST)
|
|