| 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 "../include/fsdk_define.h" | 8 #include "../include/fsdk_define.h" |
| 8 #include "../include/fpdf_ext.h" | |
| 9 #include "../include/fpdfxfa/fpdfxfa_doc.h" | 9 #include "../include/fpdfxfa/fpdfxfa_doc.h" |
| 10 | 10 |
| 11 #define FPDFSDK_UNSUPPORT_CALL 100 | 11 #define FPDFSDK_UNSUPPORT_CALL 100 |
| 12 | 12 |
| 13 class CFSDK_UnsupportInfo_Adapter | 13 class CFSDK_UnsupportInfo_Adapter |
| 14 { | 14 { |
| 15 public: | 15 public: |
| 16 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info){ m_unsp_info = un
sp_info;} | 16 CFSDK_UnsupportInfo_Adapter(UNSUPPORT_INFO* unsp_info){ m_unsp_info = un
sp_info;} |
| 17 // FX_BOOL NeedToPauseNow(); | 17 // FX_BOOL NeedToPauseNow(); |
| 18 void ReportError(int nErrorType); | 18 void ReportError(int nErrorType); |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 return PAGEMODE_USETHUMBS; | 225 return PAGEMODE_USETHUMBS; |
| 226 else if (strPageMode.EqualNoCase(FX_BSTR("FullScreen"))) | 226 else if (strPageMode.EqualNoCase(FX_BSTR("FullScreen"))) |
| 227 return PAGEMODE_FULLSCREEN; | 227 return PAGEMODE_FULLSCREEN; |
| 228 else if (strPageMode.EqualNoCase(FX_BSTR("UseOC"))) | 228 else if (strPageMode.EqualNoCase(FX_BSTR("UseOC"))) |
| 229 return PAGEMODE_USEOC; | 229 return PAGEMODE_USEOC; |
| 230 else if (strPageMode.EqualNoCase(FX_BSTR("UseAttachments"))) | 230 else if (strPageMode.EqualNoCase(FX_BSTR("UseAttachments"))) |
| 231 return PAGEMODE_USEATTACHMENTS; | 231 return PAGEMODE_USEATTACHMENTS; |
| 232 | 232 |
| 233 return PAGEMODE_UNKNOWN; | 233 return PAGEMODE_UNKNOWN; |
| 234 } | 234 } |
| OLD | NEW |