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

#include <celllistsource.hxx>

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

Public Member Functions

 OCellListSource (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &_rxDocument)
 has XInitialization::initialize been called? More...
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper4< class, class, class, class >
 WeakAggComponentImplHelper4 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
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_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT 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 ~OCellListSource () override
 
virtual sal_Int32 SAL_CALL getListEntryCount () override
 
virtual OUString SAL_CALL getListEntry (sal_Int32 Position) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAllListEntries () override
 
virtual void SAL_CALL addListEntryListener (const css::uno::Reference< css::form::binding::XListEntryListener > &Listener) override
 
virtual void SAL_CALL removeListEntryListener (const css::uno::Reference< css::form::binding::XListEntryListener > &Listener) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAllListEntriesTyped (css::uno::Sequence< css::uno::Any > &rDataValues) 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 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 checkInitialized ()
 
css::table::CellRangeAddress getRangeAddress () const
 retrieves the actual address of our cell range our m_xRange is not <NULL> More...
 
OUString getCellTextContent_noCheck (sal_Int32 _nRangeRelativeRow, css::uno::Any *pAny)
 retrieves the text of a cell within our range More...
 
void notifyModified ()
 
 OCellListSource (const OCellListSource &)=delete
 
OCellListSourceoperator= (const OCellListSource &)=delete
 

Private Attributes

css::uno::Reference< css::sheet::XSpreadsheetDocument > m_xDocument
 
css::uno::Reference< css::table::XCellRange > m_xRange
 the document where our cell lives More...
 
::comphelper::OInterfaceContainerHelper3< css::form::binding::XListEntryListener > m_aListEntryListeners
 the range of cells we're bound to More...
 
bool m_bInitialized
 our listeners 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 >
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 55 of file celllistsource.hxx.

Constructor & Destructor Documentation

calc::OCellListSource::OCellListSource ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  _rxDocument)
explicit

has XInitialization::initialize been called?

calc::OCellListSource::~OCellListSource ( )
overrideprotectedvirtual

Definition at line 70 of file celllistsource.cxx.

References dispose().

calc::OCellListSource::OCellListSource ( const OCellListSource )
privatedelete

Member Function Documentation

void SAL_CALL calc::OCellListSource::addListEntryListener ( const css::uno::Reference< css::form::binding::XListEntryListener > &  Listener)
overrideprotectedvirtual

Definition at line 284 of file celllistsource.cxx.

References checkDisposed(), and m_aMutex.

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

Definition at line 126 of file celllistsource.cxx.

void calc::OCellListSource::checkInitialized ( )
private

Definition at line 133 of file celllistsource.cxx.

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

Definition at line 83 of file celllistsource.cxx.

References m_aMutex.

virtual void SAL_CALL calc::OCellListSource::disposing ( const css::lang::EventObject &  Source)
overrideprotectedvirtual
Sequence< OUString > SAL_CALL calc::OCellListSource::getAllListEntries ( )
overrideprotectedvirtual

Definition at line 249 of file celllistsource.cxx.

References checkDisposed(), i, and m_aMutex.

Sequence< OUString > SAL_CALL calc::OCellListSource::getAllListEntriesTyped ( css::uno::Sequence< css::uno::Any > &  rDataValues)
overrideprotectedvirtual

Definition at line 265 of file celllistsource.cxx.

References Any, checkDisposed(), i, m_aMutex, and nCount.

OUString calc::OCellListSource::getCellTextContent_noCheck ( sal_Int32  _nRangeRelativeRow,
css::uno::Any *  pAny 
)
private

retrieves the text of a cell within our range

Parameters
_nRangeRelativeRowthe relative row index of the cell within our range
pAnyif not <NULL> then the underlying data value is returned in the Any our m_xRange is not <NULL>

Definition at line 166 of file celllistsource.cxx.

void SAL_CALL calc::OCellListSource::getFastPropertyValue ( css::uno::Any &  _rValue,
sal_Int32  _nHandle 
) const
overrideprotectedvirtual

Reimplemented from comphelper::OPropertyContainer.

Definition at line 118 of file celllistsource.cxx.

References PROP_HANDLE_RANGE_ADDRESS.

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

Definition at line 139 of file celllistsource.cxx.

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

Definition at line 106 of file celllistsource.cxx.

OUString SAL_CALL calc::OCellListSource::getListEntry ( sal_Int32  Position)
overrideprotectedvirtual

Definition at line 237 of file celllistsource.cxx.

References checkDisposed(), and m_aMutex.

sal_Int32 SAL_CALL calc::OCellListSource::getListEntryCount ( )
overrideprotectedvirtual

Definition at line 227 of file celllistsource.cxx.

References checkDisposed(), and m_aMutex.

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

Definition at line 101 of file celllistsource.cxx.

CellRangeAddress calc::OCellListSource::getRangeAddress ( ) const
private

retrieves the actual address of our cell range our m_xRange is not <NULL>

Definition at line 155 of file celllistsource.cxx.

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

Definition at line 149 of file celllistsource.cxx.

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

Definition at line 347 of file celllistsource.cxx.

References Any, Exception, m_xDocument, and TOOLS_WARN_EXCEPTION.

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

Definition at line 308 of file celllistsource.cxx.

void calc::OCellListSource::notifyModified ( )
private
OCellListSource& calc::OCellListSource::operator= ( const OCellListSource )
privatedelete
void SAL_CALL calc::OCellListSource::removeListEntryListener ( const css::uno::Reference< css::form::binding::XListEntryListener > &  Listener)
overrideprotectedvirtual

Definition at line 296 of file celllistsource.cxx.

References checkDisposed(), and m_aMutex.

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

Definition at line 144 of file celllistsource.cxx.

References cppu::supportsService().

Member Data Documentation

::comphelper::OInterfaceContainerHelper3<css::form::binding::XListEntryListener> calc::OCellListSource::m_aListEntryListeners
private

the range of cells we're bound to

Definition at line 66 of file celllistsource.hxx.

bool calc::OCellListSource::m_bInitialized
private

our listeners

Definition at line 67 of file celllistsource.hxx.

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

Definition at line 62 of file celllistsource.hxx.

css::uno::Reference< css::table::XCellRange > calc::OCellListSource::m_xRange
private

the document where our cell lives

Definition at line 64 of file celllistsource.hxx.


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