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