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