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 /** represents a description of how subtotals are created.
26 <p>The descriptor contains properties and a collection of subtotal fields
27 which control the behavior of operation.</p>
29 published service SubTotalDescriptor
32 /** provides access to the collection of subtotal fields.
34 interface com
::sun
::star
::sheet
::XSubTotalDescriptor
;
37 /** creates an enumeration of all sub total fields.
39 @see com::sun::star::sheet::SubTotalFieldsEnumeration
41 interface com
::sun
::star
::container
::XEnumerationAccess
;
44 /** provides access to the sub total fields in the collection via index.
46 interface com
::sun
::star
::container
::XIndexAccess
;
49 //!published service PropertySet
50 /** provides access to the properties.
52 interface com
::sun
::star
::beans
::XPropertySet
;
55 /** specifies if page breaks are inserted after each group change.
57 [property
] boolean InsertPageBreaks
;
60 /** specifies if the case of letters is important when comparing entries.
62 [property
] boolean IsCaseSensitive
;
65 /** specifies if a user defined sorting list is used.
67 [property
] boolean EnableUserSortList
;
70 /** specifies which user defined sorting list is used.
72 <p>This property is only used if
73 SubTotalDescriptor::EnableUserSortList
76 [property
] long UserSortListIndex
;
79 /** specifies if cell formats are moved with the contents they belong to.
81 [property
] boolean BindFormatsToContent
;
84 /** specifies if the contents of the fields will be sorted to groups
85 while performing a subtotal operation.
87 [property
] boolean EnableSort
;
90 /** specifies the sorting order if
91 SubTotalDescriptor::EnableSort is set to `TRUE`.
93 [property
] boolean SortAscending
;
96 /** returns the maximum number of subtotal fields the descriptor can
99 <p>This read-only property indicates the maximum count of fields the
100 current implementation supports.</p>
102 [readonly, property
] long MaxFieldCount
;
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */