• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image sizes not descreasing in xsl fo

 
Soumya Madhu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic