summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_font.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_font.h')
-rw-r--r--xfa/fxfa/parser/cxfa_font.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_font.h b/xfa/fxfa/parser/cxfa_font.h
index 59b0c71e8c..833c29a530 100644
--- a/xfa/fxfa/parser/cxfa_font.h
+++ b/xfa/fxfa/parser/cxfa_font.h
@@ -13,6 +13,22 @@ class CXFA_Font : public CXFA_Node {
public:
CXFA_Font(CXFA_Document* doc, XFA_PacketType packet);
~CXFA_Font() override;
+
+ float GetBaselineShift() const;
+ float GetHorizontalScale();
+ float GetVerticalScale();
+ float GetLetterSpacing();
+ int32_t GetLineThrough();
+ int32_t GetUnderline();
+ XFA_AttributeEnum GetUnderlinePeriod();
+ float GetFontSize() const;
+ WideString GetTypeface();
+
+ bool IsBold();
+ bool IsItalic();
+
+ FX_ARGB GetColor();
+ void SetColor(FX_ARGB color);
};
#endif // XFA_FXFA_PARSER_CXFA_FONT_H_