Style Class Documentation
class StyleNamespace: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:
std::unique_ptr< Color >The Color associated with this style.
Gets the style's color.
get_font_name
std::string get_font_name()Returns:
std::stringThe font name as a string.
Gets the name of the style's font.
get_font_size
double get_font_size()Returns:
doubleThe font size for this style, in points.
Gets the style's font size.
operator=
Parameters
: Style &&
Returns:
Style &to_string
std::string to_string()Returns:
std::stringA 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.