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

ScHeaderFooterTextObj keeps the authoritative copy of ScHeaderFooterTextData that this class holds reference to. More...

#include <editsrc.hxx>

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

Public Member Functions

 ScHeaderFooterEditSource (ScHeaderFooterTextData &rData)
 
virtual ~ScHeaderFooterEditSource () override
 
virtual ScEditEngineDefaulterGetEditEngine () override
 
virtual std::unique_ptr< SvxEditSourceClone () const override
 
virtual SvxTextForwarderGetTextForwarder () override
 
virtual void UpdateData () override
 
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

ScHeaderFooterTextDatamrTextData
 

Detailed Description

ScHeaderFooterTextObj keeps the authoritative copy of ScHeaderFooterTextData that this class holds reference to.

It's a reference instead of a copy to avoid broadcasting changes to the authoritative copy.

Definition at line 49 of file editsrc.hxx.

Constructor & Destructor Documentation

◆ ScHeaderFooterEditSource()

ScHeaderFooterEditSource::ScHeaderFooterEditSource ( ScHeaderFooterTextData rData)

Definition at line 40 of file editsrc.cxx.

Referenced by Clone().

◆ ~ScHeaderFooterEditSource()

ScHeaderFooterEditSource::~ScHeaderFooterEditSource ( )
overridevirtual

Definition at line 43 of file editsrc.cxx.

Member Function Documentation

◆ Clone()

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

Implements SvxEditSource.

Definition at line 50 of file editsrc.cxx.

References mrTextData, and ScHeaderFooterEditSource().

◆ GetEditEngine()

ScEditEngineDefaulter * ScHeaderFooterEditSource::GetEditEngine ( )
overridevirtual

Implements ScEditSource.

Definition at line 45 of file editsrc.cxx.

References ScHeaderFooterTextData::GetEditEngine(), and mrTextData.

◆ GetTextForwarder()

SvxTextForwarder * ScHeaderFooterEditSource::GetTextForwarder ( )
overridevirtual

Implements SvxEditSource.

Definition at line 55 of file editsrc.cxx.

References ScHeaderFooterTextData::GetTextForwarder(), and mrTextData.

◆ UpdateData()

void ScHeaderFooterEditSource::UpdateData ( )
overridevirtual

Implements SvxEditSource.

Definition at line 60 of file editsrc.cxx.

References mrTextData, and ScHeaderFooterTextData::UpdateData().

Member Data Documentation

◆ mrTextData

ScHeaderFooterTextData& ScHeaderFooterEditSource::mrTextData
private

Definition at line 52 of file editsrc.hxx.

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


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