diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-25 21:10:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-25 21:10:05 +0000 |
commit | 9ed6bd7150a9333cb28d149c98e3d316c3ededdf (patch) | |
tree | d8b293aaec7be2acc7645150a194d9625a344758 /core/fxge/cfx_windowsrenderdevice.h | |
parent | d7f3f1e1b99f1e10bfce83d779303c678965b57c (diff) | |
download | pdfium-9ed6bd7150a9333cb28d149c98e3d316c3ededdf.tar.xz |
Add PostScript PASSTHROUGH options to FPDF_SetPrintMode().
The existing PostScript modes write data into EMF comments. This
satisfies Chromium's use case, but other embedders want to write data
out via ExtEscape() in PASSTHROUGH mode.
BUG=pdfium:1068
Change-Id: I998035e99fbb84b16dcd244b750b476cecc3bd22
Reviewed-on: https://pdfium-review.googlesource.com/31299
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Diffstat (limited to 'core/fxge/cfx_windowsrenderdevice.h')
-rw-r--r-- | core/fxge/cfx_windowsrenderdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxge/cfx_windowsrenderdevice.h b/core/fxge/cfx_windowsrenderdevice.h index bbe13415c6..9701ca5186 100644 --- a/core/fxge/cfx_windowsrenderdevice.h +++ b/core/fxge/cfx_windowsrenderdevice.h @@ -19,6 +19,8 @@ enum WindowsPrintMode { kModeTextOnly = 1, kModePostScript2 = 2, kModePostScript3 = 3, + kModePostScript2PassThrough = 4, + kModePostScript3PassThrough = 5, }; class RenderDeviceDriverIface; |