LibreOffice Module sc (master) 1
|
#include <docuno.hxx>
Public Member Functions | |
ScAnnotationsObj (ScDocShell *pDocSh, SCTAB nT) | |
virtual | ~ScAnnotationsObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
ScDocShell * | GetDocShell () const |
virtual void SAL_CALL | insertNew (const css::table::CellAddress &aPosition, const OUString &aText) override |
XSheetAnnotations. More... | |
virtual void SAL_CALL | removeByIndex (sal_Int32 nIndex) override |
virtual sal_Int32 SAL_CALL | getCount () override |
XIndexAccess. More... | |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
XEnumerationAccess. More... | |
virtual css::uno::Type SAL_CALL | getElementType () override |
XElementAccess. More... | |
virtual sal_Bool SAL_CALL | hasElements () override |
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 | |
bool | GetAddressByIndex_Impl (sal_Int32 nIndex, ScAddress &rPos) const |
rtl::Reference< ScAnnotationObj > | GetObjectByIndex_Impl (sal_Int32 nIndex) const |
Private Attributes | |
ScDocShell * | pDocShell |
SCTAB | nTab |
Collection belongs to the sheet. More... | |
Definition at line 671 of file docuno.hxx.
ScAnnotationsObj::ScAnnotationsObj | ( | ScDocShell * | pDocSh, |
SCTAB | nT | ||
) |
Definition at line 4643 of file docuno.cxx.
|
overridevirtual |
Definition at line 4650 of file docuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
XEnumerationAccess.
iterate directly (more efficiently)?
Definition at line 4722 of file docuno.cxx.
|
private |
Definition at line 4668 of file docuno.cxx.
References ScDocShell::GetDocument(), ScDocument::GetNotePosition(), ScAddress::IsValid(), nIndex, nTab, and pDocShell.
Referenced by GetObjectByIndex_Impl(), and removeByIndex().
|
overridevirtual |
Definition at line 4745 of file docuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
XIndexAccess.
Definition at line 4732 of file docuno.cxx.
References ScDocument::GetAllocatedColumnsRange(), ScDocShell::GetDocument(), ScDocument::GetNoteCount(), ScDocument::MaxCol(), nCount, nTab, and pDocShell.
Referenced by hasElements().
|
inline |
Definition at line 690 of file docuno.hxx.
|
overridevirtual |
XElementAccess.
Definition at line 4755 of file docuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
XServiceInfo.
|
private |
Definition at line 4678 of file docuno.cxx.
References GetAddressByIndex_Impl(), nIndex, and pDocShell.
Referenced by getByIndex().
|
overridevirtual |
|
overridevirtual |
Definition at line 4760 of file docuno.cxx.
References getCount().
|
overridevirtual |
XSheetAnnotations.
Definition at line 4691 of file docuno.cxx.
References ScDocShell::GetDocFunc(), nTab, pDocShell, and ScDocFunc::ReplaceNote().
|
overridevirtual |
adjust nTab when updating references!!!
Reimplemented from SfxListener.
Definition at line 4658 of file docuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 4703 of file docuno.cxx.
References ScDocFunc::DeleteContents(), GetAddressByIndex_Impl(), ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::GetSheetLimits(), nIndex, NOTE, pDocShell, ScMarkData::SelectTable(), ScMarkData::SetMultiMarkArea(), and ScAddress::Tab().
|
overridevirtual |
|
private |
Collection belongs to the sheet.
Definition at line 679 of file docuno.hxx.
Referenced by GetAddressByIndex_Impl(), getCount(), and insertNew().
|
private |
Definition at line 678 of file docuno.hxx.
Referenced by GetAddressByIndex_Impl(), getCount(), GetObjectByIndex_Impl(), insertNew(), Notify(), removeByIndex(), and ~ScAnnotationsObj().