Orcus
Loading...
Searching...
No Matches
Public Member Functions | List of all members
orcus::spreadsheet::iface::import_underline Class Referenceabstract

#include <import_interface_underline.hpp>

Public Member Functions

virtual void set_style (underline_style_t e)=0
 
virtual void set_thickness (underline_thickness_t e)=0
 
virtual void set_spacing (underline_spacing_t e)=0
 
virtual void set_count (underline_count_t e)=0
 
virtual void set_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0
 
virtual void commit ()=0
 

Detailed Description

Interface for importing underline attributes of a text.

Member Function Documentation

◆ commit()

virtual void orcus::spreadsheet::iface::import_underline::commit ( )
pure virtual

Commit the underline attributes in the current buffer.

◆ set_color()

virtual void orcus::spreadsheet::iface::import_underline::set_color ( color_elem_t alpha,
color_elem_t red,
color_elem_t green,
color_elem_t blue )
pure virtual

Specify the color of an underline in ARGB format.

Parameters
alphaalpha component of the color.
redred component of the color.
greengreen component of the color.
blueblue component of the color.
Note
If this value is not explicitly set, the font color should be used.

◆ set_count()

virtual void orcus::spreadsheet::iface::import_underline::set_count ( underline_count_t e)
pure virtual

Set the number of vertically-stacked lines in an underline.

Parameters
eNumber of vertically-stacked lines in an underline.

◆ set_spacing()

virtual void orcus::spreadsheet::iface::import_underline::set_spacing ( underline_spacing_t e)
pure virtual

Set the spacing of an underline with respect to the text it is applied to.

Parameters
eSpacing of an underline.

◆ set_style()

virtual void orcus::spreadsheet::iface::import_underline::set_style ( underline_style_t e)
pure virtual

Set the style of an underline.

Parameters
eunderline style of a font.

◆ set_thickness()

virtual void orcus::spreadsheet::iface::import_underline::set_thickness ( underline_thickness_t e)
pure virtual

Set the thickness of an underline.

Parameters
eThickness of the underline.