[poppler] Printing support in poppler-qt

Albert Astals Cid aacid at kde.org
Wed May 31 13:03:59 PDT 2006


A Dimecres 31 Maig 2006 21:34, Stefan Kebekus va escriure:
> Hi,
>
> today I have ported the printing method from poppler-qt4 to poppler-qt.
> Would you consider applying the patch to the repository?


Do we really need

+  const char *of = file.latin1();
+  char *tf = new char[strlen(of)+10];
+  strcpy(tf, of);

doesn't using file.latin1() work?

> I would also like to make the print() method emit signals whenever a page
> is processed, so that the program can update its GUI. That would mean that
> we would have to turn poppler-document into a QObject. Are there any
> objections to this?

I don't see any particular problem, so where's the patch? ;-)

>
> Best,
>
> Stefan.


More information about the poppler mailing list