LibreOffice Module sc (master) 1
|
#include <editsrc.hxx>
Public Member Functions | |
ScAnnotationEditSource (ScDocShell *pDocSh, const ScAddress &rP) | |
virtual | ~ScAnnotationEditSource () override |
virtual std::unique_ptr< SvxEditSource > | Clone () const override |
virtual SvxTextForwarder * | GetTextForwarder () 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 | |
SvxEditSource & | operator= (SvxEditSource const &)=default |
SvxEditSource & | operator= (SvxEditSource &&)=default |
virtual | ~SvxEditSource () |
virtual std::unique_ptr< SvxEditSource > | Clone () const=0 |
virtual SvxTextForwarder * | GetTextForwarder ()=0 |
virtual SvxViewForwarder * | GetViewForwarder () |
virtual SvxEditViewForwarder * | GetEditViewForwarder (bool bCreate=false) |
virtual void | UpdateData ()=0 |
virtual SfxBroadcaster & | GetBroadcaster () const |
virtual void | addRange (SvxUnoTextRangeBase *pNewRange) |
virtual void | removeRange (SvxUnoTextRangeBase *pOldRange) |
virtual const SvxUnoTextRangeBaseVec & | getRanges () 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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
SdrObject * | GetCaptionObj () |
Private Attributes | |
ScDocShell * | pDocShell |
ScAddress | aCellPos |
std::unique_ptr< ScEditEngineDefaulter > | pEditEngine |
std::unique_ptr< SvxEditEngineForwarder > | pForwarder |
bool | bDataValid |
Definition at line 94 of file editsrc.hxx.
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().
|
overridevirtual |
Definition at line 111 of file editsrc.cxx.
References ScDocShell::GetDocument(), pDocShell, pEditEngine, pForwarder, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Implements SvxEditSource.
Definition at line 122 of file editsrc.cxx.
References aCellPos, pDocShell, and ScAnnotationEditSource().
|
private |
Definition at line 127 of file editsrc.cxx.
References aCellPos, ScDocShell::GetDocument(), ScDocument::GetNote(), ScPostIt::GetOrCreateCaption(), and pDocShell.
Referenced by UpdateData().
|
overridevirtual |
Implements SvxEditSource.
Definition at line 133 of file editsrc.cxx.
References aCellPos, bDataValid, EditEngine::CreatePool(), ScDocShell::GetDocument(), ScDocument::GetNote(), ScDocument::GetNoteEngine(), pDocShell, pEditEngine, and pForwarder.
|
overridevirtual |
reference update
Reimplemented from SfxListener.
Definition at line 185 of file editsrc.cxx.
References bDataValid, SfxHint::GetId(), nId, pDocShell, pEditEngine, and pForwarder.
|
overridevirtual |
Undo !!!
Implements SvxEditSource.
Definition at line 163 of file editsrc.cxx.
References GetCaptionObj(), pDocShell, pEditEngine, ScDocShellModificator::SetDocumentModified(), and OutlinerParaObject::SetOutlinerMode().
|
private |
Definition at line 98 of file editsrc.hxx.
Referenced by Clone(), GetCaptionObj(), and GetTextForwarder().
|
private |
Definition at line 101 of file editsrc.hxx.
Referenced by GetTextForwarder(), and Notify().
|
private |
Definition at line 97 of file editsrc.hxx.
Referenced by Clone(), GetCaptionObj(), GetTextForwarder(), Notify(), ScAnnotationEditSource(), UpdateData(), and ~ScAnnotationEditSource().
|
private |
Definition at line 99 of file editsrc.hxx.
Referenced by GetTextForwarder(), Notify(), UpdateData(), and ~ScAnnotationEditSource().
|
private |
Definition at line 100 of file editsrc.hxx.
Referenced by GetTextForwarder(), Notify(), and ~ScAnnotationEditSource().