LibreOffice Module sc (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
calc::OCellValueBinding Class Reference

#include <cellvaluebinding.hxx>

Inheritance diagram for calc::OCellValueBinding:
[legend]
Collaboration diagram for calc::OCellValueBinding:
[legend]

Public Member Functions

 OCellValueBinding (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &_rxDocument, bool _bListPos)
 constructed as ListPositionCellBinding? More...
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper5< class, class, class, class, class >
 WeakAggComponentImplHelper5 (::osl::Mutex &rMutex)
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ~OCellValueBinding () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getSupportedValueTypes () override
 
virtual sal_Bool SAL_CALL supportsType (const css::uno::Type &aType) override
 
virtual css::uno::Any SAL_CALL getValue (const css::uno::Type &aType) override
 
virtual void SAL_CALL setValue (const css::uno::Any &aValue) override
 
virtual void SAL_CALL disposing () 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
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &_rValue, sal_Int32 _nHandle) const override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
- 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
 
- 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
 

Private Member Functions

void checkDisposed () const
 
void checkValueType (const css::uno::Type &_rType) const
 
void checkInitialized ()
 
void notifyModified ()
 notifies our modify listeners our mutex is not locked More...
 
void setBooleanFormat ()
 
 OCellValueBinding (const OCellValueBinding &)=delete
 
OCellValueBindingoperator= (const OCellValueBinding &)=delete
 

Private Attributes

css::uno::Reference< css::sheet::XSpreadsheetDocument > m_xDocument
 
css::uno::Reference< css::table::XCell > m_xCell
 the document where our cell lives More...
 
css::uno::Reference< css::text::XTextRange > m_xCellText
 the cell we're bound to, for double value access More...
 
::comphelper::OInterfaceContainerHelper2 m_aModifyListeners
 the cell we're bound to, for text access More...
 
bool m_bInitialized
 our modify listeners More...
 
bool m_bListPos
 has XInitialization::initialize been called? More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- 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 57 of file cellvaluebinding.hxx.

Constructor & Destructor Documentation

calc::OCellValueBinding::OCellValueBinding ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  _rxDocument,
bool  _bListPos 
)

constructed as ListPositionCellBinding?

calc::OCellValueBinding::~OCellValueBinding ( )
overrideprotectedvirtual

Definition at line 76 of file cellvaluebinding.cxx.

References dispose().

calc::OCellValueBinding::OCellValueBinding ( const OCellValueBinding )
privatedelete

Member Function Documentation

void SAL_CALL calc::OCellValueBinding::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overrideprotectedvirtual

Definition at line 438 of file cellvaluebinding.cxx.

void calc::OCellValueBinding::checkDisposed ( ) const
private

Definition at line 390 of file cellvaluebinding.cxx.

void calc::OCellValueBinding::checkInitialized ( )
private

Definition at line 397 of file cellvaluebinding.cxx.

void calc::OCellValueBinding::checkValueType ( const css::uno::Type &  _rType) const
private

Definition at line 403 of file cellvaluebinding.cxx.

References sMessage, and supportsType().

cppu::IPropertyArrayHelper * calc::OCellValueBinding::createArrayHelper ( ) const
overrideprotectedvirtual
void SAL_CALL calc::OCellValueBinding::disposing ( )
overrideprotectedvirtual

Definition at line 89 of file cellvaluebinding.cxx.

virtual void SAL_CALL calc::OCellValueBinding::disposing ( const css::lang::EventObject &  Source)
overrideprotectedvirtual
void SAL_CALL calc::OCellValueBinding::getFastPropertyValue ( css::uno::Any &  _rValue,
sal_Int32  _nHandle 
) const
overrideprotectedvirtual

Reimplemented from comphelper::OPropertyContainer.

Definition at line 120 of file cellvaluebinding.cxx.

References PROP_HANDLE_BOUND_CELL.

OUString SAL_CALL calc::OCellValueBinding::getImplementationName ( )
overrideprotectedvirtual

Definition at line 418 of file cellvaluebinding.cxx.

