Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 2970473002: Add generic text printing (Closed)
Patch Set: Clean up Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pdf/pdfium/pdfium_engine.cc
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc
index c4f8d644a2b2e7a3ad23f0922ed76ad8bced8231..50530db0a4b80f3c172881aaf6e0ebc202ed38b4 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -4122,6 +4122,10 @@ void PDFiumEngineExports::SetPDFUseGDIPrinting(bool enable) {
FPDF_SetPrintTextWithGDI(enable);
}
+void PDFiumEngineExports::SetPDFUseTextOnlyPrinting(bool enable) {
+ FPDF_SetPrintTextOnly(enable);
+}
+
void PDFiumEngineExports::SetPDFPostscriptPrintingLevel(int postscript_level) {
FPDF_SetPrintPostscriptLevel(postscript_level);
}

Powered by Google App Engine
This is Rietveld 408576698