LibreOffice Module sc (master) 1
|
DataPilotTables collection per sheet. More...
#include <dapiuno.hxx>
Public Member Functions | |
ScDataPilotTablesObj (ScDocShell &rDocSh, SCTAB nT) | |
virtual | ~ScDataPilotTablesObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual css::uno::Reference< css::sheet::XDataPilotDescriptor > SAL_CALL | createDataPilotDescriptor () override |
virtual void SAL_CALL | insertNewByName (const OUString &aName, const css::table::CellAddress &aOutputAddress, const css::uno::Reference< css::sheet::XDataPilotDescriptor > &xDescriptor) override |
virtual void SAL_CALL | removeByName (const OUString &aName) 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 sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () 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< ScDataPilotTableObj > | GetObjectByIndex_Impl (sal_Int32 nIndex) |
rtl::Reference< ScDataPilotTableObj > | GetObjectByName_Impl (const OUString &aName) |
Private Attributes | |
ScDocShell * | pDocShell |
SCTAB | nTab |
DataPilotTables collection per sheet.
Definition at line 78 of file dapiuno.hxx.
ScDataPilotTablesObj::ScDataPilotTablesObj | ( | ScDocShell & | rDocSh, |
SCTAB | nT | ||
) |
Definition at line 297 of file dapiuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 304 of file dapiuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 359 of file dapiuno.cxx.
References pDocShell.
|
overridevirtual |
Definition at line 456 of file dapiuno.cxx.
|
overridevirtual |
Definition at line 490 of file dapiuno.cxx.
References Any, GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 512 of file dapiuno.cxx.
References aName, Any, and GetObjectByName_Impl().
|
overridevirtual |
Definition at line 464 of file dapiuno.cxx.
References ScRange::aStart, ScDPCollection::GetCount(), ScDocShell::GetDocument(), ScDocument::GetDPCollection(), ScDPObject::GetOutRange(), i, nCount, nTab, pDocShell, and ScAddress::Tab().
Referenced by hasElements().
|
overridevirtual |
Definition at line 521 of file dapiuno.cxx.
References aSeq, ScRange::aStart, ScDPCollection::GetCount(), ScDocShell::GetDocument(), ScDocument::GetDPCollection(), ScDPObject::GetName(), ScDPObject::GetOutRange(), i, nCount, nPos, nTab, pDocShell, and ScAddress::Tab().
|
overridevirtual |
Definition at line 499 of file dapiuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Definition at line 324 of file dapiuno.cxx.
References ScRange::aStart, ScDPCollection::GetCount(), ScDocShell::GetDocument(), ScDocument::GetDPCollection(), ScDPObject::GetName(), ScDPObject::GetOutRange(), i, nCount, nIndex, nTab, pDocShell, and ScAddress::Tab().
Referenced by getByIndex().
|
private |
Definition at line 352 of file dapiuno.cxx.
References hasByName(), nTab, and pDocShell.
Referenced by getByName().
|
overridevirtual |
|
overridevirtual |
Definition at line 558 of file dapiuno.cxx.
References aName, ScRange::aStart, ScDPCollection::GetCount(), ScDocShell::GetDocument(), ScDocument::GetDPCollection(), ScDPObject::GetName(), ScDPObject::GetOutRange(), i, nCount, nTab, pDocShell, and ScAddress::Tab().
Referenced by GetObjectByName_Impl(), and insertNewByName().
|
overridevirtual |
Definition at line 504 of file dapiuno.cxx.
References getCount().
|
overridevirtual |
Definition at line 404 of file dapiuno.cxx.
References aName, ScDBDocFunc::CreatePivotTable(), hasByName(), lcl_CreatePivotName(), pDocShell, ScDPObject::SetName(), ScDPObject::SetOutRange(), and ScDPObject::SetTag().
|
overridevirtual |
update of references
Reimplemented from SfxListener.
Definition at line 312 of file dapiuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 442 of file dapiuno.cxx.
References aName, lcl_GetDPObject(), nTab, pDocShell, and ScDBDocFunc::RemovePivotTable().
|
overridevirtual |
|
private |
Definition at line 87 of file dapiuno.hxx.
Referenced by getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), and removeByName().
|
private |
Definition at line 86 of file dapiuno.hxx.
Referenced by createDataPilotDescriptor(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), insertNewByName(), Notify(), removeByName(), ScDataPilotTablesObj(), and ~ScDataPilotTablesObj().