xsl-list
[Top] [All Lists]

RE: [xsl] Graphics scaling on XSLFO - need suggestions

2007-02-09 12:20:08
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="{(_at_)height}"
content-width="{(_at_)width}" src="url({(_at_)href})"/>

Please let me know if there is anything wrong in this
construct. 

--- Angela Williams
<Angela(_dot_)Williams(_at_)the401kcompany(_dot_)com> wrote:

I use XEP 4.4 and scale the content-height
successfully.

-----Original Message-----
From: ms [mailto:mina_hurray(_at_)yahoo(_dot_)com] 
Sent: Friday, February 09, 2007 10:57 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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(_at_)bryantcs(_dot_)com> 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 





--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:

<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





 

________________________________________________________________________
____________
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


--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--