blob: d011e9bbf6b0806780b8ce1b55809b6722b051d6 [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_BUTTON_H_
8#define XFA_FXFA_PARSER_CXFA_BUTTON_H_
9
10#include "xfa/fxfa/parser/cxfa_node.h"
11
Tom Sepez55865452018-08-27 20:18:04 +000012class CXFA_Button final : public CXFA_Node {
Dan Sinclairf4736722017-11-27 18:10:47 +000013 public:
Tom Sepezb40a1042022-06-08 17:43:40 +000014 static CXFA_Button* 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_Button() override;
Dan Sinclair5e332f12018-01-29 19:52:07 +000018
19 XFA_FFWidgetType GetDefaultFFWidgetType() const override;
Dan Sinclair90d93862018-01-30 21:38:40 +000020
Tom Sepez1498ab82018-12-06 17:56:28 +000021 XFA_AttributeValue GetHighlight();
Tom Sepez017cbc62020-08-18 23:25:17 +000022
23 private:
24 CXFA_Button(CXFA_Document* doc, XFA_PacketType packet);
Dan Sinclairf4736722017-11-27 18:10:47 +000025};
26
27#endif // XFA_FXFA_PARSER_CXFA_BUTTON_H_