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:
Collaboration diagram for ScAnnotationEditSource:

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 SvxViewForwarderGetViewForwarder ()
virtual SvxEditViewForwarderGetEditViewForwarder (bool bCreate=false)
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
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)

Private Member Functions

SdrObjectGetCaptionObj ()

Private Attributes

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

Detailed Description

Definition at line 95 of file editsrc.hxx.

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

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

Implements SvxEditSource.

Definition at line 122 of file editsrc.cxx.

References aCellPos, pDocShell, and ScAnnotationEditSource().

SdrObject * ScAnnotationEditSource::GetCaptionObj ( )
SvxTextForwarder * ScAnnotationEditSource::GetTextForwarder ( )
void ScAnnotationEditSource::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 

reference update

Reimplemented from SfxListener.

Definition at line 187 of file editsrc.cxx.

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

void ScAnnotationEditSource::UpdateData ( )

Undo !!!

Implements SvxEditSource.

Definition at line 163 of file editsrc.cxx.

References GetCaptionObj(), pDocShell, pEditEngine, and ScDocShellModificator::SetDocumentModified().

Member Data Documentation

ScAddress ScAnnotationEditSource::aCellPos

Definition at line 99 of file editsrc.hxx.

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

bool ScAnnotationEditSource::bDataValid

Definition at line 102 of file editsrc.hxx.

Referenced by GetTextForwarder(), and Notify().

ScDocShell* ScAnnotationEditSource::pDocShell
std::unique_ptr<ScEditEngineDefaulter> ScAnnotationEditSource::pEditEngine

Definition at line 100 of file editsrc.hxx.

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

std::unique_ptr<SvxEditEngineForwarder> ScAnnotationEditSource::pForwarder

Definition at line 101 of file editsrc.hxx.

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

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