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

#include <chartuno.hxx>

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

Public Member Functions

 ScChartsObj (ScDocShell *pDocSh, SCTAB nT)
 
virtual ~ScChartsObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL addNewByName (const OUString &aName, const css::awt::Rectangle &aRect, const css::uno::Sequence< css::table::CellRangeAddress > &aRanges, sal_Bool bColumnHeaders, sal_Bool bRowHeaders) 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< ScChartObjGetObjectByIndex_Impl (tools::Long nIndex) const
 
rtl::Reference< ScChartObjGetObjectByName_Impl (const OUString &aName) const
 

Private Attributes

ScDocShellpDocShell
 
SCTAB nTab
 

Detailed Description

Definition at line 42 of file chartuno.hxx.

Constructor & Destructor Documentation

◆ ScChartsObj()

ScChartsObj::ScChartsObj ( ScDocShell pDocSh,
SCTAB  nT 
)

Definition at line 60 of file chartuno.cxx.

◆ ~ScChartsObj()

ScChartsObj::~ScChartsObj ( )
overridevirtual

Definition at line 67 of file chartuno.cxx.

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

Member Function Documentation

◆ addNewByName()

void SAL_CALL ScChartsObj::addNewByName ( const OUString &  aName,
const css::awt::Rectangle &  aRect,
const css::uno::Sequence< css::table::CellRangeAddress > &  aRanges,
sal_Bool  bColumnHeaders,
sal_Bool  bRowHeaders 
)
overridevirtual

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL ScChartsObj::createEnumeration ( )
overridevirtual

Definition at line 289 of file chartuno.cxx.

◆ getByIndex()

uno::Any SAL_CALL ScChartsObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 325 of file chartuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

uno::Any SAL_CALL ScChartsObj::getByName ( const OUString &  aName)
overridevirtual

Definition at line 346 of file chartuno.cxx.

References aName, and GetObjectByName_Impl().

◆ getCount()

sal_Int32 SAL_CALL ScChartsObj::getCount ( )
overridevirtual

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL ScChartsObj::getElementNames ( )
overridevirtual

◆ getElementType()

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

Definition at line 335 of file chartuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScChartsObj::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScChartObj > ScChartsObj::GetObjectByIndex_Impl ( tools::Long  nIndex) const
private

◆ GetObjectByName_Impl()

rtl::Reference< ScChartObj > ScChartsObj::GetObjectByName_Impl ( const OUString &  aName) const
private

◆ getSupportedServiceNames()

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

◆ hasByName()

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

Definition at line 400 of file chartuno.cxx.

References aName, sc::tools::CELL_RANGE, sc::tools::findChartsByName(), nTab, and pDocShell.

◆ hasElements()

sal_Bool SAL_CALL ScChartsObj::hasElements ( )
overridevirtual

Definition at line 340 of file chartuno.cxx.

References getCount().

◆ Notify()

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

update reference

Reimplemented from SfxListener.

Definition at line 75 of file chartuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByName()

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

◆ supportsService()

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

Member Data Documentation

◆ nTab

SCTAB ScChartsObj::nTab
private

◆ pDocShell

ScDocShell* ScChartsObj::pDocShell
private

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