sync master with lastest vba changes
[ooovba.git] / sc / inc / pagepar.hxx
blobb08310cf2c09396531c17476841f84d6d4b84909
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: pagepar.hxx,v $
10 * $Revision: 1.6 $
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 SC_PAGEPAR_HXX
32 #define SC_PAGEPAR_HXX
34 #include "global.hxx"
35 #include "address.hxx"
37 //-----------------------------------------------------------------------
39 struct ScPageTableParam
41 BOOL bCellContent;
42 BOOL bNotes;
43 BOOL bGrid;
44 BOOL bHeaders;
45 BOOL bCharts;
46 BOOL bObjects;
47 BOOL bDrawings;
48 BOOL bFormulas;
49 BOOL bNullVals;
50 BOOL bTopDown;
51 BOOL bLeftRight;
52 BOOL bSkipEmpty;
53 BOOL bScaleNone;
54 BOOL bScaleAll;
55 BOOL bScaleTo;
56 BOOL bScalePageNum;
57 USHORT nScaleAll;
58 USHORT nScaleWidth;
59 USHORT nScaleHeight;
60 USHORT nScalePageNum;
61 USHORT nFirstPageNo;
63 ScPageTableParam();
64 ~ScPageTableParam();
66 BOOL operator== ( const ScPageTableParam& r ) const;
67 void Reset ();
70 struct ScPageAreaParam
72 BOOL bPrintArea;
73 BOOL bRepeatRow;
74 BOOL bRepeatCol;
75 ScRange aPrintArea;
76 ScRange aRepeatRow;
77 ScRange aRepeatCol;
79 ScPageAreaParam();
80 ~ScPageAreaParam();
82 BOOL operator== ( const ScPageAreaParam& r ) const;
83 void Reset ();
87 #endif