LibreOffice Module sc (master) 1
|
#include <dptabsrc.hxx>
Public Member Functions | |
ScDPMember (ScDPSource *pSrc, sal_Int32 nDim, sal_Int32 nHier, sal_Int32 nLev, SCROW nIndex) | |
virtual | ~ScDPMember () override |
ScDPMember (const ScDPMember &)=delete | |
ScDPMember & | operator= (const ScDPMember &)=delete |
OUString | GetNameStr (bool bLocaleIndependent) const |
ScDPItemData | FillItemData () const |
const ScDPItemData * | GetItemData () const |
SCROW | GetItemDataId () const |
bool | IsNamedItem (SCROW nIndex) const |
const std::optional< OUString > & | GetLayoutName () const |
tools::Long | GetDim () const |
sal_Int32 | Compare (const ScDPMember &rOther) const |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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 |
bool | isVisible () const |
bool | getShowDetails () const |
Private Attributes | |
ScDPSource * | pSource |
sal_Int32 | nDim |
sal_Int32 | nHier |
sal_Int32 | nLev |
SCROW | mnDataId |
std::optional< OUString > | mpLayoutName |
sal_Int32 | nPosition |
bool | bVisible |
bool | bShowDet |
Definition at line 596 of file dptabsrc.hxx.
ScDPMember::ScDPMember | ( | ScDPSource * | pSrc, |
sal_Int32 | nDim, | ||
sal_Int32 | nHier, | ||
sal_Int32 | nLev, | ||
SCROW | nIndex | ||
) |
Definition at line 2431 of file dptabsrc.cxx.
|
overridevirtual |
Definition at line 2445 of file dptabsrc.cxx.
|
delete |
|
overridevirtual |
|
overridevirtual |
sal_Int32 ScDPMember::Compare | ( | const ScDPMember & | rOther | ) | const |
Definition at line 2470 of file dptabsrc.cxx.
References ScDPTableData::Compare(), ScDPSource::GetData(), GetItemDataId(), ScDPSource::GetSourceDim(), mnDataId, nDim, nPosition, and pSource.
ScDPItemData ScDPMember::FillItemData | ( | ) | const |
Definition at line 2495 of file dptabsrc.cxx.
References GetItemData(), and pData.
Referenced by ScDPResultMember::FillItemData(), ScDPSource::FilterCacheByPageDimensions(), ScDPResultMember::GetDisplayName(), ScDPSource::getDrillDownData(), and ScDPDimension::GetSelectedData().
|
inline |
Definition at line 627 of file dptabsrc.hxx.
References nDim.
Referenced by ScDPResultMember::FillMemberResults().
|
overridevirtual |
const ScDPItemData * ScDPMember::GetItemData | ( | ) | const |
Definition at line 2588 of file dptabsrc.cxx.
References ScDPSource::GetItemDataById(), mnDataId, nDim, pData, pSource, and SAL_WARN_IF.
Referenced by FillItemData(), GetNameStr(), and IsNamedItem().
|
inline |
Definition at line 623 of file dptabsrc.hxx.
References mnDataId.
Referenced by Compare(), ScDPResultMember::GetDataId(), ScDPResultData::GetDimResultMembers(), ScDPResultDimension::InsertMember(), and ResultMembers::InsertMember().
const std::optional< OUString > & ScDPMember::GetLayoutName | ( | ) | const |
Definition at line 2503 of file dptabsrc.cxx.
References mpLayoutName.
Referenced by ScDPResultMember::FillMemberResults().
|
overridevirtual |
Definition at line 2516 of file dptabsrc.cxx.
References GetNameStr().
Referenced by ScDPMembers::GetIndexFromName().
OUString ScDPMember::GetNameStr | ( | bool | bLocaleIndependent | ) | const |
Definition at line 2508 of file dptabsrc.cxx.
References ScDPSource::GetData(), ScDPTableData::GetFormattedString(), GetItemData(), nDim, pData, and pSource.
Referenced by ScDPMembers::getElementNames(), ScDPResultMember::GetName(), getName(), and ScDPDimension::GetSelectedData().
|
overridevirtual |
Definition at line 2528 of file dptabsrc.cxx.
References cppu::UnoType< typename T >::get(), SC_UNO_DP_ISVISIBLE, SC_UNO_DP_LAYOUTNAME, SC_UNO_DP_POSITION, and SC_UNO_DP_SHOWDETAILS.
|
overridevirtual |
Definition at line 2562 of file dptabsrc.cxx.
References bShowDet, bVisible, mpLayoutName, nPosition, SC_UNO_DP_ISVISIBLE, SC_UNO_DP_LAYOUTNAME, SC_UNO_DP_POSITION, and SC_UNO_DP_SHOWDETAILS.
|
inline |
Definition at line 657 of file dptabsrc.hxx.
References bShowDet.
Referenced by ResultMembers::InsertMember().
|
overridevirtual |
bool ScDPMember::IsNamedItem | ( | SCROW | nIndex | ) | const |
Definition at line 2450 of file dptabsrc.cxx.
References ScDPSource::GetCache(), ScDPSource::GetData(), ScDPTableData::GetDatePart(), GetItemData(), ScDPCache::GetItemDataById(), ScDPSource::GetSourceDim(), ScDPItemData::GetValue(), ScDPSource::IsDateDimension(), mnDataId, nDim, nHier, nIndex, nLev, pData, pSource, and SC_DAPI_HIERARCHY_FLAT.
Referenced by ScDPResultMember::IsNamedItem().
|
inline |
Definition at line 656 of file dptabsrc.hxx.
References bVisible.
Referenced by ScDPSource::FilterCacheByPageDimensions(), and ScDPResultMember::IsValid().
|
delete |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 2521 of file dptabsrc.cxx.
|
overridevirtual |
Definition at line 2542 of file dptabsrc.cxx.
References aName, bShowDet, bVisible, lcl_GetBoolFromAny(), mpLayoutName, nPosition, SC_UNO_DP_ISVISIBLE, SC_UNO_DP_LAYOUTNAME, SC_UNO_DP_POSITION, and SC_UNO_DP_SHOWDETAILS.
|
overridevirtual |
|
private |
Definition at line 612 of file dptabsrc.hxx.
Referenced by getPropertyValue(), getShowDetails(), and setPropertyValue().
|
private |
Definition at line 611 of file dptabsrc.hxx.
Referenced by getPropertyValue(), isVisible(), and setPropertyValue().
|
private |
Definition at line 607 of file dptabsrc.hxx.
Referenced by Compare(), GetItemData(), GetItemDataId(), and IsNamedItem().
|
private |
Definition at line 608 of file dptabsrc.hxx.
Referenced by GetLayoutName(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 603 of file dptabsrc.hxx.
Referenced by Compare(), GetDim(), GetItemData(), GetNameStr(), and IsNamedItem().
|
private |
Definition at line 604 of file dptabsrc.hxx.
Referenced by IsNamedItem().
|
private |
Definition at line 605 of file dptabsrc.hxx.
Referenced by IsNamedItem().
|
private |
Definition at line 610 of file dptabsrc.hxx.
Referenced by Compare(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 602 of file dptabsrc.hxx.
Referenced by Compare(), GetItemData(), GetNameStr(), and IsNamedItem().