LibreOffice Module chart2 (master) 1
|
This sequence object does NOT store actual sequence data. More...
#include <UncachedDataSequence.hxx>
Public Member Functions | |
UncachedDataSequence (rtl::Reference< InternalDataProvider > xIntDataProv, OUString aRangeRepresentation) | |
The referring data provider is held as uno reference to ensure its lifetime is at least as long as the one of this object. More... | |
UncachedDataSequence (rtl::Reference< InternalDataProvider > xIntDataProv, OUString aRangeRepresentation, const OUString &rRole) | |
UncachedDataSequence (const UncachedDataSequence &rSource) | |
virtual | ~UncachedDataSequence () override |
virtual OUString SAL_CALL | getImplementationName () override |
declare XServiceInfo methods More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper | |
OMutexAndBroadcastHelper () | |
::osl::Mutex & | GetMutex () |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< UncachedDataSequence > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Private Member Functions | |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
merge XInterface implementations More... | |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getData () override |
virtual OUString SAL_CALL | getSourceRangeRepresentation () override |
virtual css::uno::Sequence< OUString > SAL_CALL | generateLabel (css::chart2::data::LabelOrigin nLabelOrigin) override |
virtual ::sal_Int32 SAL_CALL | getNumberFormatKeyByIndex (::sal_Int32 nIndex) override |
virtual css::uno::Sequence< double > SAL_CALL | getNumericalData () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getTextualData () override |
virtual void SAL_CALL | replaceByIndex (::sal_Int32 Index, const css::uno::Any &Element) override |
virtual ::sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (::sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL | createClone () override |
virtual sal_Bool SAL_CALL | isModified () override |
virtual void SAL_CALL | setModified (sal_Bool bModified) 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 |
void | fireModifyEvent () |
void | registerProperties () |
This method registers all properties. More... | |
Private Attributes | |
sal_Int32 | m_nNumberFormatKey |
OUString | m_sRole |
OUString | m_aXMLRange |
rtl::Reference< InternalDataProvider > | m_xDataProvider |
OUString | m_aSourceRepresentation |
rtl::Reference< ModifyEventForwarder > | m_xModifyEventForwarder |
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::IPropertyArrayHelper * | createArrayHelper () 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< UncachedDataSequence > | |
static std::mutex & | theMutex () |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< UncachedDataSequence > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
This sequence object does NOT store actual sequence data.
Instead, it references a column inside the internal data table (represented by class InternalData) via range representation string. The range representation string ends with a numeric value that indicates the column index within the internal data table.
A range representation can be either '0', '1', '2', ..., or 'label 1', 'label 2', ...
Definition at line 71 of file UncachedDataSequence.hxx.
chart::UncachedDataSequence::UncachedDataSequence | ( | rtl::Reference< InternalDataProvider > | xIntDataProv, |
OUString | aRangeRepresentation | ||
) |
The referring data provider is held as uno reference to ensure its lifetime is at least as long as the one of this object.
Definition at line 57 of file UncachedDataSequence.cxx.
References registerProperties().
Referenced by createClone().
chart::UncachedDataSequence::UncachedDataSequence | ( | rtl::Reference< InternalDataProvider > | xIntDataProv, |
OUString | aRangeRepresentation, | ||
const OUString & | rRole | ||
) |
Definition at line 70 of file UncachedDataSequence.cxx.
References registerProperties(), and comphelper::OPropertyContainer::setFastPropertyValue_NoBroadcast().
chart::UncachedDataSequence::UncachedDataSequence | ( | const UncachedDataSequence & | rSource | ) |
Definition at line 85 of file UncachedDataSequence.cxx.
References registerProperties().
|
overridevirtual |
Definition at line 97 of file UncachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 298 of file UncachedDataSequence.cxx.
References m_xModifyEventForwarder.
|
overrideprivatevirtual |
Implements comphelper::OPropertyArrayUsageHelper< UncachedDataSequence >.
Definition at line 137 of file UncachedDataSequence.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
|
overrideprivatevirtual |
Definition at line 280 of file UncachedDataSequence.cxx.
References UncachedDataSequence().
|
private |
Definition at line 308 of file UncachedDataSequence.cxx.
References m_xModifyEventForwarder.
Referenced by replaceByIndex(), setModified(), and setName().
|
overrideprivatevirtual |
Definition at line 210 of file UncachedDataSequence.cxx.
References aName, m_aSourceRepresentation, nIndex, chart::SchResId(), and u.
|
overrideprivatevirtual |
Definition at line 249 of file UncachedDataSequence.cxx.
|
overrideprivate |
Definition at line 243 of file UncachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 197 of file UncachedDataSequence.cxx.
References comphelper::OMutexAndBroadcastHelper::GetMutex(), m_aSourceRepresentation, and m_xDataProvider.
Referenced by replaceByIndex().
|
overrideprivatevirtual |
Definition at line 256 of file UncachedDataSequence.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
declare XServiceInfo methods
Definition at line 146 of file UncachedDataSequence.cxx.
|
overrideprivate |
Definition at line 131 of file UncachedDataSequence.cxx.
References comphelper::OPropertyArrayUsageHelper< UncachedDataSequence >::getArrayHelper().
|
overrideprivatevirtual |
Definition at line 269 of file UncachedDataSequence.cxx.
References m_aSourceRepresentation.
Referenced by getSourceRangeRepresentation().
|
overrideprivate |
Definition at line 223 of file UncachedDataSequence.cxx.
References m_nNumberFormatKey.
|
overrideprivatevirtual |
Definition at line 167 of file UncachedDataSequence.cxx.
References comphelper::OMutexAndBroadcastHelper::GetMutex(), m_aSourceRepresentation, and m_xDataProvider.
|
overrideprivatevirtual |
merge XInterface implementations
merge XTypeProvider implementations
Definition at line 125 of file UncachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 205 of file UncachedDataSequence.cxx.
References getName().
|
overridevirtual |
Definition at line 156 of file UncachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 182 of file UncachedDataSequence.cxx.
References comphelper::OMutexAndBroadcastHelper::GetMutex(), m_aSourceRepresentation, and m_xDataProvider.
|
overrideprivatevirtual |
Definition at line 261 of file UncachedDataSequence.cxx.
References m_aSourceRepresentation, and m_xDataProvider.
|
overrideprivatevirtual |
Definition at line 286 of file UncachedDataSequence.cxx.
|
private |
This method registers all properties.
It should be called by all constructors.
Definition at line 100 of file UncachedDataSequence.cxx.
References m_aXMLRange, m_nNumberFormatKey, m_sRole, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by UncachedDataSequence().
|
overrideprivatevirtual |
Definition at line 303 of file UncachedDataSequence.cxx.
References m_xModifyEventForwarder.
|
overrideprivatevirtual |
Definition at line 229 of file UncachedDataSequence.cxx.
References aData, fireModifyEvent(), getData(), comphelper::OMutexAndBroadcastHelper::GetMutex(), m_aSourceRepresentation, and m_xDataProvider.
|
overrideprivatevirtual |
Definition at line 291 of file UncachedDataSequence.cxx.
References fireModifyEvent().
|
overrideprivatevirtual |
Definition at line 274 of file UncachedDataSequence.cxx.
References aName, fireModifyEvent(), and m_aSourceRepresentation.
|
overridevirtual |
Definition at line 151 of file UncachedDataSequence.cxx.
References cppu::supportsService().
|
private |
Definition at line 167 of file UncachedDataSequence.hxx.
Referenced by generateLabel(), getData(), getName(), getNumericalData(), getTextualData(), hasElements(), replaceByIndex(), and setName().
|
private |
Definition at line 158 of file UncachedDataSequence.hxx.
Referenced by registerProperties().
|
private |
Definition at line 156 of file UncachedDataSequence.hxx.
Referenced by getNumberFormatKeyByIndex(), and registerProperties().
|
private |
Definition at line 157 of file UncachedDataSequence.hxx.
Referenced by registerProperties().
|
private |
Definition at line 166 of file UncachedDataSequence.hxx.
Referenced by getData(), getNumericalData(), getTextualData(), hasElements(), and replaceByIndex().
|
private |
Definition at line 168 of file UncachedDataSequence.hxx.
Referenced by addModifyListener(), fireModifyEvent(), and removeModifyListener().