| 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 24 matching lines...) Expand all Loading... |
| 35 XFA_VERSION_303 = 303, | 35 XFA_VERSION_303 = 303, |
| 36 XFA_VERSION_306 = 306, | 36 XFA_VERSION_306 = 306, |
| 37 XFA_VERSION_DEFAULT = XFA_VERSION_303, | 37 XFA_VERSION_DEFAULT = XFA_VERSION_303, |
| 38 XFA_VERSION_MIN = 200, | 38 XFA_VERSION_MIN = 200, |
| 39 XFA_VERSION_MAX = 400, | 39 XFA_VERSION_MAX = 400, |
| 40 }; | 40 }; |
| 41 | 41 |
| 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 |
| 46 XFA_NODEEVENT_Ready, | |
| 47 XFA_NODEEVENT_ValueChanging, | |
| 48 XFA_NODEEVENT_ValueChanged, | |
| 49 XFA_NODEEVENT_ChildAdded, | |
| 50 XFA_NODEEVENT_ChildRemoved, | |
| 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 { | 46 enum XFA_LAYOUTRESULT { |
| 63 XFA_LAYOUTRESULT_Continue, | 47 XFA_LAYOUTRESULT_Continue, |
| 64 XFA_LAYOUTRESULT_Done, | 48 XFA_LAYOUTRESULT_Done, |
| 65 XFA_LAYOUTRESULT_NextContent, | 49 XFA_LAYOUTRESULT_NextContent, |
| 66 }; | 50 }; |
| 67 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001 | 51 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001 |
| 68 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002 | 52 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002 |
| 69 | 53 |
| 70 #define XFA_DOCFLAG_StrictScoping 0x0001 | 54 #define XFA_DOCFLAG_StrictScoping 0x0001 |
| 71 #define XFA_DOCFLAG_HasInteractive 0x0002 | 55 #define XFA_DOCFLAG_HasInteractive 0x0002 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 CScript_LogPseudoModel* m_pScriptLog; | 115 CScript_LogPseudoModel* m_pScriptLog; |
| 132 CScript_LayoutPseudoModel* m_pScriptLayout; | 116 CScript_LayoutPseudoModel* m_pScriptLayout; |
| 133 CScript_SignaturePseudoModel* m_pScriptSignature; | 117 CScript_SignaturePseudoModel* m_pScriptSignature; |
| 134 CXFA_NodeSet m_rgPurgeNodes; | 118 CXFA_NodeSet m_rgPurgeNodes; |
| 135 XFA_VERSION m_eCurVersionMode; | 119 XFA_VERSION m_eCurVersionMode; |
| 136 uint32_t m_dwDocFlags; | 120 uint32_t m_dwDocFlags; |
| 137 friend class CXFA_SimpleParser; | 121 friend class CXFA_SimpleParser; |
| 138 }; | 122 }; |
| 139 | 123 |
| 140 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ | 124 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ |
| OLD | NEW |