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

#include <orcusinterface.hxx>

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

Public Member Functions

 ScOrcusImportFillStyle (std::vector< ScOrcusFill > &rFills)
 
void reset ()
 
void set_pattern_type (orcus::spreadsheet::fill_pattern_t fp) override
 
void set_fg_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_bg_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
 
std::size_t commit () override
 

Private Attributes

ScOrcusFill maCurrentFill
 
std::vector< ScOrcusFill > & mrFills
 

Detailed Description

Definition at line 497 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusImportFillStyle()

ScOrcusImportFillStyle::ScOrcusImportFillStyle ( std::vector< ScOrcusFill > &  rFills)

Definition at line 1817 of file interface.cxx.

Member Function Documentation

◆ commit()

std::size_t ScOrcusImportFillStyle::commit ( )
override

Definition at line 1844 of file interface.cxx.

References maCurrentFill, mrFills, and SAL_INFO.

◆ reset()

void ScOrcusImportFillStyle::reset ( )

Definition at line 1822 of file interface.cxx.

References maCurrentFill.

Referenced by ScOrcusStyles::start_fill_style().

◆ set_bg_color()

void ScOrcusImportFillStyle::set_bg_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 1838 of file interface.cxx.

References alpha, ColorAlpha, ScOrcusFill::maBgColor, and maCurrentFill.

◆ set_fg_color()

void ScOrcusImportFillStyle::set_fg_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 1832 of file interface.cxx.

References alpha, ColorAlpha, maCurrentFill, and ScOrcusFill::maFgColor.

◆ set_pattern_type()

void ScOrcusImportFillStyle::set_pattern_type ( orcus::spreadsheet::fill_pattern_t  fp)
override

Definition at line 1827 of file interface.cxx.

References maCurrentFill, and ScOrcusFill::mePattern.

Member Data Documentation

◆ maCurrentFill

ScOrcusFill ScOrcusImportFillStyle::maCurrentFill
private

Definition at line 499 of file orcusinterface.hxx.

Referenced by commit(), reset(), set_bg_color(), set_fg_color(), and set_pattern_type().

◆ mrFills

std::vector<ScOrcusFill>& ScOrcusImportFillStyle::mrFills
private

Definition at line 500 of file orcusinterface.hxx.

Referenced by commit().


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