26#include <com/sun/star/sheet/GeneralFunction.hpp>
27#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
28#include <com/sun/star/sheet/XSheetFilterDescriptor.hpp>
29#include <com/sun/star/sheet/XSheetFilterDescriptor2.hpp>
30#include <com/sun/star/sheet/XSheetFilterDescriptor3.hpp>
31#include <com/sun/star/sheet/XConsolidationDescriptor.hpp>
32#include <com/sun/star/sheet/XDatabaseRanges.hpp>
33#include <com/sun/star/sheet/XDatabaseRange.hpp>
34#include <com/sun/star/sheet/XUnnamedDatabaseRanges.hpp>
35#include <com/sun/star/sheet/XSubTotalDescriptor.hpp>
36#include <com/sun/star/sheet/XSubTotalField.hpp>
37#include <com/sun/star/lang/XServiceInfo.hpp>
38#include <com/sun/star/container/XEnumerationAccess.hpp>
39#include <com/sun/star/container/XIndexAccess.hpp>
40#include <com/sun/star/beans/XPropertySet.hpp>
41#include <com/sun/star/container/XNamed.hpp>
42#include <com/sun/star/util/XRefreshable.hpp>
77 const css::uno::Sequence<css::beans::PropertyValue>& rSeq );
79 css::uno::Sequence<css::beans::PropertyValue>& rSeq,
91 const css::uno::Sequence<css::beans::PropertyValue>& rSeq );
93 css::uno::Sequence<css::beans::PropertyValue>& rSeq,
108 css::sheet::XSubTotalDescriptor,
109 css::container::XEnumerationAccess,
110 css::container::XIndexAccess,
111 css::beans::XPropertySet,
112 css::lang::XServiceInfo >
129 virtual void SAL_CALL
addNew(
const css::uno::Sequence< css::sheet::SubTotalColumn >& aSubTotalColumns,
130 sal_Int32 nGroupColumn )
override;
131 virtual void SAL_CALL
clear()
override;
134 virtual sal_Int32 SAL_CALL
getCount()
override;
138 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
146 virtual css::uno::Reference< css::beans::XPropertySetInfo >
149 const css::uno::Any& aValue )
override;
151 const OUString& PropertyName )
override;
153 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
155 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
157 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
159 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
203 css::sheet::XSubTotalField,
204 css::lang::XServiceInfo >
216 virtual void SAL_CALL
setGroupColumn( sal_Int32 nGroupColumn )
override;
217 virtual css::uno::Sequence< css::sheet::SubTotalColumn > SAL_CALL
220 css::sheet::SubTotalColumn >& aSubTotalColumns )
override;
229 css::sheet::XConsolidationDescriptor,
230 css::lang::XServiceInfo >
243 virtual css::sheet::GeneralFunction SAL_CALL
getFunction()
override;
244 virtual void SAL_CALL
setFunction( css::sheet::GeneralFunction nFunction )
override;
245 virtual css::uno::Sequence< css::table::CellRangeAddress > SAL_CALL
247 virtual void SAL_CALL
setSources(
const css::uno::Sequence< css::table::CellRangeAddress >& aSources )
override;
250 const css::table::CellAddress& aStartOutputPosition )
override;
270 css::sheet::XSheetFilterDescriptor,
271 css::sheet::XSheetFilterDescriptor2,
272 css::sheet::XSheetFilterDescriptor3,
273 css::beans::XPropertySet,
274 css::lang::XServiceInfo >,
293 virtual css::uno::Sequence< css::sheet::TableFilterField > SAL_CALL
296 css::sheet::TableFilterField >& aFilterFields )
override;
299 virtual css::uno::Sequence< css::sheet::TableFilterField2 > SAL_CALL
302 css::sheet::TableFilterField2 >& aFilterFields )
override;
305 virtual css::uno::Sequence< css::sheet::TableFilterField3 > SAL_CALL
308 css::sheet::TableFilterField3 >& aFilterFields )
override;
311 virtual css::uno::Reference< css::beans::XPropertySetInfo >
314 const css::uno::Any& aValue )
override;
316 const OUString& PropertyName )
override;
318 const css::uno::Reference<
319 css::beans::XPropertyChangeListener >& xListener )
override;
321 const css::uno::Reference<
322 css::beans::XPropertyChangeListener >& aListener )
override;
324 const css::uno::Reference<
325 css::beans::XVetoableChangeListener >& aListener )
override;
327 const css::uno::Reference<
328 css::beans::XVetoableChangeListener >& aListener )
override;
389 css::sheet::XDatabaseRange,
390 css::util::XRefreshable,
391 css::container::XNamed,
392 css::sheet::XCellRangeReferrer,
393 css::beans::XPropertySet,
394 css::lang::XServiceInfo >,
401 std::vector< css::uno::Reference< css::util::XRefreshListener > >
424 virtual OUString SAL_CALL
getName()
override;
425 virtual void SAL_CALL
setName(
const OUString&
aName )
override;
428 virtual css::table::CellRangeAddress SAL_CALL
getDataArea()
override;
429 virtual void SAL_CALL
setDataArea(
const css::table::CellRangeAddress& aDataArea )
override;
430 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
432 virtual css::uno::Reference< css::sheet::XSheetFilterDescriptor > SAL_CALL
434 virtual css::uno::Reference< css::sheet::XSubTotalDescriptor > SAL_CALL
436 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
440 virtual void SAL_CALL
refresh()
override;
442 css::util::XRefreshListener >& l )
override;
444 css::util::XRefreshListener >& l )
override;
447 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
451 virtual css::uno::Reference< css::beans::XPropertySetInfo >
454 const css::uno::Any& aValue )
override;
456 const OUString& PropertyName )
override;
458 const css::uno::Reference<
459 css::beans::XPropertyChangeListener >& xListener )
override;
461 const css::uno::Reference<
462 css::beans::XPropertyChangeListener >& aListener )
override;
464 const css::uno::Reference<
465 css::beans::XVetoableChangeListener >& aListener )
override;
467 const css::uno::Reference<
468 css::beans::XVetoableChangeListener >& aListener )
override;
477 css::sheet::XDatabaseRanges,
478 css::container::XEnumerationAccess,
479 css::container::XIndexAccess,
480 css::lang::XServiceInfo >,
496 virtual void SAL_CALL
addNewByName(
const OUString& aName,
497 const css::table::CellRangeAddress& aRange )
override;
498 virtual void SAL_CALL
removeByName(
const OUString& aName )
override;
501 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
505 virtual sal_Int32 SAL_CALL
getCount()
override;
513 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
514 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
524 css::sheet::XUnnamedDatabaseRanges>,
537 virtual void SAL_CALL
setByTable(
const css::table::CellRangeAddress& aRange )
override;
538 virtual css::uno::Any SAL_CALL
getByTable( sal_Int32 nTab )
override;
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Bool SAL_CALL getUseColumnHeaders() override
virtual css::table::CellAddress SAL_CALL getStartOutputPosition() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL getUseRowHeaders() override
ScConsolidateParam aParam
ScConsolidationDescriptor()
virtual ~ScConsolidationDescriptor() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Sequence< css::table::CellRangeAddress > SAL_CALL getSources() override
virtual void SAL_CALL setUseRowHeaders(sal_Bool bUseRowHeaders) override
virtual sal_Bool SAL_CALL getInsertLinks() override
virtual void SAL_CALL setFunction(css::sheet::GeneralFunction nFunction) override
virtual void SAL_CALL setSources(const css::uno::Sequence< css::table::CellRangeAddress > &aSources) override
virtual void SAL_CALL setUseColumnHeaders(sal_Bool bUseColumnHeaders) override
virtual void SAL_CALL setInsertLinks(sal_Bool bInsertLinks) override
virtual void SAL_CALL setStartOutputPosition(const css::table::CellAddress &aStartOutputPosition) override
virtual css::sheet::GeneralFunction SAL_CALL getFunction() override
void SetParam(const ScConsolidateParam &rNew)
const ScConsolidateParam & GetParam() const
ScDataPilotFilterDescriptor(ScDocShell *pDocSh, ScDataPilotDescriptorBase *pPar)
virtual void GetData(ScQueryParam &rParam) const override
virtual void PutData(const ScQueryParam &rParam) override
virtual ~ScDataPilotFilterDescriptor() override
rtl::Reference< ScDataPilotDescriptorBase > mxParent
static css::sheet::GeneralFunction SubTotalToGeneral(ScSubTotalFunc eSubTotal)
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getImportDescriptor() override
virtual css::uno::Reference< css::sheet::XSubTotalDescriptor > SAL_CALL getSubTotalDescriptor() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
void SetQueryParam(const ScQueryParam &rQueryParam)
ScDBData * GetDBData_Impl() const
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getSortDescriptor() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL setName(const OUString &aName) override
std::vector< css::uno::Reference< css::util::XRefreshListener > > aRefreshListeners
void GetSubTotalParam(ScSubTotalParam &rSubTotalParam) const
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
void SetSubTotalParam(const ScSubTotalParam &rSubTotalParam)
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL refresh() override
virtual OUString SAL_CALL getName() override
ScDatabaseRangeObj(ScDocShell *pDocSh, OUString aNm)
virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
virtual OUString SAL_CALL getImplementationName() override
virtual ~ScDatabaseRangeObj() override
virtual css::table::CellRangeAddress SAL_CALL getDataArea() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
SfxItemPropertySet aPropSet
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getReferredCells() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
void GetQueryParam(ScQueryParam &rQueryParam) const
virtual css::uno::Reference< css::sheet::XSheetFilterDescriptor > SAL_CALL getFilterDescriptor() override
virtual void SAL_CALL setDataArea(const css::table::CellRangeAddress &aDataArea) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual ~ScDatabaseRangesObj() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
ScDatabaseRangesObj(ScDocShell *pDocSh)
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual void SAL_CALL addNewByName(const OUString &aName, const css::table::CellRangeAddress &aRange) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
rtl::Reference< ScDatabaseRangeObj > GetObjectByIndex_Impl(size_t nIndex)
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL removeByName(const OUString &aName) override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
rtl::Reference< ScDatabaseRangeObj > GetObjectByName_Impl(const OUString &aName)
ScFilterDescriptorBase(ScDocShell *pDocShell)
virtual void GetData(ScQueryParam &rParam) const =0
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL setFilterFields3(const css::uno::Sequence< css::sheet::TableFilterField3 > &aFilterFields) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual ~ScFilterDescriptorBase() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Sequence< css::sheet::TableFilterField3 > SAL_CALL getFilterFields3() override
virtual void SAL_CALL setFilterFields2(const css::uno::Sequence< css::sheet::TableFilterField2 > &aFilterFields) override
virtual OUString SAL_CALL getImplementationName() override
SfxItemPropertySet aPropSet
virtual void PutData(const ScQueryParam &rParam)=0
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::uno::Sequence< css::sheet::TableFilterField2 > SAL_CALL getFilterFields2() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Sequence< css::sheet::TableFilterField > SAL_CALL getFilterFields() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setFilterFields(const css::uno::Sequence< css::sheet::TableFilterField > &aFilterFields) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
void SetParam(const ScQueryParam &rNew)
virtual void PutData(const ScQueryParam &rParam) override
ScFilterDescriptor(ScDocShell *pDocSh)
ScQueryParam aStoredParam
virtual ~ScFilterDescriptor() override
virtual void GetData(ScQueryParam &rParam) const override
const ScQueryParam & GetParam() const
static void FillImportParam(ScImportParam &rParam, const css::uno::Sequence< css::beans::PropertyValue > &rSeq)
static void FillProperties(css::uno::Sequence< css::beans::PropertyValue > &rSeq, const ScImportParam &rParam)
static tools::Long GetPropertyCount()
virtual void PutData(const ScQueryParam &rParam) override
rtl::Reference< ScDatabaseRangeObj > mxParent
virtual void GetData(ScQueryParam &rParam) const override
virtual ~ScRangeFilterDescriptor() override
ScRangeFilterDescriptor(ScDocShell *pDocSh, ScDatabaseRangeObj *pPar)
virtual void GetData(ScSubTotalParam &rParam) const override
virtual ~ScRangeSubTotalDescriptor() override
virtual void PutData(const ScSubTotalParam &rParam) override
rtl::Reference< ScDatabaseRangeObj > mxParent
ScRangeSubTotalDescriptor(ScDatabaseRangeObj *pPar)
static void FillProperties(css::uno::Sequence< css::beans::PropertyValue > &rSeq, const ScSortParam &rParam)
static void FillSortParam(ScSortParam &rParam, const css::uno::Sequence< css::beans::PropertyValue > &rSeq)
static tools::Long GetPropertyCount()
SortAscending needs to get out of the SheetSortDescriptor service description.
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void GetData(ScSubTotalParam &rParam) const =0
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) 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 ~ScSubTotalDescriptorBase() override
virtual void PutData(const ScSubTotalParam &rParam)=0
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL clear() override
virtual void SAL_CALL addNew(const css::uno::Sequence< css::sheet::SubTotalColumn > &aSubTotalColumns, sal_Int32 nGroupColumn) override
virtual sal_Int32 SAL_CALL getCount() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
SfxItemPropertySet aPropSet
ScSubTotalDescriptorBase()
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
rtl::Reference< ScSubTotalFieldObj > GetObjectByIndex_Impl(sal_uInt16 nIndex)
virtual ~ScSubTotalDescriptor() override
virtual void PutData(const ScSubTotalParam &rParam) override
void SetParam(const ScSubTotalParam &rNew)
ScSubTotalParam aStoredParam
virtual void GetData(ScSubTotalParam &rParam) const override
ScSubTotalFieldObj(ScSubTotalDescriptorBase *pDesc, sal_uInt16 nP)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< css::sheet::SubTotalColumn > SAL_CALL getSubTotalColumns() override
virtual ~ScSubTotalFieldObj() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setSubTotalColumns(const css::uno::Sequence< css::sheet::SubTotalColumn > &aSubTotalColumns) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setGroupColumn(sal_Int32 nGroupColumn) override
rtl::Reference< ScSubTotalDescriptorBase > xParent
virtual sal_Int32 SAL_CALL getGroupColumn() override
ScUnnamedDatabaseRangesObj(ScDocShell *pDocSh)
virtual css::uno::Any SAL_CALL getByTable(sal_Int32 nTab) override
virtual sal_Bool SAL_CALL hasByTable(sal_Int32 nTab) override
virtual void SAL_CALL setByTable(const css::table::CellRangeAddress &aRange) override
virtual ~ScUnnamedDatabaseRangesObj() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override