blob: 22aad55fc5e60ac7d6bf5bce8b091e97e793c156 [file] [log] [blame]
K. Moon832a6942022-10-31 20:11:31 +00001// Copyright 2017 The PDFium Authors
Dan Sinclairf4736722017-11-27 18:10:47 +00002// 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 Sepez55865452018-08-27 20:18:04 +000012class CXFA_ExData final : public CXFA_Node {
Dan Sinclairf4736722017-11-27 18:10:47 +000013 public:
Tom Sepezda395292022-06-08 18:35:30 +000014 static CXFA_ExData* FromNode(CXFA_Node* pNode);
15
Tom Sepez017cbc62020-08-18 23:25:17 +000016 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED;
Dan Sinclairf4736722017-11-27 18:10:47 +000017 ~CXFA_ExData() override;
Dan Sinclair4cf05892018-01-03 16:58:06 -050018
19 void SetContentType(const WideString& wsContentType);
Tom Sepez017cbc62020-08-18 23:25:17 +000020
21 private:
22 CXFA_ExData(CXFA_Document* doc, XFA_PacketType packet);
Dan Sinclairf4736722017-11-27 18:10:47 +000023};
24
25#endif // XFA_FXFA_PARSER_CXFA_EXDATA_H_