• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 PDFium Authors. All rights reserved.
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 FXJS_XFA_CJX_FONT_H_
8 #define FXJS_XFA_CJX_FONT_H_
9 
10 #include "fxjs/xfa/cjx_node.h"
11 
12 class CXFA_Font;
13 
14 class CJX_Font : public CJX_Node {
15  public:
16   explicit CJX_Font(CXFA_Font* node);
17   ~CJX_Font() override;
18 
19   JS_PROP(baselineShift);
20   JS_PROP(fontHorizontalScale);
21   JS_PROP(fontVerticalScale);
22   JS_PROP(kerningMode);
23   JS_PROP(letterSpacing);
24   JS_PROP(lineThrough);
25   JS_PROP(lineThroughPeriod);
26   JS_PROP(overline);
27   JS_PROP(overlinePeriod);
28   JS_PROP(posture);
29   JS_PROP(size);
30   JS_PROP(typeface);
31   JS_PROP(underline);
32   JS_PROP(underlinePeriod);
33   JS_PROP(use);
34   JS_PROP(usehref);
35   JS_PROP(weight);
36 };
37 
38 #endif  // FXJS_XFA_CJX_FONT_H_
39