[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

fo:external-graphic

Subject: fo:external-graphic
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Sat, 1 Dec 2001 18:23:19 +0100
fo external graphic scaling
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.

What possibilities are there with FOP to center an image (maybe with
tables)? The example images.fo has centered pictures too, but I can't see
why. And if I replace one src with my src, my picture isn't centered
anymore.

What are the correct settings for scaling the picture up or down to the
max-values I want to have with preserving the aspect ratio?

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".

Does anyone know why I don't get the picture with XEP? I didn't found any
limitation of XEP.

Regards,

Joerg


 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) <=
      • <Possible follow-ups>
      • DPawson - Mon, 3 Dec 2001 09:44:05 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.