Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / XCellSeries.idl
blobcf1642b6fc21727e2992db03a1c5294af6d37270
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef __com_sun_star_sheet_XCellSeries_idl__
21 #define __com_sun_star_sheet_XCellSeries_idl__
23 #include <com/sun/star/uno/XInterface.idl>
24 #include <com/sun/star/sheet/FillDirection.idl>
25 #include <com/sun/star/sheet/FillMode.idl>
26 #include <com/sun/star/sheet/FillDateMode.idl>
29 module com { module sun { module star { module sheet {
32 /** provides methods to fill out a cell range automatically with values
33 based on a start value, step count and fill mode.
35 @see com::sun::star::sheet::SheetCellRange
37 published interface XCellSeries: com::sun::star::uno::XInterface
40 /** fills all cells in the range based on the specified settings.
42 @param nFillDirection
43 specifies the direction to fill the rows/columns of the range.
45 @param nFillMode
46 specifies the type of the series.
48 @param nFillDateMode
49 specifies the calculation mode for date values.
51 @param fStep
52 contains the value used to increase/decrease the series values.
54 @param fEndValue
55 contains the threshold value on which the calculation of the
56 current series stops.
58 void fillSeries(
59 [in] com::sun::star::sheet::FillDirection nFillDirection,
60 [in] com::sun::star::sheet::FillMode nFillMode,
61 [in] com::sun::star::sheet::FillDateMode nFillDateMode,
62 [in] double fStep,
63 [in] double fEndValue );
66 /** fills all cells in the range in a way that is specified by the
67 first cell(s) in the range.
69 @param nFillDirection
70 specifies the direction to fill the rows/columns of the range.
72 @param nSourceCount
73 contains the number of cells in each row/column used to
74 constitute the fill algorithm.
76 void fillAuto(
77 [in] com::sun::star::sheet::FillDirection nFillDirection,
78 [in] long nSourceCount );
83 }; }; }; };
85 #endif
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */