LibreOffice Module sc (master) 1
|
#include <cellvaluebinding.hxx>
Public Member Functions | |
OCellValueBinding (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &_rxDocument, bool _bListPos) | |
constructed as ListPositionCellBinding? More... | |
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 |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
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::IPropertyArrayHelper * | createArrayHelper () 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 |
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::IPropertyArrayHelper * | createArrayHelper () const=0 |
Private Member Functions | |
void | checkDisposed () const |
void | checkValueType (const css::uno::Type &_rType) const |
void | checkInitialized () |
void | notifyModified () |
notifies our modify listeners @precond our mutex is not locked More... | |
void | setBooleanFormat () |
OCellValueBinding (const OCellValueBinding &)=delete | |
OCellValueBinding & | operator= (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::OInterfaceContainerHelper3< css::util::XModifyListener > | 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 () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
static std::mutex & | theMutex () |
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::IPropertyArrayHelper * | s_pProps |
Definition at line 56 of file cellvaluebinding.hxx.
calc::OCellValueBinding::OCellValueBinding | ( | const css::uno::Reference< css::sheet::XSpreadsheetDocument > & | _rxDocument, |
bool | _bListPos | ||
) |
constructed as ListPositionCellBinding?
References DECLARE_XINTERFACE.
|
overrideprotectedvirtual |
Definition at line 77 of file cellvaluebinding.cxx.
References dispose().
|
privatedelete |
|
overrideprotectedvirtual |
Definition at line 442 of file cellvaluebinding.cxx.
|
private |
Definition at line 393 of file cellvaluebinding.cxx.
|
private |
Definition at line 400 of file cellvaluebinding.cxx.
|
private |
Definition at line 406 of file cellvaluebinding.cxx.
References sMessage, and supportsType().
|
overrideprotectedvirtual |
Implements comphelper::OPropertyArrayUsageHelper< class TYPE >.
Definition at line 114 of file cellvaluebinding.cxx.
|
overrideprotectedvirtual |
Definition at line 90 of file cellvaluebinding.cxx.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 121 of file cellvaluebinding.cxx.
References PROP_HANDLE_BOUND_CELL.
|
virtual |
Reimplemented from comphelper::OPropertyContainer.
virtual css::uno::Any SAL_CALL comphelper::OPropertyContainer::getFastPropertyValue | ( | sal_Int32 | nHandle | ) |
virtual void comphelper::OPropertyContainer::getFastPropertyValue | ( | std::unique_lock< std::mutex > & | rGuard, |
css::uno::Any & | rValue, | ||
sal_Int32 | nHandle | ||
) | const |
|
overrideprotectedvirtual |
Definition at line 421 of file cellvaluebinding.cxx.
|
overrideprotected |
Definition at line 109 of file cellvaluebinding.cxx.
|
overrideprotectedvirtual |
Definition at line 104 of file cellvaluebinding.cxx.
|
overrideprotectedvirtual |
Definition at line 431 of file cellvaluebinding.cxx.
|
overrideprotectedvirtual |
Definition at line 132 of file cellvaluebinding.cxx.
References aTypes, checkDisposed(), cppu::UnoType< typename T >::get(), and nCount.
|
overrideprotectedvirtual |
Definition at line 178 of file cellvaluebinding.cxx.
References Any, checkDisposed(), and nValue.
|
overrideprotectedvirtual |
Definition at line 493 of file cellvaluebinding.cxx.
References Any, Exception, m_xDocument, and TOOLS_WARN_EXCEPTION.
|
overrideprotectedvirtual |
Definition at line 477 of file cellvaluebinding.cxx.
|
private |
notifies our modify listeners @precond our mutex is not locked
Definition at line 454 of file cellvaluebinding.cxx.
References aEvent, Exception, comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), comphelper::OInterfaceIteratorHelper3< class ListenerT >::next(), and TOOLS_WARN_EXCEPTION.
|
privatedelete |
|
overrideprotectedvirtual |
Definition at line 448 of file cellvaluebinding.cxx.
|
private |
Definition at line 347 of file cellvaluebinding.cxx.
References Any, Exception, and m_xDocument.
|
overrideprotectedvirtual |
Definition at line 264 of file cellvaluebinding.cxx.
References checkDisposed(), and nValue.
|
overrideprotectedvirtual |
Definition at line 426 of file cellvaluebinding.cxx.
References cppu::supportsService().
|
overrideprotectedvirtual |
Definition at line 164 of file cellvaluebinding.cxx.
References aSupportedTypes, checkDisposed(), and i.
Referenced by checkValueType().
|
private |
the cell we're bound to, for text access
Definition at line 69 of file cellvaluebinding.hxx.
|
private |
our modify listeners
Definition at line 70 of file cellvaluebinding.hxx.
|
private |
has XInitialization::initialize been called?
Definition at line 71 of file cellvaluebinding.hxx.
|
private |
the document where our cell lives
Definition at line 65 of file cellvaluebinding.hxx.
|
private |
the cell we're bound to, for double value access
Definition at line 67 of file cellvaluebinding.hxx.
|
private |
Definition at line 63 of file cellvaluebinding.hxx.