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_FSDK_DEFINE_H_ | 7 #ifndef FPDFSDK_FSDK_DEFINE_H_ |
8 #define FPDFSDK_FSDK_DEFINE_H_ | 8 #define FPDFSDK_FSDK_DEFINE_H_ |
9 | 9 |
10 #include "core/fpdfapi/parser/cpdf_parser.h" | 10 #include "core/fpdfapi/parser/cpdf_parser.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable); | 92 void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable); |
93 FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy); | 93 FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy); |
94 void FPDF_RenderPage_Retail(CPDF_PageRenderContext* pContext, | 94 void FPDF_RenderPage_Retail(CPDF_PageRenderContext* pContext, |
95 FPDF_PAGE page, | 95 FPDF_PAGE page, |
96 int start_x, | 96 int start_x, |
97 int start_y, | 97 int start_y, |
98 int size_x, | 98 int size_x, |
99 int size_y, | 99 int size_y, |
100 int rotate, | 100 int rotate, |
101 int flags, | 101 int flags, |
102 FX_BOOL bNeedToRestore, | 102 bool bNeedToRestore, |
103 IFSDK_PAUSE_Adapter* pause); | 103 IFSDK_PAUSE_Adapter* pause); |
104 | 104 |
105 void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code); | 105 void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code); |
106 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); | 106 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); |
107 void ProcessParseError(CPDF_Parser::Error err); | 107 void ProcessParseError(CPDF_Parser::Error err); |
108 | 108 |
109 #endif // FPDFSDK_FSDK_DEFINE_H_ | 109 #endif // FPDFSDK_FSDK_DEFINE_H_ |
OLD | NEW |