[poppler] poppler/utils: pdftohtml.cc,1.7,1.8 pdftops.cc,1.6,1.7

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


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

Modified Files:
	pdftohtml.cc pdftops.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: pdftohtml.cc
===================================================================
RCS file: /cvs/poppler/poppler/utils/pdftohtml.cc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pdftohtml.cc	25 Apr 2007 19:59:10 -0000	1.7
+++ pdftohtml.cc	27 Apr 2007 21:25:30 -0000	1.8
@@ -318,7 +318,7 @@
     // XXX
     // globalParams->setPSNoText(gTrue);
     psOut = new PSOutputDev(psFileName->getCString(), doc->getXRef(),
-			    doc->getCatalog(), firstPage, lastPage, psModePS, w, h);
+			    doc->getCatalog(), NULL, firstPage, lastPage, psModePS, w, h);
     doc->displayPages(psOut, firstPage, lastPage, 72, 72, 0,
 		      gTrue, gFalse, gFalse);
     delete psOut;

Index: pdftops.cc
===================================================================
RCS file: /cvs/poppler/poppler/utils/pdftops.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- pdftops.cc	25 Apr 2007 19:59:11 -0000	1.6
+++ pdftops.cc	27 Apr 2007 21:25:30 -0000	1.7
@@ -319,7 +319,7 @@
 
   // write PostScript file
   psOut = new PSOutputDev(psFileName->getCString(), doc->getXRef(),
-			  doc->getCatalog(), firstPage, lastPage, mode,
+			  doc->getCatalog(), NULL, firstPage, lastPage, mode,
 			  paperWidth,
 			  paperHeight,
 			  duplex);



More information about the poppler mailing list