diff options
author | rbpotter <rbpotter@chromium.org> | 2017-07-11 10:04:29 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-11 17:22:12 +0000 |
commit | e8468c43cb3b14f4440456d19cb047150509949d (patch) | |
tree | c11fc22bfe770abf5321fceb32644dca5c34faa1 /core/fxge/cfx_windowsrenderdevice.h | |
parent | 00c3cfdbae074a379cab4edad0e4fa75d6127797 (diff) | |
download | pdfium-e8468c43cb3b14f4440456d19cb047150509949d.tar.xz |
Add Windows generic / text only printer driver support.
BUG=chromium:734850
Change-Id: Icc0947e2e99e77a36d8963fcf0b6d3deea161d3e
Reviewed-on: https://pdfium-review.googlesource.com/7194
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/cfx_windowsrenderdevice.h')
-rw-r--r-- | core/fxge/cfx_windowsrenderdevice.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/fxge/cfx_windowsrenderdevice.h b/core/fxge/cfx_windowsrenderdevice.h index 7156dcdc4e..f1e0cbdb7a 100644 --- a/core/fxge/cfx_windowsrenderdevice.h +++ b/core/fxge/cfx_windowsrenderdevice.h @@ -14,6 +14,13 @@ #include "core/fxge/cfx_renderdevice.h" +enum WindowsPrintMode { + kModeEmf = 0, + kModeTextOnly = 1, + kModePostScript2 = 2, + kModePostScript3 = 3, +}; + class IFX_RenderDeviceDriver; #if defined(PDFIUM_PRINT_TEXT_WITH_GDI) @@ -25,7 +32,7 @@ extern bool g_pdfium_print_text_with_gdi; extern PDFiumEnsureTypefaceCharactersAccessible g_pdfium_typeface_accessible_func; #endif -extern int g_pdfium_print_postscript_level; +extern int g_pdfium_print_mode; class CFX_WindowsRenderDevice : public CFX_RenderDevice { public: |