[poppler] poppler/qt: poppler-document.cc,1.15,1.16

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Apr 27 14:25:32 PDT 2007


Update of /cvs/poppler/poppler/qt
In directory kemper:/tmp/cvs-serv368/qt

Modified Files:
	poppler-document.cc 
Log Message:
        * glib/poppler-page.cc:
        * poppler/PSOutputDev.cc:
        * poppler/PSOutputDev.h:
        * qt/poppler-document.cc:
        * qt4/src/poppler-document.cc:
        * qt4/src/poppler-qt4.h:
        * utils/pdftohtml.cc:
        * utils/pdftops.cc:
        Add option to force rasterizing the pages when printing them
        Add functionality to output the title field on the PS file
        Only Qt4 frontend exposes the functionality

Bringing this features from KPDF 3.5.7 to poppler
Testers welcome
Patches for other frontends more than welcome
Comments and suggestions even more than welcome :-)


Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt/poppler-document.cc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- poppler-document.cc	25 Apr 2007 19:59:10 -0000	1.15
+++ poppler-document.cc	27 Apr 2007 21:25:30 -0000	1.16
@@ -317,7 +317,7 @@
 
 bool Document::print(const QString &file, QValueList<int> pageList, double hDPI, double vDPI, int rotate, int paperWidth, int paperHeight)
 {
-  PSOutputDev *psOut = new PSOutputDev(file.latin1(), data->doc.getXRef(), data->doc.getCatalog(), 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight);
+  PSOutputDev *psOut = new PSOutputDev(file.latin1(), data->doc.getXRef(), data->doc.getCatalog(), NULL, 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight);
   
   if (psOut->isOk()) {
     QValueList<int>::iterator it;



More information about the poppler mailing list