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

#include <orcusinterface.hxx>

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

Public Member Functions

 ScOrcusNamedExpression (ScDocumentImport &rDoc, const ScOrcusGlobalSettings &rGS, SCTAB nTab=-1)
 
void reset ()
 
virtual void set_base_position (const orcus::spreadsheet::src_address_t &pos) override
 
virtual void set_named_expression (std::string_view name, std::string_view expression) override
 
virtual void set_named_range (std::string_view name, std::string_view range) override
 
virtual void commit () override
 

Private Attributes

ScDocumentImportmrDoc
 
const ScOrcusGlobalSettingsmrGlobalSettings
 
ScAddress maBasePos
 
OUString maName
 
OUString maExpr
 
const SCTAB mnTab
 

Detailed Description

Definition at line 82 of file orcusinterface.hxx.

Constructor & Destructor Documentation

ScOrcusNamedExpression::ScOrcusNamedExpression ( ScDocumentImport rDoc,
const ScOrcusGlobalSettings rGS,
SCTAB  nTab = -1 
)

Definition at line 216 of file interface.cxx.

Member Function Documentation

void ScOrcusNamedExpression::commit ( )
overridevirtual
void ScOrcusNamedExpression::reset ( )

Definition at line 220 of file interface.cxx.

References maBasePos, maExpr, maName, ScAddress::SetCol(), ScAddress::SetRow(), and ScAddress::SetTab().

Referenced by commit().

void ScOrcusNamedExpression::set_base_position ( const orcus::spreadsheet::src_address_t &  pos)
overridevirtual
void ScOrcusNamedExpression::set_named_expression ( std::string_view  name,
std::string_view  expression 
)
overridevirtual
void ScOrcusNamedExpression::set_named_range ( std::string_view  name,
std::string_view  range 
)
overridevirtual

Definition at line 242 of file interface.cxx.

Member Data Documentation

ScAddress ScOrcusNamedExpression::maBasePos
private

Definition at line 86 of file orcusinterface.hxx.

Referenced by commit(), reset(), and set_base_position().

OUString ScOrcusNamedExpression::maExpr
private

Definition at line 88 of file orcusinterface.hxx.

Referenced by commit(), reset(), and set_named_expression().

OUString ScOrcusNamedExpression::maName
private

Definition at line 87 of file orcusinterface.hxx.

Referenced by commit(), reset(), and set_named_expression().

const SCTAB ScOrcusNamedExpression::mnTab
private

Definition at line 89 of file orcusinterface.hxx.

Referenced by commit().

ScDocumentImport& ScOrcusNamedExpression::mrDoc
private

Definition at line 84 of file orcusinterface.hxx.

Referenced by commit().

const ScOrcusGlobalSettings& ScOrcusNamedExpression::mrGlobalSettings
private

Definition at line 85 of file orcusinterface.hxx.

Referenced by commit(), and set_named_expression().


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