File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes FOP query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "FOP query" Watch "FOP query" New topic
Author

FOP query

Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
Hi,
I just want to know if it is possible to develop pdf document and generating and subsequently printing any pie chart or graph in it using FOP and java ? withuot using any third part tool ??
Thanks


- Varun
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by varun Khanna:
Hi,
I just want to know if it is possible to develop pdf document and generating and subsequently printing any pie chart or graph in it using FOP and java ? withuot using any third part tool ??
Thanks

Not Clear!
One idea could be to dynamically generate pie chart or graph along with some text in an SVG format, the final output will be .SVG, you need SVG Viewer(free) to view the output, Can be done using FOP alone(see SVG examples in FOP package).
Other idea could be to use a third party tool to generate the image first, store it in a temp location and then embed it in a dynamically generated PDF document. Can be done with FOP and other thrid party tool,Why you want to avoid third party tool,there should be lot of license free third party tool for generating pie chart or images.Generating the image in PNG format is a good option for FOP.


Spritle Software Blogs
 
 
subject: FOP query