Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get background image in XSL FO

 
priby mathew
Greenhorn
Posts: 25
  • 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
  • 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
Posts: 42968
73
  • 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
  • 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: 13071
6
  • 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
  • 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
  • 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
Posts: 21296
32
Eclipse IDE Firefox Browser MySQL Database
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic