summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2007-04-27 21:25:30 +0000
committerAlbert Astals Cid <aacid@kde.org>2007-04-27 21:25:30 +0000
commit877d6b202a75eb12119b16e740f85cc8b477d589 (patch)
treeca280b6f03f4f71f02e43daf5159facf11174a5c /utils
parent99053be5357235c47a87775985646ef8d9880ed9 (diff)
* 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 :-)
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftohtml.cc2
-rw-r--r--utils/pdftops.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/pdftohtml.cc b/utils/pdftohtml.cc
index 4e616b2f..52c5f8b7 100644
--- a/utils/pdftohtml.cc
+++ b/utils/pdftohtml.cc
@@ -318,7 +318,7 @@ int main(int argc, char *argv[]) {
// 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;
diff --git a/utils/pdftops.cc b/utils/pdftops.cc
index 6cef1e9d..6af59179 100644
--- a/utils/pdftops.cc
+++ b/utils/pdftops.cc
@@ -319,7 +319,7 @@ int main(int argc, char *argv[]) {
// write PostScript file
psOut = new PSOutputDev(psFileName->getCString(), doc->getXRef(),
- doc->getCatalog(), firstPage, lastPage, mode,
+ doc->getCatalog(), NULL, firstPage, lastPage, mode,
paperWidth,
paperHeight,
duplex);