Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / inc / pagepar.hxx
blob581d08ad791888a630d46ee0cbcea32d0beaf58c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef SC_PAGEPAR_HXX
21 #define SC_PAGEPAR_HXX
23 #include "global.hxx"
24 #include "address.hxx"
26 struct ScPageTableParam
28 sal_Bool bCellContent;
29 sal_Bool bNotes;
30 sal_Bool bGrid;
31 sal_Bool bHeaders;
32 sal_Bool bCharts;
33 sal_Bool bObjects;
34 sal_Bool bDrawings;
35 sal_Bool bFormulas;
36 sal_Bool bNullVals;
37 sal_Bool bTopDown;
38 sal_Bool bLeftRight;
39 sal_Bool bSkipEmpty;
40 sal_Bool bScaleNone;
41 sal_Bool bScaleAll;
42 sal_Bool bScaleTo;
43 sal_Bool bScalePageNum;
44 sal_Bool bForceBreaks;
45 sal_uInt16 nScaleAll;
46 sal_uInt16 nScaleWidth;
47 sal_uInt16 nScaleHeight;
48 sal_uInt16 nScalePageNum;
49 sal_uInt16 nFirstPageNo;
51 ScPageTableParam();
52 ~ScPageTableParam();
54 sal_Bool operator== ( const ScPageTableParam& r ) const;
55 void Reset ();
58 struct ScPageAreaParam
60 sal_Bool bPrintArea;
61 sal_Bool bRepeatRow;
62 sal_Bool bRepeatCol;
63 ScRange aPrintArea;
64 ScRange aRepeatRow;
65 ScRange aRepeatCol;
67 ScPageAreaParam();
68 ~ScPageAreaParam();
70 sal_Bool operator== ( const ScPageAreaParam& r ) const;
71 void Reset ();
74 #endif
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */