LibreOffice Module sc (master) 1
|
#include <dptabsrc.hxx>
Public Member Functions | |
ScDPDimension (ScDPSource *pSrc, tools::Long nD) | |
virtual | ~ScDPDimension () override |
ScDPDimension (const ScDPDimension &)=delete | |
ScDPDimension & | operator= (const ScDPDimension &)=delete |
sal_Int32 | GetDimension () const |
sal_Int32 | GetSourceDim () const |
ScDPDimension * | CreateCloneObject () |
ScDPHierarchies * | GetHierarchiesObject () |
const std::optional< OUString > & | GetLayoutName () const |
const std::optional< OUString > & | GetSubtotalName () const |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getHierarchies () override |
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL | createClone () 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 |
css::sheet::DataPilotFieldOrientation | getOrientation () const |
bool | getIsDataLayoutDimension () const |
ScGeneralFunction | getFunction () const |
void | setFunction (ScGeneralFunction nNew) |
bool | HasSelectedPage () const |
const ScDPItemData & | GetSelectedData () |
const css::sheet::DataPilotFieldReference & | GetReferenceValue () const |
Static Public Member Functions | |
static tools::Long | getUsedHierarchy () |
Private Attributes | |
ScDPSource * | pSource |
sal_Int32 | nDim |
rtl::Reference< ScDPHierarchies > | mxHierarchies |
ScGeneralFunction | nFunction |
OUString | aName |
std::optional< OUString > | mpLayoutName |
std::optional< OUString > | mpSubtotalName |
sal_Int32 | nSourceDim |
css::sheet::DataPilotFieldReference | aReferenceValue |
bool | bHasSelectedPage |
OUString | aSelectedPage |
std::unique_ptr< ScDPItemData > | pSelectedData |
bool | mbHasHiddenMember |
Definition at line 258 of file dptabsrc.hxx.
ScDPDimension::ScDPDimension | ( | ScDPSource * | pSrc, |
tools::Long | nD | ||
) |
Definition at line 1263 of file dptabsrc.cxx.
|
overridevirtual |
Definition at line 1274 of file dptabsrc.cxx.
|
delete |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 1347 of file dptabsrc.cxx.
References CreateCloneObject().
ScDPDimension * ScDPDimension::CreateCloneObject | ( | ) |
Definition at line 1332 of file dptabsrc.cxx.
References ScDPSource::AddDuplicated(), aName, nDim, nSourceDim, and pSource.
Referenced by createClone().
|
inline |
Definition at line 287 of file dptabsrc.hxx.
References nDim.
Referenced by ScDPResultMember::FillMemberResults(), ScDPSource::FilterCacheByPageDimensions(), ScDPResultMember::GetDisplayName(), ScDPResultDimension::InitFrom(), ScDPResultDimension::InitWithMembers(), and ScDPResultDimension::LateInitFrom().
|
inline |
Definition at line 332 of file dptabsrc.hxx.
References nFunction.
Referenced by ScDPSource::CreateRes_Impl(), and getPropertyValue().
|
overridevirtual |
Definition at line 1298 of file dptabsrc.cxx.
References GetHierarchiesObject().
ScDPHierarchies * ScDPDimension::GetHierarchiesObject | ( | ) |
Definition at line 1279 of file dptabsrc.cxx.
References mxHierarchies, nDim, and pSource.
Referenced by ScDPSource::CreateRes_Impl(), ScDPSource::FillCalcInfo(), ScDPResultVisibilityData::fillFieldFilters(), ScDPSource::FillLevelList(), ScDPSource::FilterCacheByPageDimensions(), ScDPSource::getDrillDownData(), getHierarchies(), and GetSelectedData().
|
overridevirtual |
bool ScDPDimension::getIsDataLayoutDimension | ( | ) | const |
Definition at line 1322 of file dptabsrc.cxx.
References ScDPSource::GetData(), ScDPTableData::getIsDataLayoutDimension(), nDim, and pSource.
Referenced by ScDPSource::FillCalcInfo(), getPropertyValue(), ScDPResultDimension::InitFrom(), ScDPResultMember::LateInitFrom(), and ScDPResultDimension::LateInitFrom().
const std::optional< OUString > & ScDPDimension::GetLayoutName | ( | ) | const |
Definition at line 1288 of file dptabsrc.cxx.
References mpLayoutName.
Referenced by ScDPResultData::GetMeasureString(), and ScDPLevel::getPropertyValue().
|
overridevirtual |
Definition at line 1303 of file dptabsrc.cxx.
References aName, ScDPSource::GetData(), ScDPTableData::getDimensionName(), nDim, and pSource.
Referenced by ScDPSource::AddDuplicated(), ScDPSource::CreateRes_Impl(), ScDPSource::GetDataDimName(), ScDPDimensions::getElementNames(), ScDPLevel::getName(), ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
sheet::DataPilotFieldOrientation ScDPDimension::getOrientation | ( | ) | const |
Definition at line 1317 of file dptabsrc.cxx.
References ScDPSource::GetOrientation(), nDim, and pSource.
Referenced by ScDPSource::FillLevelList(), and getPropertyValue().
|
overridevirtual |
Definition at line 1390 of file dptabsrc.cxx.
References cppu::UnoType< typename T >::get(), SC_UNO_DP_FIELD_SUBTOTALNAME, SC_UNO_DP_FILTER, SC_UNO_DP_FLAGS, SC_UNO_DP_FUNCTION, SC_UNO_DP_FUNCTION2, SC_UNO_DP_HAS_HIDDEN_MEMBER, SC_UNO_DP_ISDATALAYOUT, SC_UNO_DP_LAYOUTNAME, SC_UNO_DP_NUMBERFO, SC_UNO_DP_ORIENTATION, SC_UNO_DP_ORIGINAL, SC_UNO_DP_ORIGINAL_POS, SC_UNO_DP_POSITION, SC_UNO_DP_REFVALUE, and SC_UNO_DP_USEDHIERARCHY.
|
overridevirtual |
Definition at line 1497 of file dptabsrc.cxx.
References aReferenceValue, aSelectedPage, bHasSelectedPage, COUNT, COUNTNUMS, ScDPDimensions::getByIndex(), ScDPSource::GetData(), ScDPSource::GetDimensionsObject(), getFunction(), getIsDataLayoutDimension(), ScDPTableData::GetNumberFormat(), ScDPTableData::GetNumberFormatByIdx(), getOrientation(), ScDPSource::GetPosition(), getUsedHierarchy(), mbHasHiddenMember, MEDIAN, mpLayoutName, mpSubtotalName, nDim, NF_NUMBER_SYSTEM, NF_PERCENT_DEC2, NONE, nSourceDim, pSource, SC_UNO_DP_FIELD_SUBTOTALNAME, SC_UNO_DP_FILTER, SC_UNO_DP_FLAGS, SC_UNO_DP_FUNCTION, SC_UNO_DP_FUNCTION2, SC_UNO_DP_HAS_HIDDEN_MEMBER, SC_UNO_DP_ISDATALAYOUT, SC_UNO_DP_LAYOUTNAME, SC_UNO_DP_NUMBERFO, SC_UNO_DP_ORIENTATION, SC_UNO_DP_ORIGINAL, SC_UNO_DP_ORIGINAL_POS, SC_UNO_DP_POSITION, SC_UNO_DP_REFVALUE, and SC_UNO_DP_USEDHIERARCHY.
|
inline |
Definition at line 339 of file dptabsrc.hxx.
References aReferenceValue.
Referenced by ScDPSource::CreateRes_Impl().
const ScDPItemData & ScDPDimension::GetSelectedData | ( | ) |
Definition at line 1352 of file dptabsrc.cxx.
References aSelectedPage, ScDPMember::FillItemData(), ScDPLevels::getByIndex(), ScDPMembers::getByIndex(), ScDPHierarchies::getByIndex(), ScDPHierarchies::getCount(), ScDPLevels::getCount(), ScDPMembers::getCount(), GetHierarchiesObject(), ScDPHierarchy::GetLevelsObject(), ScDPLevel::GetMembersObject(), ScDPMember::GetNameStr(), getUsedHierarchy(), i, nCount, and pSelectedData.
Referenced by ScDPSource::CreateRes_Impl(), and ScDPSource::FilterCacheByPageDimensions().
|
inline |
Definition at line 288 of file dptabsrc.hxx.
References nSourceDim.
Referenced by ScDPSource::CreateRes_Impl(), and ScDPSource::GetSourceDim().
const std::optional< OUString > & ScDPDimension::GetSubtotalName | ( | ) | const |
Definition at line 1293 of file dptabsrc.cxx.
References mpSubtotalName.
Referenced by ScDPResultMember::FillMemberResults().
|
overridevirtual |
|
inlinestatic |
Definition at line 334 of file dptabsrc.hxx.
Referenced by ScDPSource::CreateRes_Impl(), ScDPSource::FillCalcInfo(), ScDPSource::FillLevelList(), getPropertyValue(), and GetSelectedData().
|
inline |
Definition at line 336 of file dptabsrc.hxx.
References bHasSelectedPage.
Referenced by ScDPSource::CreateRes_Impl(), and ScDPSource::FilterCacheByPageDimensions().
|
delete |
|
overridevirtual |
|
overridevirtual |
void ScDPDimension::setFunction | ( | ScGeneralFunction | nNew | ) |
Definition at line 1327 of file dptabsrc.cxx.
References nFunction.
Referenced by setPropertyValue().
|
overridevirtual |
Definition at line 1311 of file dptabsrc.cxx.
References aName.
|
overridevirtual |
Definition at line 1415 of file dptabsrc.cxx.
References aReferenceValue, aSelectedPage, aSeq, bHasSelectedPage, mbHasHiddenMember, mpLayoutName, mpSubtotalName, nDim, nLength, pSelectedData, pSource, SC_UNO_DP_FIELD_SUBTOTALNAME, SC_UNO_DP_FILTER, SC_UNO_DP_FUNCTION, SC_UNO_DP_FUNCTION2, SC_UNO_DP_HAS_HIDDEN_MEMBER, SC_UNO_DP_LAYOUTNAME, SC_UNO_DP_ORIENTATION, SC_UNO_DP_REFVALUE, SC_UNO_DP_USEDHIERARCHY, setFunction(), and ScDPSource::SetOrientation().
|
overridevirtual |
|
private |
Definition at line 269 of file dptabsrc.hxx.
Referenced by CreateCloneObject(), getName(), and setName().
|
private |
Definition at line 274 of file dptabsrc.hxx.
Referenced by getPropertyValue(), GetReferenceValue(), and setPropertyValue().
|
private |
Definition at line 276 of file dptabsrc.hxx.
Referenced by getPropertyValue(), GetSelectedData(), and setPropertyValue().
|
private |
Definition at line 275 of file dptabsrc.hxx.
Referenced by getPropertyValue(), HasSelectedPage(), and setPropertyValue().
|
private |
Definition at line 279 of file dptabsrc.hxx.
Referenced by getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 270 of file dptabsrc.hxx.
Referenced by GetLayoutName(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 271 of file dptabsrc.hxx.
Referenced by getPropertyValue(), GetSubtotalName(), and setPropertyValue().
|
private |
Definition at line 267 of file dptabsrc.hxx.
Referenced by GetHierarchiesObject().
|
private |
Definition at line 266 of file dptabsrc.hxx.
Referenced by CreateCloneObject(), GetDimension(), GetHierarchiesObject(), getIsDataLayoutDimension(), getName(), getOrientation(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 268 of file dptabsrc.hxx.
Referenced by getFunction(), and setFunction().
|
private |
Definition at line 272 of file dptabsrc.hxx.
Referenced by CreateCloneObject(), getPropertyValue(), and GetSourceDim().
|
private |
Definition at line 278 of file dptabsrc.hxx.
Referenced by GetSelectedData(), and setPropertyValue().
|
private |
Definition at line 265 of file dptabsrc.hxx.
Referenced by CreateCloneObject(), GetHierarchiesObject(), getIsDataLayoutDimension(), getName(), getOrientation(), getPropertyValue(), and setPropertyValue().