update dev300-m58
[ooovba.git] / offapi / com / sun / star / sheet / SubTotalDescriptor.idl
blob443d73a19c0faa02a8d7e3b9e3504e92ddc9149d
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SubTotalDescriptor.idl,v $
10 * $Revision: 1.8 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_sheet_SubTotalDescriptor_idl__
32 #define __com_sun_star_sheet_SubTotalDescriptor_idl__
34 #ifndef __com_sun_star_sheet_XSubTotalDescriptor_idl__
35 #include <com/sun/star/sheet/XSubTotalDescriptor.idl>
36 #endif
38 #ifndef __com_sun_star_beans_XPropertySet_idl__
39 #include <com/sun/star/beans/XPropertySet.idl>
40 #endif
41 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
42 #include <com/sun/star/container/XEnumerationAccess.idl>
43 #endif
44 #ifndef __com_sun_star_container_XIndexAccess_idl__
45 #include <com/sun/star/container/XIndexAccess.idl>
46 #endif
48 //=============================================================================
50 module com { module sun { module star { module sheet {
52 //=============================================================================
54 /** represents a description of how subtotals are created.
56 <p>The descriptor contains properties and a collection of subtotal fields
57 which control the behaviour of operation.</p>
59 published service SubTotalDescriptor
61 //-------------------------------------------------------------------------
63 /** provides access to the collection of subtotal fields.
65 interface com::sun::star::sheet::XSubTotalDescriptor;
67 //-------------------------------------------------------------------------
69 /** creates an enumeration of all sub total fields.
71 @see com::sun::star::sheet::SubTotalFieldsEnumeration
73 interface com::sun::star::container::XEnumerationAccess;
75 //-------------------------------------------------------------------------
77 /** provides access to the sub total fields in the collection via index.
79 interface com::sun::star::container::XIndexAccess;
81 //-------------------------------------------------------------------------
83 //!published service PropertySet
84 /** procides access to the properties.
86 interface com::sun::star::beans::XPropertySet;
88 //=========================================================================
90 /** specifies if page breaks are inserted after each group change.
92 [property] boolean InsertPageBreaks;
94 //-------------------------------------------------------------------------
96 /** specifies if the case of letters is important when comparing entries.
98 [property] boolean IsCaseSensitive;
100 //-------------------------------------------------------------------------
102 /** specifies if a user defined sorting list is used.
104 [property] boolean EnableUserSortList;
106 //-------------------------------------------------------------------------
108 /** specifies which user defined sorting list is used.
110 <p>This property is only used if
111 <member>SubTotalDescriptor::EnableUserSortList</member>
112 is <TRUE/>.</p>
114 [property] long UserSortListIndex;
116 //-------------------------------------------------------------------------
118 /** specifies if cell formats are moved with the contents they belong to.
120 [property] boolean BindFormatsToContent;
122 //-------------------------------------------------------------------------
124 /** specifies if the contents of the fields will be sorted to groups
125 while performing a subtotal operation.
127 [property] boolean EnableSort;
129 //-------------------------------------------------------------------------
131 /** specifies the sorting order if
132 <member>SubTotalDescriptor::EnableSort</member> is set to <TRUE/>.
134 [property] boolean SortAscending;
136 //-------------------------------------------------------------------------
138 /** returns the maximum number of subtotal fields the descriptor can
139 hold.
141 <p>This read-only property indicates the maximum count of fields the
142 current implementation supports.</p>
144 [readonly, property] long MaxFieldCount;
148 //=============================================================================
150 }; }; }; };
152 #endif