venki srigiri wrote: > hi Techies, > > > please clarify me on these things..is iText will fulfill following > things? if yes it would be more help full. > --------java > > 1.) a document need to be created dynamically. > 2.) this document will contains header and footer. > 3.) header incluedes images also. > 4.) body contains table and stylish headings and some pie charts. > > Reg, > venkat Hi Venkat,
Yes! iText will handle this requirement very easily, because the iText developers are beyond awesome, they're insanely great. Try this (you might need to compile the latest sources from SVN, but you're going to like the new features, I can assure you): ITextDocument doc = ITextDocument.createUberDocInstance(); doc.addHeaderAndFooter(); doc.getHeader().addImageAtOptimalLocation(yourImageGoesHere); doc.getFooter().addAutoPageNumbering(); // you didn't ask for this, but it is so easy to add I thought why not? doc.getBody().addTable(yourTableGoesHere); doc.getBody().setStylishHeadings(true); doc.getBody().addPieChart(yourPieChartGoesHere); // don't use JFreeChart, too much sarcasm in the support forum doc.exportToMSWord(MSWord.detectInstalledVersion(), new File(yourFileNameGoesHere)); There's NOTHING else for you to do. It's almost unbelievable! Best regards, Dave P.S. In all seriousness, iText is a great piece of software that is incredibly well documented. It will do the things you want, but you'll have to invest some time learning how it works (buying Bruno's book would be a good start, and almost a trivial amount of money in the scheme of software development). It *might* be that you want to move up the food chain to a report generator such as JasperReports or Pentaho Report Designer...or stay at the slightly lower level with iText and gain the extra flexibility that is possible when you don't have to fit into the constraints of the report generators such as Jasper and Pentaho (Windward Reports might be an option too). If you investigate all three (or four) options, then you'll have several alternatives to use in the future when you are faced with a project deadline. Good luck. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/