LibreOffice Module sc (master) 1
|
#include <datauno.hxx>
Public Member Functions | |
ScDatabaseRangesObj (ScDocShell *pDocSh) | |
virtual | ~ScDatabaseRangesObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | addNewByName (const OUString &aName, const css::table::CellRangeAddress &aRange) override |
virtual void SAL_CALL | removeByName (const OUString &aName) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual OUString SAL_CALL | getImplementationName () override |
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< ScDatabaseRangeObj > | GetObjectByIndex_Impl (size_t nIndex) |
rtl::Reference< ScDatabaseRangeObj > | GetObjectByName_Impl (const OUString &aName) |
Private Attributes | |
ScDocShell * | pDocShell |
Definition at line 476 of file datauno.hxx.
ScDatabaseRangesObj::ScDatabaseRangesObj | ( | ScDocShell * | pDocSh | ) |
Definition at line 2123 of file datauno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 2129 of file datauno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 2176 of file datauno.cxx.
References ScDBDocFunc::AddDBRange(), aName, and pDocShell.
|
overridevirtual |
Definition at line 2208 of file datauno.cxx.
|
overridevirtual |
Definition at line 2231 of file datauno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 2257 of file datauno.cxx.
References aName, and GetObjectByName_Impl().
|
overridevirtual |
need to omit "unnamed"?
Definition at line 2216 of file datauno.cxx.
References ScDocument::GetDBCollection(), ScDocShell::GetDocument(), ScDBCollection::getNamedDBs(), pDocShell, and ScDBCollection::NamedDBs::size().
Referenced by hasElements().
|
overridevirtual |
need to omit "unnamed"?
Definition at line 2267 of file datauno.cxx.
References aSeq, ScDocument::GetDBCollection(), ScDocShell::GetDocument(), ScDBCollection::getNamedDBs(), i, pDocShell, and ScDBCollection::NamedDBs::size().
|
overridevirtual |
Definition at line 2244 of file datauno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Definition at line 2149 of file datauno.cxx.
References ScDBCollection::NamedDBs::begin(), ScDBCollection::NamedDBs::empty(), ScDocument::GetDBCollection(), ScDocShell::GetDocument(), SfxShell::GetName(), ScDBCollection::getNamedDBs(), nIndex, pDocShell, and ScDBCollection::NamedDBs::size().
Referenced by getByIndex().
|
private |
Definition at line 2167 of file datauno.cxx.
References aName, hasByName(), and pDocShell.
Referenced by getByName().
|
overridevirtual |
|
overridevirtual |
need to omit "unnamed"?
Definition at line 2294 of file datauno.cxx.
References aName, ScDBCollection::NamedDBs::findByUpperName(), ScGlobal::getCharClass(), ScDocument::GetDBCollection(), ScDocShell::GetDocument(), ScDBCollection::getNamedDBs(), and pDocShell.
Referenced by GetObjectByName_Impl().
|
overridevirtual |
Definition at line 2249 of file datauno.cxx.
References getCount().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 2137 of file datauno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 2193 of file datauno.cxx.
References aName, ScDBDocFunc::DeleteDBRange(), and pDocShell.
|
overridevirtual |
|
private |
Definition at line 484 of file datauno.hxx.
Referenced by addNewByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), Notify(), removeByName(), ScDatabaseRangesObj(), and ~ScDatabaseRangesObj().