Style Class Documentation

class Style

Namespace:datalogics_interface

Detailed Description

Provides access to data about fonts, font sizes, and colors used in a word.

Referenced by

Uses types

Constructor & Destructor Documentation

~Style

~Style()

Member Function Documentation

get_font_name

std::string get_font_name()

Returns:

std::string

The font name as a string.

Gets the name of the style's font.

get_font_size

double get_font_size()

Returns:

double

The font size for this style, in points.

Gets the style's font size.

to_string

std::string to_string()

Returns:

std::string

A string in the format "[color=..., fontsize=...,
fontname=...]".

Returns a string representing the Style's value.

The returned value indicates the color, font, and font size of the style.