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, const OUString &rN)
 
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 >
 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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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
 
- 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
 
- 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 >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 100 of file chartuno.hxx.

Constructor & Destructor Documentation

ScChartObj::ScChartObj ( ScDocShell pDocSh,
SCTAB  nT,
const OUString &  rN 
)
ScChartObj::~ScChartObj ( )
overridevirtual

Definition at line 421 of file chartuno.cxx.

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

Member Function Documentation

cppu::IPropertyArrayHelper * ScChartObj::createArrayHelper ( ) const
overrideprivatevirtual
void ScChartObj::GetData_Impl ( ScRangeListRef rRanges,
bool &  rColHeaders,
bool &  rRowHeaders 
) const
private
uno::Reference< lang::XComponent > SAL_CALL ScChartObj::getEmbeddedObject ( )
overridevirtual
void ScChartObj::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual
sal_Bool SAL_CALL ScChartObj::getHasColumnHeaders ( )
overridevirtual

Definition at line 611 of file chartuno.cxx.

sal_Bool SAL_CALL ScChartObj::getHasRowHeaders ( )
overridevirtual

Definition at line 630 of file chartuno.cxx.

References GetData_Impl().

virtual OUString SAL_CALL ScChartObj::getImplementationName ( )
overridevirtual
cppu::IPropertyArrayHelper & ScChartObj::getInfoHelper ( )
overrideprivate
OUString SAL_CALL ScChartObj::getName ( )
overridevirtual

Definition at line 719 of file chartuno.cxx.

References aChartName.

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

Definition at line 733 of file chartuno.cxx.

References getInfoHelper().

uno::Sequence< table::CellRangeAddress > SAL_CALL ScChartObj::getRanges ( )
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScChartObj::getSupportedServiceNames ( )
overridevirtual
void ScChartObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

update reference

Reimplemented from SfxListener.

Definition at line 429 of file chartuno.cxx.

References SfxHint::GetId(), and pDocShell.

void ScChartObj::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual
void SAL_CALL ScChartObj::setHasColumnHeaders ( sal_Bool  bHasColumnHeaders)
overridevirtual

Definition at line 620 of file chartuno.cxx.

References GetData_Impl(), and Update_Impl().

void SAL_CALL ScChartObj::setHasRowHeaders ( sal_Bool  bHasRowHeaders)
overridevirtual

Definition at line 639 of file chartuno.cxx.

References GetData_Impl(), and Update_Impl().

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

Definition at line 725 of file chartuno.cxx.

void SAL_CALL ScChartObj::setRanges ( const css::uno::Sequence< css::table::CellRangeAddress > &  aRanges)
overridevirtual
virtual sal_Bool SAL_CALL ScChartObj::supportsService ( const OUString &  ServiceName)
overridevirtual
void ScChartObj::Update_Impl ( const ScRangeListRef rRanges,
bool  bColHeaders,
bool  bRowHeaders 
)
private

Member Data Documentation

OUString ScChartObj::aChartName
private
SCTAB ScChartObj::nTab
private

Definition at line 108 of file chartuno.hxx.

Referenced by getEmbeddedObject().

ScDocShell* ScChartObj::pDocShell
private

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