• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Image sizes not descreasing in xsl fo

 
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
 
A wop bop a lu bob a womp bam boom. Tutti frutti ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!