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 #include "../include/fpdfxfa/fpdfxfa_doc.h" | 11 #include "../include/fpdfxfa/fpdfxfa_doc.h" |
11 | 12 |
12 #define FPDFSDK_UNSUPPORT_CALL 100 | 13 #define FPDFSDK_UNSUPPORT_CALL 100 |
13 | 14 |
14 class CFSDK_UnsupportInfo_Adapter { | 15 class CFSDK_UnsupportInfo_Adapter { |
15 public: | 16 public: |
16 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info) { | 17 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info) { |
17 m_unsp_info = unsp_info; | 18 m_unsp_info = unsp_info; |
18 } | 19 } |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 return PAGEMODE_USETHUMBS; | 199 return PAGEMODE_USETHUMBS; |
199 if (strPageMode.EqualNoCase("FullScreen")) | 200 if (strPageMode.EqualNoCase("FullScreen")) |
200 return PAGEMODE_FULLSCREEN; | 201 return PAGEMODE_FULLSCREEN; |
201 if (strPageMode.EqualNoCase("UseOC")) | 202 if (strPageMode.EqualNoCase("UseOC")) |
202 return PAGEMODE_USEOC; | 203 return PAGEMODE_USEOC; |
203 if (strPageMode.EqualNoCase("UseAttachments")) | 204 if (strPageMode.EqualNoCase("UseAttachments")) |
204 return PAGEMODE_USEATTACHMENTS; | 205 return PAGEMODE_USEATTACHMENTS; |
205 | 206 |
206 return PAGEMODE_UNKNOWN; | 207 return PAGEMODE_UNKNOWN; |
207 } | 208 } |
OLD | NEW |