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 #include "public/fpdf_ext.h" | 7 #include "public/fpdf_ext.h" |
8 | 8 |
9 #include "../include/fsdk_define.h" | |
10 #include "core/include/fxcrt/fx_xml.h" | 9 #include "core/include/fxcrt/fx_xml.h" |
| 10 #include "fpdfsdk/include/fsdk_define.h" |
11 | 11 |
12 #define FPDFSDK_UNSUPPORT_CALL 100 | 12 #define FPDFSDK_UNSUPPORT_CALL 100 |
13 | 13 |
14 class CFSDK_UnsupportInfo_Adapter { | 14 class CFSDK_UnsupportInfo_Adapter { |
15 public: | 15 public: |
16 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info) { | 16 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info) { |
17 m_unsp_info = unsp_info; | 17 m_unsp_info = unsp_info; |
18 } | 18 } |
19 // FX_BOOL NeedToPauseNow(); | 19 // FX_BOOL NeedToPauseNow(); |
20 void ReportError(int nErrorType); | 20 void ReportError(int nErrorType); |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 return PAGEMODE_USETHUMBS; | 205 return PAGEMODE_USETHUMBS; |
206 if (strPageMode.EqualNoCase("FullScreen")) | 206 if (strPageMode.EqualNoCase("FullScreen")) |
207 return PAGEMODE_FULLSCREEN; | 207 return PAGEMODE_FULLSCREEN; |
208 if (strPageMode.EqualNoCase("UseOC")) | 208 if (strPageMode.EqualNoCase("UseOC")) |
209 return PAGEMODE_USEOC; | 209 return PAGEMODE_USEOC; |
210 if (strPageMode.EqualNoCase("UseAttachments")) | 210 if (strPageMode.EqualNoCase("UseAttachments")) |
211 return PAGEMODE_USEATTACHMENTS; | 211 return PAGEMODE_USEATTACHMENTS; |
212 | 212 |
213 return PAGEMODE_UNKNOWN; | 213 return PAGEMODE_UNKNOWN; |
214 } | 214 } |
OLD | NEW |