[poppler] [PATCH] add new overload for PDFDoc::saveAs()

Pino Toscano toscano.pino at tiscali.it
Sat Jan 19 10:47:03 PST 2008


Hi,

while working on the Qt4 frontend, I noticed the newly created 
PDFDoc::saveAs() can save only to file (whose name is specified as 
parameter).
Though, what it really does is creating a FileOutStream and saving to that 
stream. As using an output stream directly could be useful for the Qt4 
frontend, I did the following patch (sadly not tested).

Comments? Blamings? Commit (since I'm still waiting for the account)?
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poppler-pdfdoc-saveas.diff
Type: text/x-diff
Size: 1502 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080119/5c8d6e6e/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080119/5c8d6e6e/attachment.pgp 


More information about the poppler mailing list