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

DataPilotTables collection per sheet. More...

#include <dapiuno.hxx>

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

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
 
SfxBroadcasterGetBroadcasterJOE (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< ScDataPilotTableObjGetObjectByIndex_Impl (sal_Int32 nIndex)
 
rtl::Reference< ScDataPilotTableObjGetObjectByName_Impl (const OUString &aName)
 

Private Attributes

ScDocShellpDocShell
 
SCTAB nTab
 

Detailed Description

DataPilotTables collection per sheet.

Definition at line 78 of file dapiuno.hxx.

Constructor & Destructor Documentation

◆ ScDataPilotTablesObj()

ScDataPilotTablesObj::ScDataPilotTablesObj ( ScDocShell rDocSh,
SCTAB  nT 
)

Definition at line 297 of file dapiuno.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.

◆ ~ScDataPilotTablesObj()

ScDataPilotTablesObj::~ScDataPilotTablesObj ( )
overridevirtual

Definition at line 304 of file dapiuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ createDataPilotDescriptor()

Reference< XDataPilotDescriptor > SAL_CALL ScDataPilotTablesObj::createDataPilotDescriptor ( )
overridevirtual

Definition at line 359 of file dapiuno.cxx.

References pDocShell.

◆ createEnumeration()

Reference< XEnumeration > SAL_CALL ScDataPilotTablesObj::createEnumeration ( )
overridevirtual

Definition at line 456 of file dapiuno.cxx.

◆ getByIndex()

Any SAL_CALL ScDataPilotTablesObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 490 of file dapiuno.cxx.

References Any, GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

Any SAL_CALL ScDataPilotTablesObj::getByName ( const OUString &  aName)
overridevirtual

Definition at line 512 of file dapiuno.cxx.

References aName, Any, and GetObjectByName_Impl().

◆ getCount()

sal_Int32 SAL_CALL ScDataPilotTablesObj::getCount ( )
overridevirtual

◆ getElementNames()

Sequence< OUString > SAL_CALL ScDataPilotTablesObj::getElementNames ( )
overridevirtual

◆ getElementType()

uno::Type SAL_CALL ScDataPilotTablesObj::getElementType ( )
overridevirtual

Definition at line 499 of file dapiuno.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScDataPilotTablesObj::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScDataPilotTableObj > ScDataPilotTablesObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
private

◆ GetObjectByName_Impl()

rtl::Reference< ScDataPilotTableObj > ScDataPilotTablesObj::GetObjectByName_Impl ( const OUString &  aName)
private

Definition at line 352 of file dapiuno.cxx.

References hasByName(), nTab, and pDocShell.

Referenced by getByName().

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScDataPilotTablesObj::getSupportedServiceNames ( )
overridevirtual

◆ hasByName()

sal_Bool SAL_CALL ScDataPilotTablesObj::hasByName ( const OUString &  aName)
overridevirtual

◆ hasElements()

sal_Bool SAL_CALL ScDataPilotTablesObj::hasElements ( )
overridevirtual

Definition at line 504 of file dapiuno.cxx.

References getCount().

◆ insertNewByName()

void SAL_CALL ScDataPilotTablesObj::insertNewByName ( const OUString &  aName,
const css::table::CellAddress &  aOutputAddress,
const css::uno::Reference< css::sheet::XDataPilotDescriptor > &  xDescriptor 
)
overridevirtual

◆ Notify()

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

update of references

Reimplemented from SfxListener.

Definition at line 312 of file dapiuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByName()

void SAL_CALL ScDataPilotTablesObj::removeByName ( const OUString &  aName)
overridevirtual

Definition at line 442 of file dapiuno.cxx.

References aName, lcl_GetDPObject(), nTab, pDocShell, and ScDBDocFunc::RemovePivotTable().

◆ supportsService()

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

Member Data Documentation

◆ nTab

SCTAB ScDataPilotTablesObj::nTab
private

◆ pDocShell

ScDocShell* ScDataPilotTablesObj::pDocShell
private

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