• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Image sizes not descreasing in xsl fo

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic