summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_pattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_pattern.h')
-rw-r--r--xfa/fxfa/parser/cxfa_pattern.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_pattern.h b/xfa/fxfa/parser/cxfa_pattern.h
index 44fb0af2b7..7e115f2d9d 100644
--- a/xfa/fxfa/parser/cxfa_pattern.h
+++ b/xfa/fxfa/parser/cxfa_pattern.h
@@ -9,10 +9,17 @@
#include "xfa/fxfa/parser/cxfa_node.h"
+class CXFA_Color;
+
class CXFA_Pattern : public CXFA_Node {
public:
+ static constexpr XFA_AttributeEnum kDefaultType = XFA_AttributeEnum::Unknown;
+
CXFA_Pattern(CXFA_Document* doc, XFA_PacketType packet);
~CXFA_Pattern() override;
+
+ XFA_AttributeEnum GetType();
+ CXFA_Color* GetColorIfExists();
};
#endif // XFA_FXFA_PARSER_CXFA_PATTERN_H_