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_FXFA_PARSER_XFA_DOCUMENT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_DOCUMENT_H_ |
8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_H_ | 8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_H_ |
9 | 9 |
10 #include "xfa/fxfa/include/fxfa.h" | 10 #include "xfa/fxfa/include/fxfa.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 CXFA_Object* GetXFAObject(XFA_HashCode wsNodeNameHash); | 70 CXFA_Object* GetXFAObject(XFA_HashCode wsNodeNameHash); |
71 void AddPurgeNode(CXFA_Node* pNode); | 71 void AddPurgeNode(CXFA_Node* pNode); |
72 FX_BOOL RemovePurgeNode(CXFA_Node* pNode); | 72 FX_BOOL RemovePurgeNode(CXFA_Node* pNode); |
73 void PurgeNodes(); | 73 void PurgeNodes(); |
74 bool HasFlag(uint32_t dwFlag) { return (m_dwDocFlags & dwFlag) == dwFlag; } | 74 bool HasFlag(uint32_t dwFlag) { return (m_dwDocFlags & dwFlag) == dwFlag; } |
75 void SetFlag(uint32_t dwFlag, FX_BOOL bOn = TRUE); | 75 void SetFlag(uint32_t dwFlag, FX_BOOL bOn = TRUE); |
76 FX_BOOL IsInteractive(); | 76 FX_BOOL IsInteractive(); |
77 XFA_VERSION GetCurVersionMode() { return m_eCurVersionMode; } | 77 XFA_VERSION GetCurVersionMode() { return m_eCurVersionMode; } |
78 XFA_VERSION RecognizeXFAVersionNumber(CFX_WideString& wsTemplateNS); | 78 XFA_VERSION RecognizeXFAVersionNumber(CFX_WideString& wsTemplateNS); |
79 CXFA_LocaleMgr* GetLocalMgr(); | 79 CXFA_LocaleMgr* GetLocalMgr(); |
80 CXFA_Node* CreateNode(uint32_t dwPacket, XFA_ELEMENT eElement); | 80 CXFA_Node* CreateNode(uint32_t dwPacket, XFA_Element eElement); |
81 CXFA_Node* CreateNode(const XFA_PACKETINFO* pPacket, XFA_ELEMENT eElement); | 81 CXFA_Node* CreateNode(const XFA_PACKETINFO* pPacket, XFA_Element eElement); |
82 void DoProtoMerge(); | 82 void DoProtoMerge(); |
83 CXFA_Node* GetNodeByID(CXFA_Node* pRoot, const CFX_WideStringC& wsID); | 83 CXFA_Node* GetNodeByID(CXFA_Node* pRoot, const CFX_WideStringC& wsID); |
84 void DoDataMerge(); | 84 void DoDataMerge(); |
85 void DoDataRemerge(FX_BOOL bDoDataMerge); | 85 void DoDataRemerge(FX_BOOL bDoDataMerge); |
86 CXFA_Node* DataMerge_CopyContainer(CXFA_Node* pTemplateNode, | 86 CXFA_Node* DataMerge_CopyContainer(CXFA_Node* pTemplateNode, |
87 CXFA_Node* pFormNode, | 87 CXFA_Node* pFormNode, |
88 CXFA_Node* pDataScope, | 88 CXFA_Node* pDataScope, |
89 FX_BOOL bOneInstance = FALSE, | 89 FX_BOOL bOneInstance = FALSE, |
90 FX_BOOL bDataMerge = TRUE, | 90 FX_BOOL bDataMerge = TRUE, |
91 FX_BOOL bUpLevel = TRUE); | 91 FX_BOOL bUpLevel = TRUE); |
(...skipping 20 matching lines...) Expand all Loading... |
112 CScript_LogPseudoModel* m_pScriptLog; | 112 CScript_LogPseudoModel* m_pScriptLog; |
113 CScript_LayoutPseudoModel* m_pScriptLayout; | 113 CScript_LayoutPseudoModel* m_pScriptLayout; |
114 CScript_SignaturePseudoModel* m_pScriptSignature; | 114 CScript_SignaturePseudoModel* m_pScriptSignature; |
115 CXFA_NodeSet m_PurgeNodes; | 115 CXFA_NodeSet m_PurgeNodes; |
116 XFA_VERSION m_eCurVersionMode; | 116 XFA_VERSION m_eCurVersionMode; |
117 uint32_t m_dwDocFlags; | 117 uint32_t m_dwDocFlags; |
118 friend class CXFA_SimpleParser; | 118 friend class CXFA_SimpleParser; |
119 }; | 119 }; |
120 | 120 |
121 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ | 121 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ |
OLD | NEW |