• 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

How to get background image in XSL FO

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 28260
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic