LibreOffice Module sc (master) 1
|
#include <notesuno.hxx>
Public Member Functions | |
ScAnnotationObj (ScDocShell *pDocSh, const ScAddress &rPos) | |
virtual | ~ScAnnotationObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getParent () override |
XChild. More... | |
virtual void SAL_CALL | setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursor () override |
XSimpleText. More... | |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &aTextPosition) override |
virtual void SAL_CALL | insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override |
virtual css::uno::Reference< css::text::XText > SAL_CALL | getText () override |
XTextRange. More... | |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getStart () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getEnd () override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &aString) override |
virtual css::table::CellAddress SAL_CALL | getPosition () override |
XSheetAnnotation. More... | |
virtual OUString SAL_CALL | getAuthor () override |
virtual OUString SAL_CALL | getDate () override |
virtual sal_Bool SAL_CALL | getIsVisible () override |
virtual void SAL_CALL | setIsVisible (sal_Bool bIsVisible) override |
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL | getAnnotationShape () override |
XSheetAnnotationShapeSupplier. More... | |
virtual OUString SAL_CALL | getImplementationName () override |
XServiceInfo. More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
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 | |
SvxUnoText & | GetUnoText () |
const ScPostIt * | ImplGetNote () const |
Private Attributes | |
ScDocShell * | pDocShell |
ScAddress | aCellPos |
rtl::Reference< SvxUnoText > | pUnoText |
Definition at line 36 of file notesuno.hxx.
ScAnnotationObj::ScAnnotationObj | ( | ScDocShell * | pDocSh, |
const ScAddress & | rPos | ||
) |
Definition at line 56 of file notesuno.cxx.
|
overridevirtual |
Definition at line 66 of file notesuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
XSimpleText.
Definition at line 105 of file notesuno.cxx.
References SvxUnoTextBase::createTextCursor(), and GetUnoText().
|
overridevirtual |
Definition at line 112 of file notesuno.cxx.
References SvxUnoTextBase::createTextCursorByRange(), and GetUnoText().
|
overridevirtual |
XSheetAnnotationShapeSupplier.
Definition at line 206 of file notesuno.cxx.
References aCellPos, and ImplGetNote().
|
overridevirtual |
Definition at line 176 of file notesuno.cxx.
References ScPostIt::GetAuthor(), and ImplGetNote().
|
overridevirtual |
Definition at line 183 of file notesuno.cxx.
References ScPostIt::GetDate(), and ImplGetNote().
|
overridevirtual |
Definition at line 158 of file notesuno.cxx.
References SvxUnoTextBase::getEnd(), and GetUnoText().
|
overridevirtual |
XServiceInfo.
|
overridevirtual |
Definition at line 190 of file notesuno.cxx.
References ImplGetNote(), and ScPostIt::IsCaptionShown().
|
overridevirtual |
|
overridevirtual |
XSheetAnnotation.
Definition at line 166 of file notesuno.cxx.
References aCellPos, ScAddress::Col(), ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
Definition at line 152 of file notesuno.cxx.
References SvxUnoTextBase::getStart(), and GetUnoText().
|
overridevirtual |
Definition at line 120 of file notesuno.cxx.
References SvxUnoTextBase::getString(), and GetUnoText().
|
overridevirtual |
|
overridevirtual |
XTextRange.
Definition at line 146 of file notesuno.cxx.
References SvxUnoTextBase::getText(), and GetUnoText().
|
private |
Definition at line 216 of file notesuno.cxx.
References aCellPos, lcl_GetAnnotationPropertySet(), pDocShell, and pUnoText.
Referenced by createTextCursor(), createTextCursorByRange(), getEnd(), getStart(), getString(), getText(), insertControlCharacter(), insertString(), and setString().
|
private |
Definition at line 227 of file notesuno.cxx.
References aCellPos, ScDocShell::GetDocument(), ScDocument::GetNote(), and pDocShell.
Referenced by getAnnotationShape(), getAuthor(), getDate(), and getIsVisible().
|
overridevirtual |
Definition at line 139 of file notesuno.cxx.
References GetUnoText(), and SvxUnoTextBase::insertControlCharacter().
|
overridevirtual |
Definition at line 132 of file notesuno.cxx.
References GetUnoText(), and SvxUnoTextBase::insertString().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 74 of file notesuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 197 of file notesuno.cxx.
References aCellPos, ScDocShell::GetDocFunc(), pDocShell, and ScDocFunc::ShowNote().
|
overridevirtual |
exception or what ??!
Definition at line 97 of file notesuno.cxx.
|
overridevirtual |
Definition at line 126 of file notesuno.cxx.
References GetUnoText(), and SvxUnoTextBase::setString().
|
overridevirtual |
|
private |
Definition at line 100 of file notesuno.hxx.
Referenced by getAnnotationShape(), getParent(), getPosition(), GetUnoText(), ImplGetNote(), and setIsVisible().
|
private |
Definition at line 99 of file notesuno.hxx.
Referenced by getParent(), GetUnoText(), ImplGetNote(), Notify(), setIsVisible(), and ~ScAnnotationObj().
|
private |
Definition at line 101 of file notesuno.hxx.
Referenced by GetUnoText().