Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / SubTotalDescriptor.idl
blob1811a6f04789440803578290c7c2be314da698ee
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_SubTotalDescriptor_idl__
21 #define __com_sun_star_sheet_SubTotalDescriptor_idl__
23 #include <com/sun/star/sheet/XSubTotalDescriptor.idl>
24 #include <com/sun/star/beans/XPropertySet.idl>
25 #include <com/sun/star/container/XEnumerationAccess.idl>
26 #include <com/sun/star/container/XIndexAccess.idl>
29 module com { module sun { module star { module sheet {
32 /** represents a description of how subtotals are created.
34 <p>The descriptor contains properties and a collection of subtotal fields
35 which control the behavior of operation.</p>
37 published service SubTotalDescriptor
40 /** provides access to the collection of subtotal fields.
42 interface com::sun::star::sheet::XSubTotalDescriptor;
45 /** creates an enumeration of all sub total fields.
47 @see com::sun::star::sheet::SubTotalFieldsEnumeration
49 interface com::sun::star::container::XEnumerationAccess;
52 /** provides access to the sub total fields in the collection via index.
54 interface com::sun::star::container::XIndexAccess;
57 //!published service PropertySet
58 /** provides access to the properties.
60 interface com::sun::star::beans::XPropertySet;
63 /** specifies if page breaks are inserted after each group change.
65 [property] boolean InsertPageBreaks;
68 /** specifies if the case of letters is important when comparing entries.
70 [property] boolean IsCaseSensitive;
73 /** specifies if a user defined sorting list is used.
75 [property] boolean EnableUserSortList;
78 /** specifies which user defined sorting list is used.
80 <p>This property is only used if
81 SubTotalDescriptor::EnableUserSortList
82 is `TRUE`.</p>
84 [property] long UserSortListIndex;
87 /** specifies if cell formats are moved with the contents they belong to.
89 [property] boolean BindFormatsToContent;
92 /** specifies if the contents of the fields will be sorted to groups
93 while performing a subtotal operation.
95 [property] boolean EnableSort;
98 /** specifies the sorting order if
99 SubTotalDescriptor::EnableSort is set to `TRUE`.
101 [property] boolean SortAscending;
104 /** returns the maximum number of subtotal fields the descriptor can
105 hold.
107 <p>This read-only property indicates the maximum count of fields the
108 current implementation supports.</p>
110 [readonly, property] long MaxFieldCount;
115 }; }; }; };
117 #endif
119 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */