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_OBJECT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_OBJECT_H_ |
8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_ | 8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_ |
9 | 9 |
10 #include <unordered_set> | 10 #include <unordered_set> |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 void Script_Encrypt_Format(CFXJSE_Value* pValue, | 609 void Script_Encrypt_Format(CFXJSE_Value* pValue, |
610 FX_BOOL bSetting, | 610 FX_BOOL bSetting, |
611 XFA_ATTRIBUTE eAttribute); | 611 XFA_ATTRIBUTE eAttribute); |
612 void Script_Script_Stateless(CFXJSE_Value* pValue, | 612 void Script_Script_Stateless(CFXJSE_Value* pValue, |
613 FX_BOOL bSetting, | 613 FX_BOOL bSetting, |
614 XFA_ATTRIBUTE eAttribute); | 614 XFA_ATTRIBUTE eAttribute); |
615 | 615 |
616 protected: | 616 protected: |
617 friend class CXFA_Document; | 617 friend class CXFA_Document; |
618 | 618 |
619 CXFA_Node(CXFA_Document* pDoc, uint16_t ePacket, XFA_Element eType); | 619 CXFA_Node(CXFA_Document* pDoc, |
| 620 uint16_t ePacket, |
| 621 XFA_ObjectType oType, |
| 622 XFA_Element eType); |
620 ~CXFA_Node() override; | 623 ~CXFA_Node() override; |
621 | 624 |
622 bool HasFlag(XFA_NodeFlag dwFlag) const; | 625 bool HasFlag(XFA_NodeFlag dwFlag) const; |
623 CXFA_Node* Deprecated_GetPrevSibling(); | 626 CXFA_Node* Deprecated_GetPrevSibling(); |
624 FX_BOOL SetValue(XFA_ATTRIBUTE eAttr, | 627 FX_BOOL SetValue(XFA_ATTRIBUTE eAttr, |
625 XFA_ATTRIBUTETYPE eType, | 628 XFA_ATTRIBUTETYPE eType, |
626 void* pValue, | 629 void* pValue, |
627 bool bNotify); | 630 bool bNotify); |
628 FX_BOOL GetValue(XFA_ATTRIBUTE eAttr, | 631 FX_BOOL GetValue(XFA_ATTRIBUTE eAttr, |
629 XFA_ATTRIBUTETYPE eType, | 632 XFA_ATTRIBUTETYPE eType, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 | 800 |
798 inline CXFA_Node* ToNode(CXFA_Object* pObj) { | 801 inline CXFA_Node* ToNode(CXFA_Object* pObj) { |
799 return pObj ? pObj->AsNode() : nullptr; | 802 return pObj ? pObj->AsNode() : nullptr; |
800 } | 803 } |
801 | 804 |
802 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { | 805 inline const CXFA_Node* ToNode(const CXFA_Object* pObj) { |
803 return pObj ? pObj->AsNode() : nullptr; | 806 return pObj ? pObj->AsNode() : nullptr; |
804 } | 807 } |
805 | 808 |
806 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ | 809 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ |
OLD | NEW |