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 _XFA_DOCUMENT_H | 7 #ifndef _XFA_DOCUMENT_H |
8 #define _XFA_DOCUMENT_H | 8 #define _XFA_DOCUMENT_H |
9 class IXFA_DocParser; | 9 class IXFA_DocParser; |
10 class CXFA_LayoutProcessor; | 10 class CXFA_LayoutProcessor; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 #define XFA_DOCFLAG_StrictScoping 0x0001 | 99 #define XFA_DOCFLAG_StrictScoping 0x0001 |
100 #define XFA_DOCFLAG_HasInteractive 0x0002 | 100 #define XFA_DOCFLAG_HasInteractive 0x0002 |
101 #define XFA_DOCFLAG_Interactive 0x0004 | 101 #define XFA_DOCFLAG_Interactive 0x0004 |
102 #define XFA_DOCFLAG_Scripting 0x0008 | 102 #define XFA_DOCFLAG_Scripting 0x0008 |
103 class CScript_DataWindow; | 103 class CScript_DataWindow; |
104 class CScript_EventPseudoModel; | 104 class CScript_EventPseudoModel; |
105 class CScript_HostPseudoModel; | 105 class CScript_HostPseudoModel; |
106 class CScript_LogPseudoModel; | 106 class CScript_LogPseudoModel; |
107 class CScript_LayoutPseudoModel; | 107 class CScript_LayoutPseudoModel; |
108 class CScript_SignaturePseudoModel; | 108 class CScript_SignaturePseudoModel; |
109 class CXFA_Document : public IXFA_ObjFactory, public CFX_Object | 109 class CXFA_Document : public IXFA_ObjFactory |
110 { | 110 { |
111 public: | 111 public: |
112 CXFA_Document(IXFA_DocParser *pParser); | 112 CXFA_Document(IXFA_DocParser *pParser); |
113 ~CXFA_Document(); | 113 ~CXFA_Document(); |
114 CXFA_Node* GetRoot() const | 114 CXFA_Node* GetRoot() const |
115 { | 115 { |
116 return m_pRootNode; | 116 return m_pRootNode; |
117 } | 117 } |
118 IXFA_DocParser* GetParser() const | 118 IXFA_DocParser* GetParser() const |
119 { | 119 { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 CScript_HostPseudoModel* m_pScriptHost; | 168 CScript_HostPseudoModel* m_pScriptHost; |
169 CScript_LogPseudoModel* m_pScriptLog; | 169 CScript_LogPseudoModel* m_pScriptLog; |
170 CScript_LayoutPseudoModel* m_pScriptLayout; | 170 CScript_LayoutPseudoModel* m_pScriptLayout; |
171 CScript_SignaturePseudoModel* m_pScriptSignature; | 171 CScript_SignaturePseudoModel* m_pScriptSignature; |
172 CXFA_NodeSet m_rgPurgeNodes; | 172 CXFA_NodeSet m_rgPurgeNodes; |
173 XFA_VERSION m_eCurVersionMod
e; | 173 XFA_VERSION m_eCurVersionMod
e; |
174 FX_DWORD m_dwDocFlags; | 174 FX_DWORD m_dwDocFlags; |
175 friend class CXFA_SimpleParser; | 175 friend class CXFA_SimpleParser; |
176 }; | 176 }; |
177 #endif | 177 #endif |
OLD | NEW |