[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Graphics scaling on XSLFO - need suggestions
Hi Angela: I use XEP 4.4 too. The xml for the graphics has: <graphic href="2367.tif" height="8.35in" width="7.5in"/> And in the XSLFO i use <fo:external-graphic> My code has <fo:external-graphic content-height="{@height}" content-width="{@width}" src="url({@href})"/> Please let me know if there is anything wrong in this construct. --- Angela Williams <Angela.Williams@xxxxxxxxxxxxxxxxxx> wrote: > I use XEP 4.4 and scale the content-height > successfully. > > -----Original Message----- > From: ms [mailto:mina_hurray@xxxxxxxxx] > Sent: Friday, February 09, 2007 10:57 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: Graphics scaling on XSLFO - need > suggestions > > Hello all: > > Thank you for your reply. I use XEP. And I did try > setting just the content-width and still get the > same > error.I will check the XEP forum. > > > --- Jay Bryant <jay@xxxxxxxxxxxx> wrote: > > > > Hi all: > > > > > > I am having issues with displaying graphics on > the > > PDF > > > using XSLFO. A graphic measuring 7.5in by 8.35in > > gives > > > a "no space for element to recover" error while > > > generating the PDF using XSLFO. Can anybody > point > > me > > > to a forum where I can post these kind of issues > > or > > > can anyone on this list give me some ideas? > > > > > > Thanks in advance > > > > Hi, Mina, > > > > It would help if you would mention which FO > > processor you use, because the > > answer to your problem probably varies by > processor. > > However, you can try a > > couple things that may work regardless of which > > processor you use. (Also, I > > assume that you are using the external-graphic > > element.) > > > > First, try setting the content-width attribute to > > whatever width you want. > > The height should scale automatically. You can > also > > try setting the width > > attribute (though that's really for the bounding > box > > around the image). > > > > This is the right place for FO questions, by the > > way. However, whatever > > processor you use very probably has a mailing list > > or forum where folks who > > know the quirks of that tool can provide more > > specific answers. > > > > HTH > > > > Jay Bryant > > Bryant Communication Services > > > > > > > > > ________________________________________________________________________ > ____________ > Don't get soaked. Take a quick peak at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > > ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|