OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef FPDFSDK_INCLUDE_FSDK_DEFINE_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
8 #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
9 | 9 |
10 #include "core/include/fpdfapi/fpdf_module.h" | 10 #include "core/include/fpdfapi/fpdf_module.h" |
11 #include "core/include/fpdfapi/fpdf_pageobj.h" | 11 #include "core/include/fpdfapi/fpdf_pageobj.h" |
12 #include "core/include/fpdfapi/fpdf_parser.h" | 12 #include "core/include/fpdfapi/fpdf_parser.h" |
13 #include "core/include/fpdfapi/fpdf_render.h" | 13 #include "core/include/fpdfapi/fpdf_render.h" |
14 #include "core/include/fpdfapi/fpdf_serial.h" | 14 #include "core/include/fpdfapi/fpdf_serial.h" |
15 #include "core/include/fpdfdoc/fpdf_doc.h" | 15 #include "core/include/fpdfdoc/fpdf_doc.h" |
16 #include "core/include/fpdfdoc/fpdf_vt.h" | 16 #include "core/include/fpdfdoc/fpdf_vt.h" |
17 #include "core/include/fxge/fx_ge.h" | 17 #include "core/include/fxge/fx_ge.h" |
18 #include "core/include/fxge/fx_ge_win32.h" | 18 #include "core/include/fxge/fx_ge_win32.h" |
19 #include "public/fpdfview.h" | 19 #include "public/fpdfview.h" |
20 | 20 |
21 #ifdef PDF_ENABLE_XFA | 21 #ifdef PDF_ENABLE_XFA |
22 #include "../../xfa/include/fwl/adapter/fwl_adaptertimermgr.h" | |
23 #include "../../xfa/include/fxbarcode/BC_BarCode.h" | |
24 #include "../../xfa/include/fxfa/fxfa.h" | |
25 #include "../../xfa/include/fxgraphics/fx_graphics.h" | |
26 #include "../../xfa/include/fxjse/fxjse.h" | |
27 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" | 22 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" |
28 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" | 23 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" |
| 24 #include "xfa/include/fwl/adapter/fwl_adaptertimermgr.h" |
| 25 #include "xfa/include/fxbarcode/BC_BarCode.h" |
| 26 #include "xfa/include/fxfa/fxfa.h" |
| 27 #include "xfa/include/fxgraphics/fx_graphics.h" |
| 28 #include "xfa/include/fxjse/fxjse.h" |
29 #endif // PDF_ENABLE_XFA | 29 #endif // PDF_ENABLE_XFA |
30 | 30 |
31 #ifdef _WIN32 | 31 #ifdef _WIN32 |
32 #include <tchar.h> | 32 #include <tchar.h> |
33 #include <math.h> | 33 #include <math.h> |
34 #endif | 34 #endif |
35 | 35 |
36 // Convert a #FX_ARGB to a #FX_COLORREF. | 36 // Convert a #FX_ARGB to a #FX_COLORREF. |
37 #define FX_ARGBTOCOLORREF(argb) \ | 37 #define FX_ARGBTOCOLORREF(argb) \ |
38 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ | 38 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 int rotate, | 132 int rotate, |
133 int flags, | 133 int flags, |
134 FX_BOOL bNeedToRestore, | 134 FX_BOOL bNeedToRestore, |
135 IFSDK_PAUSE_Adapter* pause); | 135 IFSDK_PAUSE_Adapter* pause); |
136 | 136 |
137 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); | 137 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); |
138 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); | 138 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); |
139 void ProcessParseError(FX_DWORD err_code); | 139 void ProcessParseError(FX_DWORD err_code); |
140 | 140 |
141 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ | 141 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
OLD | NEW |