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

#include <orcusinterface.hxx>

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

Public Member Functions

 ScOrcusImportBorderStyle (std::vector< ScOrcusBorder > &rBorders)
 
void reset ()
 
void set_width (orcus::spreadsheet::border_direction_t dir, double width, orcus::length_unit_t unit) override
 
void set_style (orcus::spreadsheet::border_direction_t dir, orcus::spreadsheet::border_style_t style) override
 
void set_color (orcus::spreadsheet::border_direction_t dir, 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

ScOrcusBorder maCurrentBorder
 
std::vector< ScOrcusBorder > & mrBorders
 

Detailed Description

Definition at line 521 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusImportBorderStyle()

ScOrcusImportBorderStyle::ScOrcusImportBorderStyle ( std::vector< ScOrcusBorder > &  rBorders)

Definition at line 1852 of file interface.cxx.

Member Function Documentation

◆ commit()

std::size_t ScOrcusImportBorderStyle::commit ( )
override

Definition at line 1945 of file interface.cxx.

References maCurrentBorder, mrBorders, and SAL_INFO.

◆ reset()

void ScOrcusImportBorderStyle::reset ( )

Definition at line 1934 of file interface.cxx.

References maCurrentBorder.

Referenced by ScOrcusStyles::start_border_style().

◆ set_color()

void ScOrcusImportBorderStyle::set_color ( orcus::spreadsheet::border_direction_t  dir,
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

◆ set_style()

void ScOrcusImportBorderStyle::set_style ( orcus::spreadsheet::border_direction_t  dir,
orcus::spreadsheet::border_style_t  style 
)
override

◆ set_width()

void ScOrcusImportBorderStyle::set_width ( orcus::spreadsheet::border_direction_t  dir,
double  width,
orcus::length_unit_t  unit 
)
override

Member Data Documentation

◆ maCurrentBorder

ScOrcusBorder ScOrcusImportBorderStyle::maCurrentBorder
private

Definition at line 523 of file orcusinterface.hxx.

Referenced by commit(), reset(), set_color(), set_style(), and set_width().

◆ mrBorders

std::vector<ScOrcusBorder>& ScOrcusImportBorderStyle::mrBorders
private

Definition at line 524 of file orcusinterface.hxx.

Referenced by commit().


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