1*9ee13d13SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*9ee13d13SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*9ee13d13SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*9ee13d13SAndrew Rist  * distributed with this work for additional information
6*9ee13d13SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*9ee13d13SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*9ee13d13SAndrew Rist  * "License"); you may not use this file except in compliance
9*9ee13d13SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*9ee13d13SAndrew Rist  *
11*9ee13d13SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*9ee13d13SAndrew Rist  *
13*9ee13d13SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*9ee13d13SAndrew Rist  * software distributed under the License is distributed on an
15*9ee13d13SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*9ee13d13SAndrew Rist  * KIND, either express or implied.  See the License for the
17*9ee13d13SAndrew Rist  * specific language governing permissions and limitations
18*9ee13d13SAndrew Rist  * under the License.
19*9ee13d13SAndrew Rist  *
20*9ee13d13SAndrew Rist  *************************************************************/
21*9ee13d13SAndrew Rist 
22*9ee13d13SAndrew Rist 
23cdf0e10cSrcweir #ifndef RPT_SHARED_GROUPS_PROPERTIES_HXX
24cdf0e10cSrcweir #define RPT_SHARED_GROUPS_PROPERTIES_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir namespace rptshared
27cdf0e10cSrcweir {
28cdf0e10cSrcweir 	/** struct for the group properties
29cdf0e10cSrcweir 	*/
30cdf0e10cSrcweir 	struct GroupProperties
31cdf0e10cSrcweir 	{
32cdf0e10cSrcweir 		::sal_Int32																	m_nGroupInterval;
33cdf0e10cSrcweir 		::rtl::OUString 															m_sExpression;
34cdf0e10cSrcweir 		::sal_Int16																	m_nGroupOn;
35cdf0e10cSrcweir 		::sal_Int16																	m_nKeepTogether;
36cdf0e10cSrcweir 		::sal_Bool																	m_eSortAscending;
37cdf0e10cSrcweir 		::sal_Bool																	m_bStartNewColumn;
38cdf0e10cSrcweir 		::sal_Bool																	m_bResetPageNumber;
39cdf0e10cSrcweir 
GroupPropertiesrptshared::GroupProperties40cdf0e10cSrcweir 		GroupProperties()
41cdf0e10cSrcweir 	    :m_nGroupInterval(1)
42cdf0e10cSrcweir         ,m_nGroupOn(0)
43cdf0e10cSrcweir 		,m_nKeepTogether(0)
44cdf0e10cSrcweir 		,m_eSortAscending(sal_True)
45cdf0e10cSrcweir         ,m_bStartNewColumn(sal_False)
46cdf0e10cSrcweir 		,m_bResetPageNumber(sal_False)
47cdf0e10cSrcweir 		{}
48cdf0e10cSrcweir 	};
49cdf0e10cSrcweir }
50cdf0e10cSrcweir #endif //RPT_SHARED_GROUPS_PROPERTIES_HXX
51