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 #ifndef FPDFSDK_FPDFXFA_CPDFXFA_DOCUMENT_H_ | 7 #ifndef FPDFSDK_FPDFXFA_CPDFXFA_DOCUMENT_H_ |
8 #define FPDFSDK_FPDFXFA_CPDFXFA_DOCUMENT_H_ | 8 #define FPDFSDK_FPDFXFA_CPDFXFA_DOCUMENT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h" | 12 #include "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h" |
13 #include "xfa/fxfa/xfa_ffdoc.h" | 13 #include "xfa/fxfa/xfa_ffdoc.h" |
14 | 14 |
15 class CPDFSDK_Document; | 15 class CPDFSDK_Document; |
16 class CPDFSDK_Environment; | 16 class CPDFSDK_FormFillEnvironment; |
17 class CPDFXFA_App; | 17 class CPDFXFA_App; |
18 class CPDFXFA_Page; | 18 class CPDFXFA_Page; |
19 class CXFA_FFDocHandler; | 19 class CXFA_FFDocHandler; |
20 class IJS_Runtime; | 20 class IJS_Runtime; |
21 class IJS_Context; | 21 class IJS_Context; |
22 | 22 |
23 enum LoadStatus { | 23 enum LoadStatus { |
24 FXFA_LOADSTATUS_PRELOAD = 0, | 24 FXFA_LOADSTATUS_PRELOAD = 0, |
25 FXFA_LOADSTATUS_LOADING, | 25 FXFA_LOADSTATUS_LOADING, |
26 FXFA_LOADSTATUS_LOADED, | 26 FXFA_LOADSTATUS_LOADED, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 CPDFXFA_App* const m_pApp; | 84 CPDFXFA_App* const m_pApp; |
85 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; | 85 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; |
86 LoadStatus m_nLoadStatus; | 86 LoadStatus m_nLoadStatus; |
87 int m_nPageCount; | 87 int m_nPageCount; |
88 | 88 |
89 // Must be destroy before |m_pSDKDoc|. | 89 // Must be destroy before |m_pSDKDoc|. |
90 CPDFXFA_DocEnvironment m_DocEnv; | 90 CPDFXFA_DocEnvironment m_DocEnv; |
91 }; | 91 }; |
92 | 92 |
93 #endif // FPDFSDK_FPDFXFA_CPDFXFA_DOCUMENT_H_ | 93 #endif // FPDFSDK_FPDFXFA_CPDFXFA_DOCUMENT_H_ |
OLD | NEW |