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

#include <orcusinterface.hxx>

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

Public Member Functions

 ScOrcusStyles (ScOrcusFactory &rFactory, bool bSkipDefaultStyles=false)
 
void applyXfToItemSet (SfxItemSet &rSet, const ScOrcusXf &rXf)
 
void applyXfToItemSet (SfxItemSet &rSet, std::size_t xfId)
 
virtual orcus::spreadsheet::iface::import_font_style * start_font_style () override
 
virtual orcus::spreadsheet::iface::import_fill_style * start_fill_style () override
 
virtual orcus::spreadsheet::iface::import_border_style * start_border_style () override
 
virtual orcus::spreadsheet::iface::import_cell_protection * start_cell_protection () override
 
virtual orcus::spreadsheet::iface::import_number_format * start_number_format () override
 
virtual orcus::spreadsheet::iface::import_xf * start_xf (orcus::spreadsheet::xf_category_t cat) override
 
virtual orcus::spreadsheet::iface::import_cell_style * start_cell_style () override
 
virtual void set_font_count (size_t n) override
 
virtual void set_fill_count (size_t n) override
 
virtual void set_border_count (size_t n) override
 
virtual void set_number_format_count (size_t n) override
 
virtual void set_xf_count (orcus::spreadsheet::xf_category_t cat, size_t n) override
 
virtual void set_cell_style_count (size_t n) override
 

Private Attributes

ScOrcusFactorymrFactory
 
std::vector< ScOrcusFontmaFonts
 
std::vector< ScOrcusFillmaFills
 
std::vector< ScOrcusBordermaBorders
 
std::vector< ScOrcusProtectionmaProtections
 
std::vector< ScOrcusNumberFormatmaNumberFormats
 
std::vector< ScOrcusXfmaCellXfs
 
std::vector< ScOrcusXfmaCellStyleXfs
 
std::vector< ScOrcusXfmaCellDiffXfs
 
ScOrcusImportFontStyle maFontStyle
 
ScOrcusImportFillStyle maFillStyle
 
ScOrcusImportBorderStyle maBorderStyle
 
ScOrcusImportCellProtection maCellProtection
 
ScOrcusImportNumberFormat maNumberFormat
 
ScOrucsImportCellStyle maCellStyle
 
ScOrcusImportXf maXf
 

Detailed Description

Definition at line 620 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusStyles()

ScOrcusStyles::ScOrcusStyles ( ScOrcusFactory rFactory,
bool  bSkipDefaultStyles = false 
)

Member Function Documentation

◆ applyXfToItemSet() [1/2]

void ScOrcusStyles::applyXfToItemSet ( SfxItemSet rSet,
const ScOrcusXf rXf 
)

◆ applyXfToItemSet() [2/2]

void ScOrcusStyles::applyXfToItemSet ( SfxItemSet rSet,
std::size_t  xfId 
)

Definition at line 2289 of file interface.cxx.

References applyXfToItemSet(), maCellXfs, rSet, SAL_INFO, and SAL_WARN.

◆ set_border_count()

void ScOrcusStyles::set_border_count ( size_t  n)
overridevirtual

Definition at line 2366 of file interface.cxx.

◆ set_cell_style_count()

void ScOrcusStyles::set_cell_style_count ( size_t  n)
overridevirtual

Definition at line 2378 of file interface.cxx.

◆ set_fill_count()

void ScOrcusStyles::set_fill_count ( size_t  n)
overridevirtual

Definition at line 2362 of file interface.cxx.

◆ set_font_count()

void ScOrcusStyles::set_font_count ( size_t  n)
overridevirtual

Definition at line 2358 of file interface.cxx.

◆ set_number_format_count()

void ScOrcusStyles::set_number_format_count ( size_t  n)
overridevirtual

Definition at line 2370 of file interface.cxx.

◆ set_xf_count()

void ScOrcusStyles::set_xf_count ( orcus::spreadsheet::xf_category_t  cat,
size_t  n 
)
overridevirtual

Definition at line 2374 of file interface.cxx.

◆ start_border_style()

os::iface::import_border_style * ScOrcusStyles::start_border_style ( )
overridevirtual

Definition at line 2313 of file interface.cxx.

References maBorderStyle, and ScOrcusImportBorderStyle::reset().

◆ start_cell_protection()

os::iface::import_cell_protection * ScOrcusStyles::start_cell_protection ( )
overridevirtual

