Thanks. Just for closure, this is how I got it working. My steps are as follows...
1. Export the slides to PNG. 2. Create a very basic xsl-fo document. 3. Run the xsl-fo through FOP to convert to a PDF. Pretty simple once you think about it. -Lou Yegor Kozlov <[email protected]> wrote on 2012-05-23 08:45:26 AM: > Yegor Kozlov <[email protected]> > 2012-05-23 08:46 AM > > Please respond to > "POI Users List" <[email protected]> > > To > > POI Users List <[email protected]>, > > cc > > Subject > > Re: pptx to pdf suggestions? > > The way to go is to export each slide to SVG and then create a > multi-page FO document referencing each image. > > PPTX2SVG is included in POI examples: > https://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/ > apache/poi/xslf/usermodel/PPTX2SVG.txt > > Yegor > > On Wed, May 23, 2012 at 3:42 PM, <[email protected]> wrote: > > Anyone have any suggestions for converting a pptx to pdf? I've been > > googling for a couple of days now and it seems like most solutions are > > using pay tools or command-line hacks. If I could I would like to keep it > > to POI/FOP and/or Batik, but I am having a hard time finding an efficient > > (and free) solution. > > > > I also have PNGs of each slide in the presentation if that helps. I've > > seen some posts about SVG to PDF which I could do if I did not have > > multiple SVGs/PNGs for each presentation - unless I am missing something. > > The closest I am so far is by creating FO XML and then referencing each > > png in it, but that seems like a roundabout way to get at it. > > > > Just looking to see if anyone has any insights that I am missing. > > > > Thanks, > > Lou > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
