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 83 of file orcusinterface.hxx.

Constructor & Destructor Documentation

◆ ScOrcusNamedExpression()

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

Definition at line 222 of file interface.cxx.

Member Function Documentation

◆ commit()

void ScOrcusNamedExpression::commit ( )
overridevirtual

◆ reset()

void ScOrcusNamedExpression::reset ( )

Definition at line 226 of file interface.cxx.

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

Referenced by commit().

◆ set_base_position()

void ScOrcusNamedExpression::set_base_position ( const orcus::spreadsheet::src_address_t &  pos)
overridevirtual

◆ set_named_expression()

void ScOrcusNamedExpression::set_named_expression ( std::string_view  name,
std::string_view  expression 
)
overridevirtual

◆ set_named_range()

void ScOrcusNamedExpression::set_named_range ( std::string_view  name,
std::string_view  range 
)
overridevirtual

Definition at line 248 of file interface.cxx.

Member Data Documentation

◆ maBasePos

ScAddress ScOrcusNamedExpression::maBasePos
private

Definition at line 87 of file orcusinterface.hxx.

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

◆ maExpr

OUString ScOrcusNamedExpression::maExpr
private

Definition at line 89 of file orcusinterface.hxx.

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

◆ maName

OUString ScOrcusNamedExpression::maName
private

Definition at line 88 of file orcusinterface.hxx.

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

◆ mnTab

const SCTAB ScOrcusNamedExpression::mnTab
private

Definition at line 90 of file orcusinterface.hxx.

Referenced by commit().

◆ mrDoc

ScDocumentImport& ScOrcusNamedExpression::mrDoc
private

Definition at line 85 of file orcusinterface.hxx.

Referenced by commit().

◆ mrGlobalSettings

const ScOrcusGlobalSettings& ScOrcusNamedExpression::mrGlobalSettings
private

Definition at line 86 of file orcusinterface.hxx.

Referenced by commit(), and set_named_expression().


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