ooodev.format.inner.direct.chart2.legend.font.font_only module

class ooodev.format.inner.direct.chart2.legend.font.font_only.FontOnly(*, name=None, size=None, font_style=None, lang=None)[source]

Bases: FontOnly

Character Font for a chart legend.

Any properties starting with prop_ set or get current instance values.

All methods starting with fmt_ can be used to chain together font properties.

New in version 0.9.4.

__init__(*, name=None, size=None, font_style=None, lang=None)[source]

Font options used in styles.

Parameters:
  • name (str, optional) – This property specifies the name of the font style. It may contain more than one name separated by comma.

  • size (float, UnitT, optional) – This value contains the size of the characters in pt (point) units or Class UnitT.

  • font_style (str, optional) – Font style name such as Bold.

  • lang (Lang, optional) – Font Language

Return type:

None