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

#include <orcusinterface.hxx>

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

Public Member Functions

 ScOrcusSheet (ScDocumentImport &rDoc, SCTAB nTab, ScOrcusFactory &rFactory)
 
virtual orcus::spreadsheet::iface::import_auto_filter * get_auto_filter () override
 
virtual orcus::spreadsheet::iface::import_table * get_table () override
 
virtual orcus::spreadsheet::iface::import_sheet_properties * get_sheet_properties () override
 
virtual orcus::spreadsheet::iface::import_conditional_format * get_conditional_format () override
 
virtual orcus::spreadsheet::iface::import_named_expression * get_named_expression () override
 
virtual orcus::spreadsheet::iface::import_formula * get_formula () override
 
virtual orcus::spreadsheet::iface::import_array_formula * get_array_formula () override
 
virtual void set_auto (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, std::string_view value) override
 
virtual void set_string (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::string_id_t sindex) override
 
virtual void set_value (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, double value) override
 
virtual void set_bool (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, bool value) override
 
virtual void set_date_time (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, int year, int month, int day, int hour, int minute, double second) override
 
virtual void set_format (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t xf_index) override
 
virtual void set_format (orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start, orcus::spreadsheet::row_t row_end, orcus::spreadsheet::col_t col_end, size_t xf_index) override
 
virtual orcus::spreadsheet::range_size_t get_sheet_size () const override
 
virtual void fill_down_cells (orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::spreadsheet::row_t range_size) override
 
SCTAB getIndex () const
 
const sc::SharedFormulaGroupsgetSharedFormulaGroups () const
 
sc::SharedFormulaGroupsgetSharedFormulaGroups ()
 
ScOrcusFactorygetFactory ()
 

Private Member Functions

void cellInserted ()
 
ScDocumentImportgetDoc ()
 

Private Attributes

ScDocumentImportmrDoc
 
SCTAB mnTab
 
ScOrcusFactorymrFactory
 
ScOrcusStylesmrStyles
 
sc::SharedFormulaGroups maFormulaGroups
 
ScOrcusAutoFilter maAutoFilter
 
ScOrcusSheetProperties maProperties
 
ScOrcusConditionalFormat maConditionalFormat
 
ScOrcusNamedExpression maNamedExpressions
 
ScOrcusFormula maFormula
 
ScOrcusArrayFormula maArrayFormula
 
int mnCellCount
 

Friends

class ScOrcusFormula
 
class ScOrcusArrayFormula
 

Detailed Description

Definition at line 293 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusSheet()

ScOrcusSheet::ScOrcusSheet ( ScDocumentImport rDoc,
SCTAB  nTab,
ScOrcusFactory rFactory 
)

Definition at line 910 of file interface.cxx.

References maFormula, and maProperties.

Member Function Documentation

◆ cellInserted()

void ScOrcusSheet::cellInserted ( )
private

◆ fill_down_cells()

void ScOrcusSheet::fill_down_cells ( orcus::spreadsheet::row_t  row,
orcus::spreadsheet::col_t  col,
orcus::spreadsheet::row_t  range_size 
)
overridevirtual

◆ get_array_formula()

os::iface::import_array_formula * ScOrcusSheet::get_array_formula ( )
overridevirtual

Definition at line 1153 of file interface.cxx.

References maArrayFormula, and ScOrcusArrayFormula::reset().

◆ get_auto_filter()

os::iface::import_auto_filter * ScOrcusSheet::get_auto_filter ( )
overridevirtual

Definition at line 1122 of file interface.cxx.

References maAutoFilter.

◆ get_conditional_format()

os::iface::import_conditional_format * ScOrcusSheet::get_conditional_format ( )
overridevirtual

Definition at line 1137 of file interface.cxx.

References maConditionalFormat.

◆ get_formula()

os::iface::import_formula * ScOrcusSheet::get_formula ( )
overridevirtual

Definition at line 1147 of file interface.cxx.

References maFormula, and ScOrcusFormula::reset().

◆ get_named_expression()

os::iface::import_named_expression * ScOrcusSheet::get_named_expression ( )
overridevirtual

Definition at line 1142 of file interface.cxx.

References maNamedExpressions.

◆ get_sheet_properties()

os::iface::import_sheet_properties * ScOrcusSheet::get_sheet_properties ( )
overridevirtual

Definition at line 1132 of file interface.cxx.

References maProperties.

◆ get_sheet_size()

orcus::spreadsheet::range_size_t ScOrcusSheet::get_sheet_size ( ) const
overridevirtual

Definition at line 1225 of file interface.cxx.

References MAXCOLCOUNT, and MAXROWCOUNT.

◆ get_table()

os::iface::import_table * ScOrcusSheet::get_table ( )
overridevirtual

Definition at line 1127 of file interface.cxx.

◆ getDoc()

ScDocumentImport & ScOrcusSheet::getDoc ( )
private

Definition at line 1117 of file interface.cxx.

References mrDoc.

Referenced by ScOrcusFormula::commit().

◆ getFactory()

