LibreOffice Module sc (master) 1
|
#include <nameuno.hxx>
Public Member Functions | |
ScLabelRangesObj (ScDocShell *pDocSh, bool bCol) | |
virtual | ~ScLabelRangesObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | addNew (const css::table::CellRangeAddress &aLabelArea, const css::table::CellRangeAddress &aDataArea) override |
XLabelRanges. 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 | |
rtl::Reference< ScLabelRangeObj > | GetObjectByIndex_Impl (size_t nIndex) |
Private Attributes | |
ScDocShell * | pDocShell |
bool | bColumn |
Definition at line 273 of file nameuno.hxx.
ScLabelRangesObj::ScLabelRangesObj | ( | ScDocShell * | pDocSh, |
bool | bCol | ||
) |
Definition at line 993 of file nameuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 1000 of file nameuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
XLabelRanges.
Undo ?!?! (here and from dialog)
Definition at line 1035 of file nameuno.cxx.
References bColumn, ScRangePairList::Clone(), ScDocument::CompileColRowNameFormula(), ScUnoConversion::FillScRange(), ScDocument::GetColNameRanges(), ScDocument::GetColNameRangesRef(), ScDocShell::GetDocument(), ScDocument::GetRowNameRanges(), ScDocument::GetRowNameRangesRef(), Grid, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, pDocShell, ScDocShell::PostPaint(), and ScDocShell::SetDocumentModified().
|
overridevirtual |
XEnumerationAccess.
Definition at line 1101 of file nameuno.cxx.
|
overridevirtual |
Definition at line 1122 of file nameuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
XIndexAccess.
Definition at line 1109 of file nameuno.cxx.
References bColumn, ScDocument::GetColNameRanges(), ScDocShell::GetDocument(), ScDocument::GetRowNameRanges(), pDocShell, and ScRangePairList::size().
Referenced by hasElements().
|
overridevirtual |
XElementAccess.
Definition at line 1132 of file nameuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
XServiceInfo.
|
private |
Definition at line 1020 of file nameuno.cxx.
References bColumn, ScDocument::GetColNameRanges(), ScDocShell::GetDocument(), ScRangePair::GetRange(), ScDocument::GetRowNameRanges(), nIndex, pDocShell, and size.
Referenced by getByIndex().
|
overridevirtual |
|
overridevirtual |
Definition at line 1137 of file nameuno.cxx.
References getCount().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 1008 of file nameuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Undo ?!?! (here and from dialog)
Definition at line 1067 of file nameuno.cxx.
References bColumn, ScRangePairList::Clone(), ScDocument::CompileColRowNameFormula(), ScDocument::GetColNameRanges(), ScDocument::GetColNameRangesRef(), ScDocShell::GetDocument(), ScDocument::GetRowNameRanges(), ScDocument::GetRowNameRangesRef(), Grid, o3tl::make_unsigned(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, nIndex, pDocShell, ScDocShell::PostPaint(), ScDocShell::SetDocumentModified(), and ScRangePairList::size().
|
overridevirtual |
|
private |
Definition at line 281 of file nameuno.hxx.
Referenced by addNew(), getCount(), GetObjectByIndex_Impl(), and removeByIndex().
|
private |
Definition at line 280 of file nameuno.hxx.
Referenced by addNew(), getCount(), GetObjectByIndex_Impl(), Notify(), removeByIndex(), ScLabelRangesObj(), and ~ScLabelRangesObj().