Sep 15, 2005 #1 TomBarrand Programmer Aug 9, 2000 162 GB Hi, Does anyone know of a way to convert an Excel (xls) file to a PDF document using Java? Cheers
Sep 15, 2005 #2 sedj Programmer Aug 6, 2002 5,610 There are no "core" libraries to do it, and I don't know of any 3rd party APIs either (try a google ?). If I were doing it, I would probably use POI ( http://jakarta.apache.org/poi/hssf/ ) to read the Excel file's data, and then use iText ( http://www.lowagie.com/iText/ ) to generate a PDF from the data. Bear in mind though, this is no simple task ! -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
There are no "core" libraries to do it, and I don't know of any 3rd party APIs either (try a google ?). If I were doing it, I would probably use POI ( http://jakarta.apache.org/poi/hssf/ ) to read the Excel file's data, and then use iText ( http://www.lowagie.com/iText/ ) to generate a PDF from the data. Bear in mind though, this is no simple task ! -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk