xref: /trunk/main/sc/inc/pagepar.hxx (revision 38d50f7b)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef SC_PAGEPAR_HXX
25 #define SC_PAGEPAR_HXX
26 
27 #include "global.hxx"
28 #include "address.hxx"
29 
30 //-----------------------------------------------------------------------
31 
32 struct ScPageTableParam
33 {
34     sal_Bool	bCellContent;
35 	sal_Bool	bNotes;
36 	sal_Bool	bGrid;
37 	sal_Bool	bHeaders;
38 	sal_Bool	bCharts;
39 	sal_Bool	bObjects;
40 	sal_Bool	bDrawings;
41 	sal_Bool	bFormulas;
42 	sal_Bool	bNullVals;
43 	sal_Bool	bTopDown;
44 	sal_Bool	bLeftRight;
45 	sal_Bool	bSkipEmpty;
46 	sal_Bool	bScaleNone;
47 	sal_Bool	bScaleAll;
48     sal_Bool    bScaleTo;
49 	sal_Bool	bScalePageNum;
50 	sal_uInt16	nScaleAll;
51     sal_uInt16  nScaleWidth;
52     sal_uInt16  nScaleHeight;
53 	sal_uInt16	nScalePageNum;
54 	sal_uInt16	nFirstPageNo;
55 
56 	ScPageTableParam();
57 	~ScPageTableParam();
58 
59 	sal_Bool				operator==	( const ScPageTableParam& r ) const;
60 	void				Reset		();
61 };
62 
63 struct ScPageAreaParam
64 {
65 	sal_Bool	bPrintArea;
66 	sal_Bool	bRepeatRow;
67 	sal_Bool	bRepeatCol;
68 	ScRange	aPrintArea;
69 	ScRange	aRepeatRow;
70 	ScRange	aRepeatCol;
71 
72 	ScPageAreaParam();
73 	~ScPageAreaParam();
74 
75 	sal_Bool				operator==	( const ScPageAreaParam& r ) const;
76 	void				Reset		();
77 };
78 
79 
80 #endif
81 
82 
83