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

#include <chartuno.hxx>

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

Public Member Functions

 ScChartObj (ScDocShell *pDocSh, SCTAB nT, OUString aN)
 
virtual ~ScChartObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual sal_Bool SAL_CALL getHasColumnHeaders () override
 
virtual void SAL_CALL setHasColumnHeaders (sal_Bool bHasColumnHeaders) override
 
virtual sal_Bool SAL_CALL getHasRowHeaders () override
 
virtual void SAL_CALL setHasRowHeaders (sal_Bool bHasRowHeaders) override
 
virtual css::uno::Sequence< css::table::CellRangeAddress > SAL_CALL getRanges () override
 
virtual void SAL_CALL setRanges (const css::uno::Sequence< css::table::CellRangeAddress > &aRanges) override
 
virtual css::uno::Reference< css::lang::XComponent > SAL_CALL getEmbeddedObject () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (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
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 
- 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

void Update_Impl (const ScRangeListRef &rRanges, bool bColHeaders, bool bRowHeaders)
 
void GetData_Impl (ScRangeListRef &rRanges, bool &rColHeaders, bool &rRowHeaders) const
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 

Private Attributes

ScDocShellpDocShell
 
SCTAB nTab
 
OUString aChartName
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const=0
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 101 of file chartuno.hxx.

Constructor & Destructor Documentation

◆ ScChartObj()

ScChartObj::ScChartObj ( ScDocShell pDocSh,
SCTAB  nT,
OUString  aN 
)

◆ ~ScChartObj()

ScChartObj::~ScChartObj ( )
overridevirtual

Definition at line 423 of file chartuno.cxx.

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

Member Function Documentation

◆ createArrayHelper()

cppu::IPropertyArrayHelper * ScChartObj::createArrayHelper ( ) const
overrideprivatevirtual

◆ GetData_Impl()

void ScChartObj::GetData_Impl ( ScRangeListRef rRanges,
bool &  rColHeaders,
bool &  rRowHeaders 
) const
private

◆ getEmbeddedObject()

uno::Reference< lang::XComponent > SAL_CALL ScChartObj::getEmbeddedObject ( )
overridevirtual

◆ getFastPropertyValue()

void ScChartObj::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual

◆ getHasColumnHeaders()

sal_Bool SAL_CALL ScChartObj::getHasColumnHeaders ( )
overridevirtual

Definition at line 613 of file chartuno.cxx.

◆ getHasRowHeaders()

sal_Bool SAL_CALL ScChartObj::getHasRowHeaders ( )
overridevirtual

Definition at line 632 of file chartuno.cxx.

References GetData_Impl().

◆ getImplementationName()

virtual OUString SAL_CALL ScChartObj::getImplementationName ( )
overridevirtual

◆ getInfoHelper()

cppu::IPropertyArrayHelper & ScChartObj::getInfoHelper ( )
overrideprivate

◆ getName()

OUString SAL_CALL ScChartObj::getName ( )
overridevirtual

Definition at line 721 of file chartuno.cxx.

References aChartName.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > ScChartObj::getPropertySetInfo ( )
overridevirtual

Definition at line 734 of file chartuno.cxx.

References getInfoHelper().

◆ getRanges()

uno::Sequence< table::CellRangeAddress > SAL_CALL ScChartObj::getRanges ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ Notify()

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

update reference

Reimplemented from SfxListener.

Definition at line 431 of file chartuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ setFastPropertyValue_NoBroadcast()

void ScChartObj::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual

◆ setHasColumnHeaders()

void SAL_CALL ScChartObj::setHasColumnHeaders ( sal_Bool  bHasColumnHeaders)
overridevirtual

Definition at line 622 of file chartuno.cxx.

References GetData_Impl(), and Update_Impl().

◆ setHasRowHeaders()

void SAL_CALL ScChartObj::setHasRowHeaders ( sal_Bool  bHasRowHeaders)
overridevirtual

Definition at line 641 of file chartuno.cxx.

References GetData_Impl(), and Update_Impl().

◆ setName()

void SAL_CALL ScChartObj::setName ( const OUString &  aName)
overridevirtual

Definition at line 727 of file chartuno.cxx.

◆ setRanges()

void SAL_CALL ScChartObj::setRanges ( const css::uno::Sequence< css::table::CellRangeAddress > &  aRanges)
overridevirtual

◆ supportsService()

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

◆ Update_Impl()

void ScChartObj::Update_Impl ( const ScRangeListRef rRanges,
bool  bColHeaders,
bool  bRowHeaders 
)
private

Member Data Documentation

◆ aChartName

OUString ScChartObj::aChartName
private

◆ nTab

SCTAB ScChartObj::nTab
private

Definition at line 109 of file chartuno.hxx.

Referenced by getEmbeddedObject().

◆ pDocShell

ScDocShell* ScChartObj::pDocShell
private

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