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_CXFA_SIMPLE_PARSER_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ |
8 #define XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ | 8 #define XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 CXFA_Node* ParseAsXDPPacket_LocaleConnectionSourceSet( | 50 CXFA_Node* ParseAsXDPPacket_LocaleConnectionSourceSet( |
51 CFDE_XMLNode* pXMLDocumentNode, | 51 CFDE_XMLNode* pXMLDocumentNode, |
52 XFA_XDPPACKET ePacketID); | 52 XFA_XDPPACKET ePacketID); |
53 CXFA_Node* ParseAsXDPPacket_Xdc(CFDE_XMLNode* pXMLDocumentNode, | 53 CXFA_Node* ParseAsXDPPacket_Xdc(CFDE_XMLNode* pXMLDocumentNode, |
54 XFA_XDPPACKET ePacketID); | 54 XFA_XDPPACKET ePacketID); |
55 CXFA_Node* ParseAsXDPPacket_User(CFDE_XMLNode* pXMLDocumentNode, | 55 CXFA_Node* ParseAsXDPPacket_User(CFDE_XMLNode* pXMLDocumentNode, |
56 XFA_XDPPACKET ePacketID); | 56 XFA_XDPPACKET ePacketID); |
57 CXFA_Node* NormalLoader(CXFA_Node* pXFANode, | 57 CXFA_Node* NormalLoader(CXFA_Node* pXFANode, |
58 CFDE_XMLNode* pXMLDoc, | 58 CFDE_XMLNode* pXMLDoc, |
59 XFA_XDPPACKET ePacketID, | 59 XFA_XDPPACKET ePacketID, |
60 FX_BOOL bUseAttribute); | 60 bool bUseAttribute); |
61 CXFA_Node* DataLoader(CXFA_Node* pXFANode, | 61 CXFA_Node* DataLoader(CXFA_Node* pXFANode, |
62 CFDE_XMLNode* pXMLDoc, | 62 CFDE_XMLNode* pXMLDoc, |
63 FX_BOOL bDoTransform); | 63 bool bDoTransform); |
64 CXFA_Node* UserPacketLoader(CXFA_Node* pXFANode, CFDE_XMLNode* pXMLDoc); | 64 CXFA_Node* UserPacketLoader(CXFA_Node* pXFANode, CFDE_XMLNode* pXMLDoc); |
65 void ParseContentNode(CXFA_Node* pXFANode, | 65 void ParseContentNode(CXFA_Node* pXFANode, |
66 CFDE_XMLNode* pXMLNode, | 66 CFDE_XMLNode* pXMLNode, |
67 XFA_XDPPACKET ePacketID); | 67 XFA_XDPPACKET ePacketID); |
68 void ParseDataValue(CXFA_Node* pXFANode, | 68 void ParseDataValue(CXFA_Node* pXFANode, |
69 CFDE_XMLNode* pXMLNode, | 69 CFDE_XMLNode* pXMLNode, |
70 XFA_XDPPACKET ePacketID); | 70 XFA_XDPPACKET ePacketID); |
71 void ParseDataGroup(CXFA_Node* pXFANode, | 71 void ParseDataGroup(CXFA_Node* pXFANode, |
72 CFDE_XMLNode* pXMLNode, | 72 CFDE_XMLNode* pXMLNode, |
73 XFA_XDPPACKET ePacketID); | 73 XFA_XDPPACKET ePacketID); |
74 void ParseInstruction(CXFA_Node* pXFANode, | 74 void ParseInstruction(CXFA_Node* pXFANode, |
75 CFDE_XMLInstruction* pXMLInstruction, | 75 CFDE_XMLInstruction* pXMLInstruction, |
76 XFA_XDPPACKET ePacketID); | 76 XFA_XDPPACKET ePacketID); |
77 | 77 |
78 CXFA_XMLParser* m_pXMLParser; | 78 CXFA_XMLParser* m_pXMLParser; |
79 std::unique_ptr<CFDE_XMLDoc> m_pXMLDoc; | 79 std::unique_ptr<CFDE_XMLDoc> m_pXMLDoc; |
80 std::unique_ptr<IFX_Stream, ReleaseDeleter<IFX_Stream>> m_pStream; | 80 std::unique_ptr<IFX_Stream, ReleaseDeleter<IFX_Stream>> m_pStream; |
81 IFX_SeekableReadStream* m_pFileRead; | 81 IFX_SeekableReadStream* m_pFileRead; |
82 CXFA_Document* m_pFactory; | 82 CXFA_Document* m_pFactory; |
83 CXFA_Node* m_pRootNode; | 83 CXFA_Node* m_pRootNode; |
84 XFA_XDPPACKET m_ePacketID; | 84 XFA_XDPPACKET m_ePacketID; |
85 FX_BOOL m_bDocumentParser; | 85 bool m_bDocumentParser; |
86 }; | 86 }; |
87 | 87 |
88 #endif // XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ | 88 #endif // XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ |
OLD | NEW |