Definition at line 2319 of file interface.cxx.

References maCellProtection, and ScOrcusImportCellProtection::reset().

◆ start_cell_style()

os::iface::import_cell_style * ScOrcusStyles::start_cell_style ( )
overridevirtual

Definition at line 2352 of file interface.cxx.

References maCellStyle, and ScOrucsImportCellStyle::reset().

◆ start_fill_style()

os::iface::import_fill_style * ScOrcusStyles::start_fill_style ( )
overridevirtual

Definition at line 2307 of file interface.cxx.

References maFillStyle, and ScOrcusImportFillStyle::reset().

◆ start_font_style()

os::iface::import_font_style * ScOrcusStyles::start_font_style ( )
overridevirtual

Definition at line 2301 of file interface.cxx.

References maFontStyle, and ScOrcusImportFontStyle::reset().

◆ start_number_format()

os::iface::import_number_format * ScOrcusStyles::start_number_format ( )
overridevirtual

Definition at line 2325 of file interface.cxx.

References maNumberFormat, and ScOrcusImportNumberFormat::reset().

◆ start_xf()

os::iface::import_xf * ScOrcusStyles::start_xf ( orcus::spreadsheet::xf_category_t  cat)
overridevirtual

Member Data Documentation

◆ maBorders

std::vector<ScOrcusBorder> ScOrcusStyles::maBorders
private

Definition at line 627 of file orcusinterface.hxx.

Referenced by applyXfToItemSet().

◆ maBorderStyle

ScOrcusImportBorderStyle ScOrcusStyles::maBorderStyle
private

Definition at line 636 of file orcusinterface.hxx.

Referenced by start_border_style().

◆ maCellDiffXfs

std::vector<ScOrcusXf> ScOrcusStyles::maCellDiffXfs
private

Definition at line 632 of file orcusinterface.hxx.

Referenced by start_xf().

◆ maCellProtection

ScOrcusImportCellProtection ScOrcusStyles::maCellProtection
private

Definition at line 637 of file orcusinterface.hxx.

Referenced by start_cell_protection().

◆ maCellStyle

ScOrucsImportCellStyle ScOrcusStyles::maCellStyle
private

Definition at line 639 of file orcusinterface.hxx.

Referenced by start_cell_style().

◆ maCellStyleXfs

std::vector<ScOrcusXf> ScOrcusStyles::maCellStyleXfs
private

Definition at line 631 of file orcusinterface.hxx.

Referenced by start_xf().

◆ maCellXfs

std::vector<ScOrcusXf> ScOrcusStyles::maCellXfs
private

Definition at line 630 of file orcusinterface.hxx.

Referenced by applyXfToItemSet(), and start_xf().

◆ maFills

std::vector<ScOrcusFill> ScOrcusStyles::maFills
private

Definition at line 626 of file orcusinterface.hxx.

Referenced by applyXfToItemSet().

◆ maFillStyle

ScOrcusImportFillStyle ScOrcusStyles::maFillStyle
private

Definition at line 635 of file orcusinterface.hxx.

Referenced by start_fill_style().

◆ maFonts

std::vector<ScOrcusFont> ScOrcusStyles::maFonts
private

Definition at line 625 of file orcusinterface.hxx.

Referenced by applyXfToItemSet().

◆ maFontStyle

ScOrcusImportFontStyle ScOrcusStyles::maFontStyle
private

Definition at line 634 of file orcusinterface.hxx.

Referenced by start_font_style().

◆ maNumberFormat

ScOrcusImportNumberFormat ScOrcusStyles::maNumberFormat
private

Definition at line 638 of file orcusinterface.hxx.

Referenced by start_number_format().

◆ maNumberFormats

std::vector<ScOrcusNumberFormat> ScOrcusStyles::maNumberFormats
private

Definition at line 629 of file orcusinterface.hxx.

Referenced by applyXfToItemSet().

◆ maProtections

std::vector<ScOrcusProtection> ScOrcusStyles::maProtections
private

Definition at line 628 of file orcusinterface.hxx.

Referenced by applyXfToItemSet().

◆ maXf

ScOrcusImportXf ScOrcusStyles::maXf
private

Definition at line 640 of file orcusinterface.hxx.

Referenced by start_xf().

◆ mrFactory

ScOrcusFactory& ScOrcusStyles::mrFactory
private

Definition at line 623 of file orcusinterface.hxx.

Referenced by applyXfToItemSet().


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