K. Moon | 832a694 | 2022-10-31 20:11:31 +0000 | [diff] [blame] | 1 | // Copyright 2017 The PDFium Authors |
Dan Sinclair | f473672 | 2017-11-27 18:10:47 +0000 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | |
| 7 | #ifndef XFA_FXFA_PARSER_CXFA_EXDATA_H_ |
| 8 | #define XFA_FXFA_PARSER_CXFA_EXDATA_H_ |
| 9 | |
| 10 | #include "xfa/fxfa/parser/cxfa_node.h" |
| 11 | |
Tom Sepez | 5586545 | 2018-08-27 20:18:04 +0000 | [diff] [blame] | 12 | class CXFA_ExData final : public CXFA_Node { |
Dan Sinclair | f473672 | 2017-11-27 18:10:47 +0000 | [diff] [blame] | 13 | public: |
Tom Sepez | da39529 | 2022-06-08 18:35:30 +0000 | [diff] [blame] | 14 | static CXFA_ExData* FromNode(CXFA_Node* pNode); |
| 15 | |
Tom Sepez | 017cbc6 | 2020-08-18 23:25:17 +0000 | [diff] [blame] | 16 | CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED; |
Dan Sinclair | f473672 | 2017-11-27 18:10:47 +0000 | [diff] [blame] | 17 | ~CXFA_ExData() override; |
Dan Sinclair | 4cf0589 | 2018-01-03 16:58:06 -0500 | [diff] [blame] | 18 | |
| 19 | void SetContentType(const WideString& wsContentType); |
Tom Sepez | 017cbc6 | 2020-08-18 23:25:17 +0000 | [diff] [blame] | 20 | |
| 21 | private: |
| 22 | CXFA_ExData(CXFA_Document* doc, XFA_PacketType packet); |
Dan Sinclair | f473672 | 2017-11-27 18:10:47 +0000 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | #endif // XFA_FXFA_PARSER_CXFA_EXDATA_H_ |