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

#include <editsrc.hxx>

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

Public Member Functions

 ScAnnotationEditSource (ScDocShell *pDocSh, const ScAddress &rP)
 
virtual ~ScAnnotationEditSource () override
 
virtual std::unique_ptr< SvxEditSourceClone () const override
 
virtual SvxTextForwarderGetTextForwarder () override
 
virtual void UpdateData () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
- 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
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

SdrObjectGetCaptionObj ()
 

Private Attributes

ScDocShellpDocShell
 
ScAddress aCellPos
 
std::unique_ptr< ScEditEngineDefaulterpEditEngine
 
std::unique_ptr< SvxEditEngineForwarderpForwarder
 
bool bDataValid
 

Detailed Description

Definition at line 94 of file editsrc.hxx.

Constructor & Destructor Documentation

◆ ScAnnotationEditSource()

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

Definition at line 102 of file editsrc.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.

Referenced by Clone().

◆ ~ScAnnotationEditSource()

ScAnnotationEditSource::~ScAnnotationEditSource ( )
overridevirtual

Member Function Documentation

◆ Clone()

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

Implements SvxEditSource.

Definition at line 122 of file editsrc.cxx.

References aCellPos, pDocShell, and ScAnnotationEditSource().

◆ GetCaptionObj()

SdrObject * ScAnnotationEditSource::GetCaptionObj ( )
private

◆ GetTextForwarder()

SvxTextForwarder * ScAnnotationEditSource::GetTextForwarder ( )
overridevirtual

◆ Notify()

void ScAnnotationEditSource::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

reference update

Reimplemented from SfxListener.

Definition at line 185 of file editsrc.cxx.

References bDataValid, SfxHint::GetId(), nId, pDocShell, pEditEngine, and pForwarder.

◆ UpdateData()

void ScAnnotationEditSource::UpdateData ( )
overridevirtual

Member Data Documentation

◆ aCellPos

ScAddress ScAnnotationEditSource::aCellPos
private

Definition at line 98 of file editsrc.hxx.

Referenced by Clone(), GetCaptionObj(), and GetTextForwarder().

◆ bDataValid

bool ScAnnotationEditSource::bDataValid
private

Definition at line 101 of file editsrc.hxx.

Referenced by GetTextForwarder(), and Notify().

◆ pDocShell

ScDocShell* ScAnnotationEditSource::pDocShell
private

◆ pEditEngine

std::unique_ptr<ScEditEngineDefaulter> ScAnnotationEditSource::pEditEngine
private

Definition at line 99 of file editsrc.hxx.

Referenced by GetTextForwarder(), Notify(), UpdateData(), and ~ScAnnotationEditSource().

◆ pForwarder

std::unique_ptr<SvxEditEngineForwarder> ScAnnotationEditSource::pForwarder
private

Definition at line 100 of file editsrc.hxx.

Referenced by GetTextForwarder(), Notify(), and ~ScAnnotationEditSource().


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