ScOrcusFactory & ScOrcusSheet::getFactory ( )

◆ getIndex()

SCTAB ScOrcusSheet::getIndex ( ) const
inline

Definition at line 344 of file orcusinterface.hxx.

References mnTab.

Referenced by ScOrcusFormula::commit(), and ScOrcusArrayFormula::commit().

◆ getSharedFormulaGroups() [1/2]

sc::SharedFormulaGroups & ScOrcusSheet::getSharedFormulaGroups ( )

Definition at line 1245 of file interface.cxx.

References maFormulaGroups.

◆ getSharedFormulaGroups() [2/2]

const sc::SharedFormulaGroups & ScOrcusSheet::getSharedFormulaGroups ( ) const

Definition at line 1240 of file interface.cxx.

References maFormulaGroups.

Referenced by ScOrcusFormula::commit(), and ScOrcusFactory::finalize().

◆ set_auto()

void ScOrcusSheet::set_auto ( orcus::spreadsheet::row_t  row,
orcus::spreadsheet::col_t  col,
std::string_view  value 
)
overridevirtual

◆ set_bool()

void ScOrcusSheet::set_bool ( orcus::spreadsheet::row_t  row,
orcus::spreadsheet::col_t  col,
bool  value 
)
overridevirtual

◆ set_date_time()

void ScOrcusSheet::set_date_time ( orcus::spreadsheet::row_t  row,
orcus::spreadsheet::col_t  col,
int  year,
int  month,
int  day,
int  hour,
int  minute,
double  second 
)
overridevirtual

◆ set_format() [1/2]

virtual void ScOrcusSheet::set_format ( orcus::spreadsheet::row_t  row,
orcus::spreadsheet::col_t  col,
size_t  xf_index 
)
overridevirtual

◆ set_format() [2/2]

virtual void ScOrcusSheet::set_format ( orcus::spreadsheet::row_t  row_start,
orcus::spreadsheet::col_t  col_start,
orcus::spreadsheet::row_t  row_end,
orcus::spreadsheet::col_t  col_end,
size_t  xf_index 
)
overridevirtual

◆ set_string()

void ScOrcusSheet::set_string ( orcus::spreadsheet::row_t  row,
orcus::spreadsheet::col_t  col,
orcus::spreadsheet::string_id_t  sindex 
)
overridevirtual

Definition at line 1166 of file interface.cxx.

References cellInserted(), mnTab, mrFactory, and ScOrcusFactory::pushCellStoreToken().

◆ set_value()

void ScOrcusSheet::set_value ( orcus::spreadsheet::row_t  row,
orcus::spreadsheet::col_t  col,
double  value 
)
overridevirtual

Friends And Related Function Documentation

◆ ScOrcusArrayFormula

friend class ScOrcusArrayFormula
friend

Definition at line 296 of file orcusinterface.hxx.

◆ ScOrcusFormula

friend class ScOrcusFormula
friend

Definition at line 295 of file orcusinterface.hxx.

Member Data Documentation

◆ maArrayFormula

ScOrcusArrayFormula ScOrcusSheet::maArrayFormula
private

Definition at line 309 of file orcusinterface.hxx.

Referenced by get_array_formula().

◆ maAutoFilter

ScOrcusAutoFilter ScOrcusSheet::maAutoFilter
private

Definition at line 304 of file orcusinterface.hxx.

Referenced by get_auto_filter().

◆ maConditionalFormat

ScOrcusConditionalFormat ScOrcusSheet::maConditionalFormat
private

Definition at line 306 of file orcusinterface.hxx.

Referenced by get_conditional_format().

◆ maFormula

ScOrcusFormula ScOrcusSheet::maFormula
private

Definition at line 308 of file orcusinterface.hxx.

Referenced by get_formula().

◆ maFormulaGroups

sc::SharedFormulaGroups ScOrcusSheet::maFormulaGroups
private

Definition at line 302 of file orcusinterface.hxx.

Referenced by getSharedFormulaGroups().

◆ maNamedExpressions

ScOrcusNamedExpression ScOrcusSheet::maNamedExpressions
private

Definition at line 307 of file orcusinterface.hxx.

Referenced by get_named_expression().

◆ maProperties

ScOrcusSheetProperties ScOrcusSheet::maProperties
private

Definition at line 305 of file orcusinterface.hxx.

Referenced by get_sheet_properties().

◆ mnCellCount

int ScOrcusSheet::mnCellCount
private

Definition at line 311 of file orcusinterface.hxx.

Referenced by cellInserted().

◆ mnTab

SCTAB ScOrcusSheet::mnTab
private

◆ mrDoc

ScDocumentImport& ScOrcusSheet::mrDoc
private

Definition at line 298 of file orcusinterface.hxx.

Referenced by getDoc(), and set_date_time().

◆ mrFactory

ScOrcusFactory& ScOrcusSheet::mrFactory
private

◆ mrStyles

ScOrcusStyles& ScOrcusSheet::mrStyles
private

Definition at line 301 of file orcusinterface.hxx.


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