1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com
{ module sun
{ module star
{ module sheet
{
24 /** provides access to the settings of a consolidation descriptor.
28 @see com::sun::star::sheet::ConsolidationDescriptor
30 published
interface XConsolidationDescriptor
: com
::sun
::star
::uno
::XInterface
33 /** returns the function by which the ranges are consolidated.
35 com
::sun
::star
::sheet
::GeneralFunction getFunction
();
38 /** sets the function by which the ranges are consolidated.
40 void setFunction
( [in] com
::sun
::star
::sheet
::GeneralFunction nFunction
);
43 /** returns the cell ranges which are consolidated.
45 sequence
< com
::sun
::star
::table
::CellRangeAddress
> getSources
();
48 /** sets the cell ranges which are consolidated.
51 [in] sequence
< com
::sun
::star
::table
::CellRangeAddress
> aSources
);
54 /** returns the position of the top left cell of the cell range where
55 the consolidated data are copied.
57 com
::sun
::star
::table
::CellAddress getStartOutputPosition
();
60 /** sets the position of the top left cell of the cell range
61 where the consolidated data are copied.
63 void setStartOutputPosition
(
64 [in] com
::sun
::star
::table
::CellAddress aStartOutputPosition
);
67 /** returns, whether column headers from the cell ranges are used to
68 find matching data or not.
70 boolean getUseColumnHeaders
();
73 /** specifies if column headers from the cell ranges are used to find
76 void setUseColumnHeaders
( [in] boolean bUseColumnHeaders
);
79 /** returns, whether row headers from the cell ranges are used to
80 find matching data or not.
82 boolean getUseRowHeaders
();
85 /** specifies if row headers from the cell ranges are used to find
88 void setUseRowHeaders
( [in] boolean bUseRowHeaders
);
91 /** returns, whether links to the original data are inserted in the
94 boolean getInsertLinks
();
97 /** specifies if links to the original data are inserted in the
100 void setInsertLinks
( [in] boolean bInsertLinks
);
107 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */