Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: xfa/fxfa/parser/xfa_document.h

Issue 2071683002: Make code compile with clang_use_chrome_plugin (part V) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: clean up Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_doclayout.h ('k') | xfa/fxfa/parser/xfa_layout_appadapter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #define XFA_DOCFLAG_StrictScoping 0x0001 50 #define XFA_DOCFLAG_StrictScoping 0x0001
51 #define XFA_DOCFLAG_HasInteractive 0x0002 51 #define XFA_DOCFLAG_HasInteractive 0x0002
52 #define XFA_DOCFLAG_Interactive 0x0004 52 #define XFA_DOCFLAG_Interactive 0x0004
53 #define XFA_DOCFLAG_Scripting 0x0008 53 #define XFA_DOCFLAG_Scripting 0x0008
54 class CScript_DataWindow; 54 class CScript_DataWindow;
55 class CScript_EventPseudoModel; 55 class CScript_EventPseudoModel;
56 class CScript_HostPseudoModel; 56 class CScript_HostPseudoModel;
57 class CScript_LogPseudoModel; 57 class CScript_LogPseudoModel;
58 class CScript_LayoutPseudoModel; 58 class CScript_LayoutPseudoModel;
59 class CScript_SignaturePseudoModel; 59 class CScript_SignaturePseudoModel;
60
60 class CXFA_Document { 61 class CXFA_Document {
61 public: 62 public:
62 CXFA_Document(CXFA_DocumentParser* pParser); 63 CXFA_Document(CXFA_DocumentParser* pParser);
63 ~CXFA_Document(); 64 ~CXFA_Document();
65
64 CXFA_Node* GetRoot() const { return m_pRootNode; } 66 CXFA_Node* GetRoot() const { return m_pRootNode; }
65 CXFA_DocumentParser* GetParser() const { return m_pParser; } 67 CXFA_DocumentParser* GetParser() const { return m_pParser; }
66 CXFA_FFNotify* GetNotify() const; 68 CXFA_FFNotify* GetNotify() const;
67 void SetRoot(CXFA_Node* pNewRoot); 69 void SetRoot(CXFA_Node* pNewRoot);
68 CXFA_Object* GetXFAObject(XFA_HashCode wsNodeNameHash); 70 CXFA_Object* GetXFAObject(XFA_HashCode wsNodeNameHash);
69 void AddPurgeNode(CXFA_Node* pNode); 71 void AddPurgeNode(CXFA_Node* pNode);
70 FX_BOOL RemovePurgeNode(CXFA_Node* pNode); 72 FX_BOOL RemovePurgeNode(CXFA_Node* pNode);
71 void PurgeNodes(); 73 void PurgeNodes();
72 bool HasFlag(uint32_t dwFlag) { return (m_dwDocFlags & dwFlag) == dwFlag; } 74 bool HasFlag(uint32_t dwFlag) { return (m_dwDocFlags & dwFlag) == dwFlag; }
73 void SetFlag(uint32_t dwFlag, FX_BOOL bOn = TRUE); 75 void SetFlag(uint32_t dwFlag, FX_BOOL bOn = TRUE);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 CScript_LogPseudoModel* m_pScriptLog; 112 CScript_LogPseudoModel* m_pScriptLog;
111 CScript_LayoutPseudoModel* m_pScriptLayout; 113 CScript_LayoutPseudoModel* m_pScriptLayout;
112 CScript_SignaturePseudoModel* m_pScriptSignature; 114 CScript_SignaturePseudoModel* m_pScriptSignature;
113 CXFA_NodeSet m_PurgeNodes; 115 CXFA_NodeSet m_PurgeNodes;
114 XFA_VERSION m_eCurVersionMode; 116 XFA_VERSION m_eCurVersionMode;
115 uint32_t m_dwDocFlags; 117 uint32_t m_dwDocFlags;
116 friend class CXFA_SimpleParser; 118 friend class CXFA_SimpleParser;
117 }; 119 };
118 120
119 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ 121 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_doclayout.h ('k') | xfa/fxfa/parser/xfa_layout_appadapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698