Style Class Documentation
classStyleNamespace: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
Member Function Documentation
get_color
std::unique_ptr< Color >get_color()Returns:
The Color associated with this style.Gets the style's color.
get_font_name
std::stringget_font_name()Returns:
The font name as a string.Gets the name of the style's font.
get_font_size
doubleget_font_size()Returns:
The font size for this style, in points.Gets the style's font size.
operator=
Parameters
: Style &&
Returns:
Style &to_string
std::stringto_string()Returns:
A string in the format "[color=..., fontsize=...,
fontname=...]".The returned value indicates the color, font, and font size of the style.