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

Data (incl. More...

#include <editsrc.hxx>

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

Public Member Functions

 ScCellEditSource (ScDocShell *pDocSh, const ScAddress &rP)
 
virtual ~ScCellEditSource () override
 
virtual ScEditEngineDefaulterGetEditEngine () override
 
virtual std::unique_ptr< SvxEditSourceClone () const override
 
virtual SvxTextForwarderGetTextForwarder () override
 
virtual void UpdateData () override
 
void SetDoUpdateData (bool bValue)
 
bool IsDirty () const
 
virtual ScEditEngineDefaulterGetEditEngine ()=0
 
- Public Member Functions inherited from SvxEditSource
 SvxEditSource ()=default
 
 SvxEditSource (SvxEditSource const &)=default
 
 SvxEditSource (SvxEditSource &&)=default
 
SvxEditSourceoperator= (SvxEditSource const &)=default
 
SvxEditSourceoperator= (SvxEditSource &&)=default
 
virtual ~SvxEditSource ()
 
virtual std::unique_ptr< SvxEditSourceClone () const=0
 
virtual SvxTextForwarderGetTextForwarder ()=0
 
virtual SvxViewForwarderGetViewForwarder ()
 
virtual SvxEditViewForwarderGetEditViewForwarder (bool bCreate=false)
 
virtual void UpdateData ()=0
 
virtual SfxBroadcasterGetBroadcaster () const
 
virtual void addRange (SvxUnoTextRangeBase *pNewRange)
 
virtual void removeRange (SvxUnoTextRangeBase *pOldRange)
 
virtual const SvxUnoTextRangeBaseVecgetRanges () const
 

Private Attributes

std::unique_ptr< ScCellTextDatapCellTextData
 

Detailed Description

Data (incl.

EditEngine) for cell EditSource is now shared in ScCellTextData.

ScCellEditSource with local copy of ScCellTextData is used by ScCellFieldsObj, ScCellFieldObj.

Definition at line 73 of file editsrc.hxx.

Constructor & Destructor Documentation

◆ ScCellEditSource()

ScCellEditSource::ScCellEditSource ( ScDocShell pDocSh,
const ScAddress rP 
)

Definition at line 65 of file editsrc.cxx.

Referenced by Clone().

◆ ~ScCellEditSource()

ScCellEditSource::~ScCellEditSource ( )
overridevirtual

Definition at line 68 of file editsrc.cxx.

Member Function Documentation

◆ Clone()

std::unique_ptr< SvxEditSource > ScCellEditSource::Clone ( ) const
overridevirtual

Implements SvxEditSource.

Definition at line 72 of file editsrc.cxx.

References pCellTextData, and ScCellEditSource().

◆ GetEditEngine()

ScEditEngineDefaulter * ScCellEditSource::GetEditEngine ( )
overridevirtual

Implements ScEditSource.

Definition at line 97 of file editsrc.cxx.

References pCellTextData.

◆ GetTextForwarder()

SvxTextForwarder * ScCellEditSource::GetTextForwarder ( )
overridevirtual

Implements SvxEditSource.

Definition at line 77 of file editsrc.cxx.

References pCellTextData.

◆ IsDirty()

bool ScCellEditSource::IsDirty ( ) const

◆ SetDoUpdateData()

void ScCellEditSource::SetDoUpdateData ( bool  bValue)

◆ UpdateData()

void ScCellEditSource::UpdateData ( )
overridevirtual

Member Data Documentation

◆ pCellTextData

std::unique_ptr<ScCellTextData> ScCellEditSource::pCellTextData
private

Definition at line 76 of file editsrc.hxx.

Referenced by Clone(), GetEditEngine(), GetTextForwarder(), IsDirty(), SetDoUpdateData(), and UpdateData().


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