| 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/fpdfapi.h" |
| 10 #include "../../core/include/fpdfapi/fpdf_module.h" | 11 #include "../../core/include/fpdfapi/fpdf_module.h" |
| 11 #include "../../core/include/fpdfapi/fpdf_pageobj.h" | 12 #include "../../core/include/fpdfapi/fpdf_pageobj.h" |
| 12 #include "../../core/include/fpdfapi/fpdf_parser.h" | 13 #include "../../core/include/fpdfapi/fpdf_parser.h" |
| 13 #include "../../core/include/fpdfapi/fpdf_render.h" | 14 #include "../../core/include/fpdfapi/fpdf_render.h" |
| 14 #include "../../core/include/fpdfapi/fpdf_serial.h" | 15 #include "../../core/include/fpdfapi/fpdf_serial.h" |
| 15 #include "../../core/include/fpdfapi/fpdfapi.h" | |
| 16 #include "../../core/include/fpdfdoc/fpdf_doc.h" | 16 #include "../../core/include/fpdfdoc/fpdf_doc.h" |
| 17 #include "../../core/include/fpdfdoc/fpdf_vt.h" | 17 #include "../../core/include/fpdfdoc/fpdf_vt.h" |
| 18 #include "../../core/include/fxge/fx_ge.h" | 18 #include "../../core/include/fxge/fx_ge.h" |
| 19 #include "../../core/include/fxge/fx_ge_win32.h" | 19 #include "../../core/include/fxge/fx_ge_win32.h" |
| 20 #include "../../public/fpdfview.h" | |
| 21 #include "../../xfa/include/fwl/adapter/fwl_adaptertimermgr.h" | 20 #include "../../xfa/include/fwl/adapter/fwl_adaptertimermgr.h" |
| 22 #include "../../xfa/include/fxbarcode/BC_BarCode.h" | 21 #include "../../xfa/include/fxbarcode/BC_BarCode.h" |
| 23 #include "../../xfa/include/fxfa/fxfa.h" | 22 #include "../../xfa/include/fxfa/fxfa.h" |
| 24 #include "../../xfa/include/fxgraphics/fx_graphics.h" | 23 #include "../../xfa/include/fxgraphics/fx_graphics.h" |
| 25 #include "../../xfa/include/fxjse/fxjse.h" | 24 #include "../../xfa/include/fxjse/fxjse.h" |
| 25 #include "public/fpdfview.h" |
| 26 | 26 |
| 27 #ifdef _WIN32 | 27 #ifdef _WIN32 |
| 28 #include <tchar.h> | 28 #include <tchar.h> |
| 29 #include <math.h> | 29 #include <math.h> |
| 30 #endif | 30 #endif |
| 31 | 31 |
| 32 // Convert a #FX_ARGB to a #FX_COLORREF. | 32 // Convert a #FX_ARGB to a #FX_COLORREF. |
| 33 #define FX_ARGBTOCOLORREF(argb) \ | 33 #define FX_ARGBTOCOLORREF(argb) \ |
| 34 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ | 34 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ |
| 35 (((FX_DWORD)argb & 0x000000FF) << 16)) | 35 (((FX_DWORD)argb & 0x000000FF) << 16)) |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 int rotate, | 105 int rotate, |
| 106 int flags, | 106 int flags, |
| 107 FX_BOOL bNeedToRestore, | 107 FX_BOOL bNeedToRestore, |
| 108 IFSDK_PAUSE_Adapter* pause); | 108 IFSDK_PAUSE_Adapter* pause); |
| 109 | 109 |
| 110 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); | 110 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); |
| 111 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); | 111 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); |
| 112 void ProcessParseError(FX_DWORD err_code); | 112 void ProcessParseError(FX_DWORD err_code); |
| 113 | 113 |
| 114 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ | 114 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ |
| OLD | NEW |