wood burning stoves*
The moose likes XML and Related Technologies and the fly likes Image sizes not descreasing in xsl fo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Image sizes not descreasing in xsl fo" Watch "Image sizes not descreasing in xsl fo" New topic
Author

Image sizes not descreasing in xsl fo

Soumya Madhu
Greenhorn

Joined: Dec 24, 2008
Posts: 7
Hi,

I am using fop 0.20.5.

<fo:external-graphic>
<xsl:attribute name="src">
<xsl:value-of select="//data/complogo"/>
</xsl:attribute>
</fo:external-graphic>

In my RTF document the logo is showing its actual size. I need to specify the height and width of this logo and want to placed in the first table cell out of 3

--------------------------------------------------------------------------------------------------------------------------------
| | | |
| | | |
| Logo here | Address here | Name of document here |
| | | |
| | | |
--------------------------------------------------------------------------------------------------------------------------------

Now i can see only a part of logo as it is showing actual size.

After that I tried the following way:

<fo:external-graphic src="tti.jpg" content-height="1.5in" content-width="3in" vertical-align="left">
</fo:external-graphic>

this also not worked.
I need to use higher version(.95) of fop for that? if I use it will affect existing xsl ?
Any one please help me.

Thanks
Soumya
 
 
subject: Image sizes not descreasing in xsl fo