cppu::IPropertyArrayHelper &SAL_CALL calc::OCellValueBinding::getInfoHelper ( )
overrideprotected

Definition at line 108 of file cellvaluebinding.cxx.

Reference< XPropertySetInfo > SAL_CALL calc::OCellValueBinding::getPropertySetInfo ( )
overrideprotectedvirtual

Definition at line 103 of file cellvaluebinding.cxx.

Sequence< OUString > SAL_CALL calc::OCellValueBinding::getSupportedServiceNames ( )
overrideprotectedvirtual

Definition at line 428 of file cellvaluebinding.cxx.

Sequence< Type > SAL_CALL calc::OCellValueBinding::getSupportedValueTypes ( )
overrideprotectedvirtual

Definition at line 131 of file cellvaluebinding.cxx.

References aTypes, checkDisposed(), cppu::UnoType< class >::get(), and nCount.

Any SAL_CALL calc::OCellValueBinding::getValue ( const css::uno::Type &  aType)
overrideprotectedvirtual

Definition at line 175 of file cellvaluebinding.cxx.

References Any, checkDisposed(), and nValue.

void SAL_CALL calc::OCellValueBinding::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overrideprotectedvirtual

Definition at line 489 of file cellvaluebinding.cxx.

References Any, Exception, and m_xDocument.

void SAL_CALL calc::OCellValueBinding::modified ( const css::lang::EventObject &  aEvent)
overrideprotectedvirtual

Definition at line 473 of file cellvaluebinding.cxx.

void calc::OCellValueBinding::notifyModified ( )
private

notifies our modify listeners our mutex is not locked

Definition at line 450 of file cellvaluebinding.cxx.

References aEvent, Exception, comphelper::OInterfaceIteratorHelper2::hasMoreElements(), and comphelper::OInterfaceIteratorHelper2::next().

OCellValueBinding& calc::OCellValueBinding::operator= ( const OCellValueBinding )
privatedelete
void SAL_CALL calc::OCellValueBinding::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overrideprotectedvirtual

Definition at line 444 of file cellvaluebinding.cxx.

void calc::OCellValueBinding::setBooleanFormat ( )
private

Definition at line 344 of file cellvaluebinding.cxx.

References Exception, m_xDocument, and makeAny().

void SAL_CALL calc::OCellValueBinding::setValue ( const css::uno::Any &  aValue)
overrideprotectedvirtual

Definition at line 261 of file cellvaluebinding.cxx.

References checkDisposed(), and nValue.

sal_Bool SAL_CALL calc::OCellValueBinding::supportsService ( const OUString &  ServiceName)
overrideprotectedvirtual

Definition at line 423 of file cellvaluebinding.cxx.

References cppu::supportsService().

sal_Bool SAL_CALL calc::OCellValueBinding::supportsType ( const css::uno::Type &  aType)
overrideprotectedvirtual

Definition at line 161 of file cellvaluebinding.cxx.

References aSupportedTypes, checkDisposed(), and i.

Referenced by checkValueType().

Member Data Documentation

::comphelper::OInterfaceContainerHelper2 calc::OCellValueBinding::m_aModifyListeners
private

the cell we're bound to, for text access

Definition at line 70 of file cellvaluebinding.hxx.

bool calc::OCellValueBinding::m_bInitialized
private

our modify listeners

Definition at line 71 of file cellvaluebinding.hxx.

bool calc::OCellValueBinding::m_bListPos
private

has XInitialization::initialize been called?

Definition at line 72 of file cellvaluebinding.hxx.

css::uno::Reference< css::table::XCell > calc::OCellValueBinding::m_xCell
private

the document where our cell lives

Definition at line 66 of file cellvaluebinding.hxx.

css::uno::Reference< css::text::XTextRange > calc::OCellValueBinding::m_xCellText
private

the cell we're bound to, for double value access

Definition at line 68 of file cellvaluebinding.hxx.

css::uno::Reference< css::sheet::XSpreadsheetDocument > calc::OCellValueBinding::m_xDocument
private

Definition at line 64 of file cellvaluebinding.hxx.


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