File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get background image in XSL FO

 
priby mathew
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings to all.

I am using FOP 0.20.5 and I am trying to add a background image with the following code:



But I am not able to get the background image. I see only the text.

Any help appreciated.

Thanks in advance
priby
[ September 25, 2008: Message edited by: priby mathew ]
 
priby mathew
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or is there any way to put background image for a table-cell (when using fop 0.20.5)???
[ September 25, 2008: Message edited by: priby mathew ]
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No idea, but have you tried a recent version of FOP? There have been oodles of improvements since 0.20.5 (which was released more than 5 years ago).
 
priby mathew
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually my client application uses fop 0.20.5 and there are around hundreds of XSL FO files.

If I move to a higher version of fop, I doubt whether it would affect the already existing XSL FOs which are running on fop 0.20.5
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13044
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Apache FOP project has an active user mailing list. You can ask the question there or search the mailing list archives.

Bill
 
priby mathew
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.

Actually there was some problem with the image file.

With fop 0.20.5 version and with a different image file Now I am able to get the background image with the following code snippet:

 
francisco zenha
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need to set an background-image that is set in an xml. I have an xslt file that gets information from an XML and one of that information is the path to an image. Ho
 
Paul Clapham
Sheriff
Pie
Posts: 20158
23
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Francisco, that isn't a helpful addition to this thread. It doesn't address the original question in any way. If you have a question, please start a new thread to ask it.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic