Einhugur OpenDocument Text Plugin for Xojo |

# EinhugurODT.TextStyle Class

A base abstract class for styles which support text styling.

EinhugurODT.Style
TextStyle

class EinhugurODT.TextStyle

#### Constructors

TextStyle (private) | Private constructor.

#### Properties

FontName | Sets or gets the font name.
FontSize | Sets or gets font size.
FontStyle | This property has settings to set the font to Italic or oblique.
FontWeight | Sets or gets the font weight.
HasHighlightColor | Returns true if the font has highlight color on it.
HasTextColor | Returns true if the font has color on it.
HighlightColor | Sets or gets the highlight color.
Id (Inherited) | Returns id of the style.
Strikethrough | Sets or gets strikethrough styling.
TextColor | Sets or gets the text color.
Underline | Sets or gets underline styling.
VerticalAlignment | Sets vertical alignment for the text (like Subscript and Superscript)

#### Methods

ClearHighlightColor | Clears highlight color from the Style if there was highlight color on it.
ClearTextColor | Clears text color from the Style if there was text color on it.

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit
- iOS