[Interest] Combine PDF files into a single PDF File

Michael Jackson imikejackson at gmail.com
Fri Mar 29 15:37:37 CET 2013


On Mar 29, 2013, at 4:44 AM, Alejandro Exojo wrote:

> 2013/3/28 Michael Jackson <imikejackson at gmail.com>:
>> I would like to take a bunch of PDF files and combine them into a single PDF file. Would this be possible with Qt? I see where I can print an HTML file to a PDF but I have 60 html files that I want to convert into a single PDF file.
>> 
>> Thanks for any pointers
> 
> Also, note that there is the Qt-style API in Poppler. I think that
> last versions support PDF manipulation as well as rendering:
> 
> http://people.freedesktop.org/~aacid/docs/qt4/
> 
> -- 
> Alejandro Exojo Piqueras
> 
> ModpoW, S.L.
> Technova LaSalle | Sant Joan de la Salle 42 | 08022 Barcelona | www.modpow.es

This issus has evidently been around for a long time:

http://lists.trolltech.com/qt-interest/2007-08/thread00754-0.html

I am basically trying the same thing. I went the QPainter route but telling a QTextBrowser to "render(&painter)" renders the widget and not the content, but I _did_ get a multi-page PDF on output so now I have all my pages, just nothing that is actually readable.

I'll keep digging for some combination of printing to the PDF and somehow combining each PDF? Dunno

Thanks
----
Mike Jackson




More information about the Interest mailing list