[poppler] Creating PDF with poppler ?
Thomas Freitag
Thomas.Freitag at kabelmail.de
Thu Mar 31 04:54:33 PDT 2011
On 25.03.2011 21:42, Albert Astals Cid wrote:
> A Dilluns, 20 de desembre de 2010, Thomas Freitag va escriure:
>> Hi all!
> Hi
Hi again!
Sorry for this late but therefore now more correct answer. As you
probably know I was very busy implementing overprint, and after that I
took some "free poppler" days!
>
>> How I promised long time ago, here now a patch for the poppler writing
>> routines and some new helper function, together with two small sample
>> programs using them.
> I'm resending the patch because what you sent was unnecesarily big and scary
> (which diff program you use?).
I took now Your resent patch as base, completely reviewed it (hopefully
nothing missing) and add the small utility programs pdfextract and
pdfmerge to the patch after learning a little bit more about git. This
patch is now created under ubuntu, so hopefully it is not bigger as
necessary and not so scary. I also renamed the methods according to the
poppler naming conventions, and the utility programs now give up with an
error message, if the or one of the PDFs are encrypted instead of
creating unreadable PDF(s).
> Basically there are a few stilistic things i don't like (please don't use
> this->)
I removed them now.
> Also do you really need to have things like ExtractPage in PDFDoc? Not sure
> they make sense to me there
It would be a greater task to move it to pdfextract (and in addition all
the mark methods), but it is probably doable. But on the other hand
there are already routines like saveAs in PDFDoc, so I just rename it to
savePageAs to clearify it. But if You still insist to remove them, I'll
try it.
Hopefully we are not doing work twice. As I read once again Your
posting, I thought that I should do something more on it.
Thomas
> Albert
>
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110331/f8d0c036/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: writer.patch
Type: text/x-patch
Size: 31729 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110331/f8d0c036/attachment-0001.bin>
More information about the poppler
mailing list