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 void set_column_format (orcus::spreadsheet::col_t col, orcus::spreadsheet::col_t col_span, std::size_t xf_index) override
 
virtual void set_row_format (orcus::spreadsheet::row_t row, std::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 298 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusSheet()

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

Definition at line 933 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 1176 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 1145 of file interface.cxx.

References maAutoFilter.

◆ get_conditional_format()

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

Definition at line 1160 of file interface.cxx.

References maConditionalFormat.

◆ get_formula()

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

Definition at line 1170 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 1165 of file interface.cxx.

References maNamedExpressions.

◆ get_sheet_properties()

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

Definition at line 1155 of file interface.cxx.

References maProperties.

◆ get_sheet_size()

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

Definition at line 1267 of file interface.cxx.

References MAXCOLCOUNT, and MAXROWCOUNT.

◆ get_table()

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

Definition at line 1150 of file interface.cxx.

◆ getDoc()

ScDocumentImport & ScOrcusSheet::getDoc ( )
private

Definition at line 1140 of file interface.cxx.

References mrDoc.

Referenced by ScOrcusFormula::commit().

◆ getFactory()

ScOrcusFactory & ScOrcusSheet::getFactory ( )

◆ getIndex()

SCTAB ScOrcusSheet::getIndex ( ) const
inline

Definition at line 352 of file orcusinterface.hxx.

References mnTab.

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

◆ getSharedFormulaGroups() [1/2]

sc::SharedFormulaGroups & ScOrcusSheet::getSharedFormulaGroups ( )

Definition at line 1287 of file interface.cxx.

References maFormulaGroups.

◆ getSharedFormulaGroups() [2/2]

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

Definition at line 1282 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_column_format()

void ScOrcusSheet::set_column_format ( orcus::spreadsheet::col_t  col,
orcus::spreadsheet::col_t  col_span,
std::size_t  xf_index 
)
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_row_format()

void ScOrcusSheet::set_row_format ( orcus::spreadsheet::row_t  row,
std::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 1189 of file interface.cxx.

References cellInserted(), col, 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 301 of file orcusinterface.hxx.

◆ ScOrcusFormula

friend class ScOrcusFormula
friend

Definition at line 300 of file orcusinterface.hxx.

Member Data Documentation

◆ maArrayFormula

ScOrcusArrayFormula ScOrcusSheet::maArrayFormula
private

Definition at line 314 of file orcusinterface.hxx.

Referenced by get_array_formula().

◆ maAutoFilter

ScOrcusAutoFilter ScOrcusSheet::maAutoFilter
private

Definition at line 309 of file orcusinterface.hxx.

Referenced by get_auto_filter().

◆ maConditionalFormat

ScOrcusConditionalFormat ScOrcusSheet::maConditionalFormat
private

Definition at line 311 of file orcusinterface.hxx.

Referenced by get_conditional_format().

◆ maFormula

ScOrcusFormula ScOrcusSheet::maFormula
private

Definition at line 313 of file orcusinterface.hxx.

Referenced by get_formula().

◆ maFormulaGroups

sc::SharedFormulaGroups ScOrcusSheet::maFormulaGroups
private

Definition at line 307 of file orcusinterface.hxx.

Referenced by getSharedFormulaGroups().

◆ maNamedExpressions

ScOrcusNamedExpression ScOrcusSheet::maNamedExpressions
private

Definition at line 312 of file orcusinterface.hxx.

Referenced by get_named_expression().

◆ maProperties

ScOrcusSheetProperties ScOrcusSheet::maProperties
private

Definition at line 310 of file orcusinterface.hxx.

Referenced by get_sheet_properties().

◆ mnCellCount

int ScOrcusSheet::mnCellCount
private

Definition at line 316 of file orcusinterface.hxx.

Referenced by cellInserted().

◆ mnTab

SCTAB ScOrcusSheet::mnTab
private

◆ mrDoc

ScDocumentImport& ScOrcusSheet::mrDoc
private

Definition at line 303 of file orcusinterface.hxx.

Referenced by getDoc(), set_column_format(), set_date_time(), and set_row_format().

◆ mrFactory

ScOrcusFactory& ScOrcusSheet::mrFactory
private

◆ mrStyles

ScOrcusStyles& ScOrcusSheet::mrStyles
private

Definition at line 306 of file orcusinterface.hxx.

Referenced by set_column_format(), and set_row_format().


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