[poppler] Printing support in poppler-qt

Stefan Kebekus stefan.kebekus at math.uni-koeln.de
Wed May 31 22:11:50 PDT 2006


On Wednesday 31 May 2006 22:03, Albert Astals Cid wrote:
>
> 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?

The trouble is, file.latin1() returns a "const char *", but the method we're 
calling takes a "char *".

> > 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? ;-)

On my way. But it'll take me a few days, so maybe we can commit that patch 
meanwhile?

Stefan.
-- 
Universität zu Köln
Mathematisches Institut
Weyertal 86-90
50931  Köln / Germany

Phone: +49 (0)221 470-2890
http://www.mi.uni-koeln.de/~kebekus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20060601/24797a8c/attachment.pgp


More information about the poppler mailing list