OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ | 7 #ifndef FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ |
8 #define FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ | 8 #define FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ |
9 | 9 |
10 #include "public/fpdfview.h" | 10 #include "public/fpdfview.h" |
11 #include "xfa/fxfa/include/fxfa.h" | 11 #include "xfa/fxfa/fxfa.h" |
12 | 12 |
13 class CPDFXFA_Document; | 13 class CPDFXFA_Document; |
14 class IJS_Context; | 14 class IJS_Context; |
15 | 15 |
16 class CPDFXFA_DocEnvironment : public IXFA_DocEnvironment { | 16 class CPDFXFA_DocEnvironment : public IXFA_DocEnvironment { |
17 public: | 17 public: |
18 CPDFXFA_DocEnvironment(CPDFXFA_Document*); | 18 CPDFXFA_DocEnvironment(CPDFXFA_Document*); |
19 ~CPDFXFA_DocEnvironment() override; | 19 ~CPDFXFA_DocEnvironment() override; |
20 | 20 |
21 // IXFA_DocEnvironment | 21 // IXFA_DocEnvironment |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 int fileType, | 103 int fileType, |
104 FPDF_DWORD encodeType, | 104 FPDF_DWORD encodeType, |
105 FPDF_DWORD flag); | 105 FPDF_DWORD flag); |
106 void ToXFAContentFlags(CFX_WideString csSrcContent, FPDF_DWORD& flag); | 106 void ToXFAContentFlags(CFX_WideString csSrcContent, FPDF_DWORD& flag); |
107 | 107 |
108 CPDFXFA_Document* const m_pDocument; // Not owned; | 108 CPDFXFA_Document* const m_pDocument; // Not owned; |
109 IJS_Context* m_pJSContext; | 109 IJS_Context* m_pJSContext; |
110 }; | 110 }; |
111 | 111 |
112 #endif // FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ | 112 #endif // FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ |
OLD | NEW |