LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScOrcusImportFontStyle Class Reference

#include <orcusinterface.hxx>

Inheritance diagram for ScOrcusImportFontStyle:
[legend]
Collaboration diagram for ScOrcusImportFontStyle:
[legend]

Public Member Functions

 ScOrcusImportFontStyle (ScOrcusFactory &rFactory, std::vector< ScOrcusFont > &rFonts)
 
void reset ()
 
void set_bold (bool b) override
 
void set_bold_asian (bool b) override
 
void set_bold_complex (bool b) override
 
void set_italic (bool b) override
 
void set_italic_asian (bool b) override
 
void set_italic_complex (bool b) override
 
void set_name (std::string_view s) override
 
void set_name_asian (std::string_view s) override
 
void set_name_complex (std::string_view s) override
 
void set_size (double point) override
 
void set_size_asian (double point) override
 
void set_size_complex (double point) override
 
void set_underline (orcus::spreadsheet::underline_t e) override
 
void set_underline_width (orcus::spreadsheet::underline_width_t e) override
 
void set_underline_mode (orcus::spreadsheet::underline_mode_t e) override
 
void set_underline_type (orcus::spreadsheet::underline_type_t e) override
 
void set_underline_color (orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override
 
void set_color (orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override
 
void set_strikethrough_style (orcus::spreadsheet::strikethrough_style_t s) override
 
void set_strikethrough_type (orcus::spreadsheet::strikethrough_type_t s) override
 
void set_strikethrough_width (orcus::spreadsheet::strikethrough_width_t s) override
 
void set_strikethrough_text (orcus::spreadsheet::strikethrough_text_t s) override
 
std::size_t commit () override
 

Private Attributes

ScOrcusFont maCurrentFont
 
ScOrcusFactorymrFactory
 
std::vector< ScOrcusFont > & mrFonts
 

Detailed Description

Definition at line 453 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusImportFontStyle()

ScOrcusImportFontStyle::ScOrcusImportFontStyle ( ScOrcusFactory rFactory,
std::vector< ScOrcusFont > &  rFonts 
)

Definition at line 1558 of file interface.cxx.

Member Function Documentation

◆ commit()

std::size_t ScOrcusImportFontStyle::commit ( )
override

Definition at line 1809 of file interface.cxx.

References maCurrentFont, mrFonts, and SAL_INFO.

◆ reset()

void ScOrcusImportFontStyle::reset ( )

Definition at line 1564 of file interface.cxx.

References maCurrentFont.

Referenced by ScOrcusStyles::start_font_style().

◆ set_bold()

void ScOrcusImportFontStyle::set_bold ( bool  b)
override

Definition at line 1569 of file interface.cxx.

References maCurrentFont, and ScOrcusFont::mbBold.

◆ set_bold_asian()

void ScOrcusImportFontStyle::set_bold_asian ( bool  b)
override

Definition at line 1574 of file interface.cxx.

References maCurrentFont, and ScOrcusFont::mbBoldAsian.

◆ set_bold_complex()

void ScOrcusImportFontStyle::set_bold_complex ( bool  b)
override

Definition at line 1579 of file interface.cxx.

References maCurrentFont, and ScOrcusFont::mbBoldComplex.

◆ set_color()

void ScOrcusImportFontStyle::set_color ( orcus::spreadsheet::color_elem_t  alpha,
orcus::spreadsheet::color_elem_t  red,
orcus::spreadsheet::color_elem_t  green,
orcus::spreadsheet::color_elem_t  blue 
)
override

Definition at line 1743 of file interface.cxx.

References alpha, ColorAlpha, ScOrcusFont::maColor, and maCurrentFont.

◆ set_italic()

void ScOrcusImportFontStyle::set_italic ( bool  b)
override

Definition at line 1584 of file interface.cxx.

References maCurrentFont, and ScOrcusFont::mbItalic.

◆ set_italic_asian()

void ScOrcusImportFontStyle::set_italic_asian ( bool  b)
override

Definition at line 1589 of file interface.cxx.

References maCurrentFont, and ScOrcusFont::mbItalicAsian.

◆ set_italic_complex()

void ScOrcusImportFontStyle::set_italic_complex ( bool  b)
override

Definition at line 1594 of file interface.cxx.

References maCurrentFont, and ScOrcusFont::mbItalicComplex.

◆ set_name()

void ScOrcusImportFontStyle::set_name ( std::string_view  s)
override

◆ set_name_asian()

void ScOrcusImportFontStyle::set_name_asian ( std::string_view  s)
override

◆ set_name_complex()

void ScOrcusImportFontStyle::set_name_complex ( std::string_view  s)
override

◆ set_size()

void ScOrcusImportFontStyle::set_size ( double  point)
override

Definition at line 1617 of file interface.cxx.

References maCurrentFont, ScOrcusFont::mnSize, and point().

◆ set_size_asian()

void ScOrcusImportFontStyle::set_size_asian ( double  point)
override

Definition at line 1622 of file interface.cxx.

References maCurrentFont, ScOrcusFont::mnSizeAsian, and point().

◆ set_size_complex()

void ScOrcusImportFontStyle::set_size_complex ( double  point)
override

Definition at line 1627 of file interface.cxx.

References maCurrentFont, ScOrcusFont::mnSizeComplex, and point().

◆ set_strikethrough_style()

void ScOrcusImportFontStyle::set_strikethrough_style ( orcus::spreadsheet::strikethrough_style_t  s)
override

Definition at line 1749 of file interface.cxx.

◆ set_strikethrough_text()

void ScOrcusImportFontStyle::set_strikethrough_text ( orcus::spreadsheet::strikethrough_text_t  s)
override

Definition at line 1794 of file interface.cxx.

References maCurrentFont, ScOrcusFont::meStrikeout, STRIKEOUT_SLASH, and STRIKEOUT_X.

◆ set_strikethrough_type()

void ScOrcusImportFontStyle::set_strikethrough_type ( orcus::spreadsheet::strikethrough_type_t  s)
override

◆ set_strikethrough_width()

void ScOrcusImportFontStyle::set_strikethrough_width ( orcus::spreadsheet::strikethrough_width_t  s)
override

Definition at line 1782 of file interface.cxx.

References maCurrentFont, ScOrcusFont::meStrikeout, and STRIKEOUT_BOLD.

◆ set_underline()

void ScOrcusImportFontStyle::set_underline ( orcus::spreadsheet::underline_t  e)
override

◆ set_underline_color()

void ScOrcusImportFontStyle::set_underline_color ( orcus::spreadsheet::color_elem_t  alpha,
orcus::spreadsheet::color_elem_t  red,
orcus::spreadsheet::color_elem_t  green,
orcus::spreadsheet::color_elem_t  blue 
)
override

Definition at line 1737 of file interface.cxx.

References alpha, ColorAlpha, maCurrentFont, and ScOrcusFont::maUnderlineColor.

◆ set_underline_mode()

void ScOrcusImportFontStyle::set_underline_mode ( orcus::spreadsheet::underline_mode_t  e)
override

Definition at line 1709 of file interface.cxx.

◆ set_underline_type()

void ScOrcusImportFontStyle::set_underline_type ( orcus::spreadsheet::underline_type_t  e)
override

◆ set_underline_width()

void ScOrcusImportFontStyle::set_underline_width ( orcus::spreadsheet::underline_width_t  e)
override

Member Data Documentation

◆ maCurrentFont

ScOrcusFont ScOrcusImportFontStyle::maCurrentFont
private

◆ mrFactory

ScOrcusFactory& ScOrcusImportFontStyle::mrFactory
private

Definition at line 456 of file orcusinterface.hxx.

Referenced by set_name(), set_name_asian(), and set_name_complex().

◆ mrFonts

std::vector<ScOrcusFont>& ScOrcusImportFontStyle::mrFonts
private

Definition at line 457 of file orcusinterface.hxx.

Referenced by commit().


The documentation for this class was generated from the following files: