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

#include <notesuno.hxx>

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

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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

SvxUnoTextGetUnoText ()
 
const ScPostItImplGetNote () const
 

Private Attributes

ScDocShellpDocShell
 
ScAddress aCellPos
 
rtl::Reference< SvxUnoTextpUnoText
 

Detailed Description

Definition at line 36 of file notesuno.hxx.

Constructor & Destructor Documentation

ScAnnotationObj::ScAnnotationObj ( ScDocShell pDocSh,
const ScAddress rPos 
)

Definition at line 57 of file notesuno.cxx.

ScAnnotationObj::~ScAnnotationObj ( )
overridevirtual

Definition at line 67 of file notesuno.cxx.

Member Function Documentation

uno::Reference< text::XTextCursor > SAL_CALL ScAnnotationObj::createTextCursor ( )
overridevirtual

XSimpleText.

Definition at line 106 of file notesuno.cxx.

uno::Reference< text::XTextCursor > SAL_CALL ScAnnotationObj::createTextCursorByRange ( const css::uno::Reference< css::text::XTextRange > &  aTextPosition)
overridevirtual

Definition at line 113 of file notesuno.cxx.

uno::Reference< drawing::XShape > SAL_CALL ScAnnotationObj::getAnnotationShape ( )
overridevirtual

XSheetAnnotationShapeSupplier.

Definition at line 207 of file notesuno.cxx.

OUString SAL_CALL ScAnnotationObj::getAuthor ( )
overridevirtual

Definition at line 177 of file notesuno.cxx.

References ScPostIt::GetAuthor().

OUString SAL_CALL ScAnnotationObj::getDate ( )
overridevirtual

Definition at line 184 of file notesuno.cxx.

References ScPostIt::GetDate().

uno::Reference< text::XTextRange > SAL_CALL ScAnnotationObj::getEnd ( )
overridevirtual

Definition at line 159 of file notesuno.cxx.

virtual OUString SAL_CALL ScAnnotationObj::getImplementationName ( )
overridevirtual

XServiceInfo.

sal_Bool SAL_CALL ScAnnotationObj::getIsVisible ( )
overridevirtual

Definition at line 191 of file notesuno.cxx.

References ScPostIt::IsCaptionShown().

uno::Reference< uno::XInterface > SAL_CALL ScAnnotationObj::getParent ( )
overridevirtual

XChild.

find and reset existing object ???

Definition at line 85 of file notesuno.cxx.

table::CellAddress SAL_CALL ScAnnotationObj::getPosition ( )
overridevirtual

XSheetAnnotation.

Definition at line 167 of file notesuno.cxx.

uno::Reference< text::XTextRange > SAL_CALL ScAnnotationObj::getStart ( )
overridevirtual

Definition at line 153 of file notesuno.cxx.

OUString SAL_CALL ScAnnotationObj::getString ( )
overridevirtual

Definition at line 121 of file notesuno.cxx.

virtual css::uno::Sequence< OUString > SAL_CALL ScAnnotationObj::getSupportedServiceNames ( )
overridevirtual
uno::Reference< text::XText > SAL_CALL ScAnnotationObj::getText ( )
overridevirtual

XTextRange.

Definition at line 147 of file notesuno.cxx.

SvxUnoText & ScAnnotationObj::GetUnoText ( )
private

Definition at line 217 of file notesuno.cxx.

References lcl_GetAnnotationPropertySet().

const ScPostIt * ScAnnotationObj::ImplGetNote ( ) const
private

Definition at line 228 of file notesuno.cxx.

void SAL_CALL ScAnnotationObj::insertControlCharacter ( const css::uno::Reference< css::text::XTextRange > &  xRange,
sal_Int16  nControlCharacter,
sal_Bool  bAbsorb 
)
overridevirtual

Definition at line 140 of file notesuno.cxx.

void SAL_CALL ScAnnotationObj::insertString ( const css::uno::Reference< css::text::XTextRange > &  xRange,
const OUString &  aString,
sal_Bool  bAbsorb 
)
overridevirtual

Definition at line 133 of file notesuno.cxx.

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

Reimplemented from SfxListener.

Definition at line 75 of file notesuno.cxx.

References SfxHint::GetId().

void SAL_CALL ScAnnotationObj::setIsVisible ( sal_Bool  bIsVisible)
overridevirtual

Definition at line 198 of file notesuno.cxx.

void SAL_CALL ScAnnotationObj::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

exception or what ??!

Definition at line 98 of file notesuno.cxx.

void SAL_CALL ScAnnotationObj::setString ( const OUString &  aString)
overridevirtual

Definition at line 127 of file notesuno.cxx.

virtual sal_Bool SAL_CALL ScAnnotationObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

ScAddress ScAnnotationObj::aCellPos
private

Definition at line 100 of file notesuno.hxx.

ScDocShell* ScAnnotationObj::pDocShell
private

Definition at line 99 of file notesuno.hxx.

rtl::Reference<SvxUnoText> ScAnnotationObj::pUnoText
private

Definition at line 101 of file notesuno.hxx.


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