summaryrefslogtreecommitdiff
path: root/public/fpdfview.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-05 17:21:36 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-08 14:37:55 +0000
commitd1c9b45aa2dc3a3d6824059e1e8f1f046c59a4f3 (patch)
treed2a693de2ce594caeee7843fcecb98ec5944a594 /public/fpdfview.h
parent2df760fea931b546d290e797b8c216530c4e13c1 (diff)
downloadpdfium-d1c9b45aa2dc3a3d6824059e1e8f1f046c59a4f3.tar.xz
Add raw PostScript output to pdfium_test on Windows.
Activated by --ps2 and --ps3 for PostScript level 2 and 3, respectively. The raw output is not formatted in a way for most PostScript processing tools to recognize as actually PostScript. Also fix the type of the parameter to FPDF_SetPrintPostscriptLevel() even though it ends up being a no-op. Change-Id: Iaa34fd3dfaedad2b016fefe1227cbed9c974ae2a Reviewed-on: https://pdfium-review.googlesource.com/4996 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'public/fpdfview.h')
-rw-r--r--public/fpdfview.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/fpdfview.h b/public/fpdfview.h
index 0ed9187f35..13e4f1f5f1 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -248,8 +248,7 @@ DLLEXPORT void STDCALL FPDF_SetPrintTextWithGDI(FPDF_BOOL use_gdi);
// All other values are invalid.
// Return value:
// True if successful, false if unsucessful (typically invalid input).
-DLLEXPORT FPDF_BOOL STDCALL
-FPDF_SetPrintPostscriptLevel(FPDF_BOOL postscript_level);
+DLLEXPORT FPDF_BOOL STDCALL FPDF_SetPrintPostscriptLevel(int postscript_level);
#endif // defined(_WIN32)
// Function: FPDF_LoadDocument