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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #define XFA_LAYOUTSTATUS_Visible 0x0001 | 42 #define XFA_LAYOUTSTATUS_Visible 0x0001 |
43 #define XFA_LAYOUTSTATUS_Viewable 0x0010 | 43 #define XFA_LAYOUTSTATUS_Viewable 0x0010 |
44 #define XFA_LAYOUTSTATUS_Printable 0x0020 | 44 #define XFA_LAYOUTSTATUS_Printable 0x0020 |
45 enum XFA_NODEEVENT { | 45 enum XFA_NODEEVENT { |
46 XFA_NODEEVENT_Ready, | 46 XFA_NODEEVENT_Ready, |
47 XFA_NODEEVENT_ValueChanging, | 47 XFA_NODEEVENT_ValueChanging, |
48 XFA_NODEEVENT_ValueChanged, | 48 XFA_NODEEVENT_ValueChanged, |
49 XFA_NODEEVENT_ChildAdded, | 49 XFA_NODEEVENT_ChildAdded, |
50 XFA_NODEEVENT_ChildRemoved, | 50 XFA_NODEEVENT_ChildRemoved, |
51 }; | 51 }; |
52 enum XFA_PAGEEVENT { | |
53 XFA_PAGEEVENT_PageAdded, | |
54 XFA_PAGEEVENT_PageRemoved, | |
55 }; | |
56 enum XFA_LAYOUTEVENT { | |
57 XFA_LAYOUTEVENT_ItemAdded, | |
58 XFA_LAYOUTEVENT_ItemRemoving, | |
59 XFA_LAYOUTEVENT_RectChanged, | |
60 XFA_LAYOUTEVENT_StatusChanged, | |
61 }; | |
62 enum XFA_LAYOUTRESULT { | 52 enum XFA_LAYOUTRESULT { |
63 XFA_LAYOUTRESULT_Continue, | 53 XFA_LAYOUTRESULT_Continue, |
64 XFA_LAYOUTRESULT_Done, | 54 XFA_LAYOUTRESULT_Done, |
65 XFA_LAYOUTRESULT_NextContent, | 55 XFA_LAYOUTRESULT_NextContent, |
66 }; | 56 }; |
67 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001 | 57 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001 |
68 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002 | 58 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002 |
69 | 59 |
70 #define XFA_DOCFLAG_StrictScoping 0x0001 | 60 #define XFA_DOCFLAG_StrictScoping 0x0001 |
71 #define XFA_DOCFLAG_HasInteractive 0x0002 | 61 #define XFA_DOCFLAG_HasInteractive 0x0002 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 CScript_LogPseudoModel* m_pScriptLog; | 121 CScript_LogPseudoModel* m_pScriptLog; |
132 CScript_LayoutPseudoModel* m_pScriptLayout; | 122 CScript_LayoutPseudoModel* m_pScriptLayout; |
133 CScript_SignaturePseudoModel* m_pScriptSignature; | 123 CScript_SignaturePseudoModel* m_pScriptSignature; |
134 CXFA_NodeSet m_rgPurgeNodes; | 124 CXFA_NodeSet m_rgPurgeNodes; |
135 XFA_VERSION m_eCurVersionMode; | 125 XFA_VERSION m_eCurVersionMode; |
136 uint32_t m_dwDocFlags; | 126 uint32_t m_dwDocFlags; |
137 friend class CXFA_SimpleParser; | 127 friend class CXFA_SimpleParser; |
138 }; | 128 }; |
139 | 129 |
140 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ | 130 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ |
OLD | NEW |