LibreOffice Module sc (master)  1
rowheightcontext.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  */
9 
10 #ifndef INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX
11 #define INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX
12 
13 #include "scdllapi.h"
14 
15 #include <tools/fract.hxx>
16 #include <vcl/vclptr.hxx>
17 #include <vcl/outdev.hxx>
18 
19 #include "compressedarray.hxx"
20 #include "types.hxx"
21 
23 
24 namespace sc {
25 
27 {
29 
30  double mfPPTX;
31  double mfPPTY;
35 
36  sal_uInt16 mnExtraHeight;
38 
39 public:
41  SCROW nMaxRow, double fPPTX, double fPPTY, const Fraction& rZoomX, const Fraction& rZoomY,
42  OutputDevice* pOutDev );
43 
45 
46  double getPPTX() const { return mfPPTX;}
47  double getPPTY() const { return mfPPTY;}
48  const Fraction& getZoomX() const { return maZoomX;}
49  const Fraction& getZoomY() const { return maZoomY;}
50 
51  OutputDevice* getOutputDevice() { return mpOutDev;}
52 
53  void setExtraHeight( sal_uInt16 nH );
54  sal_uInt16 getExtraHeight() const { return mnExtraHeight;}
55 
56  void setForceAutoSize( bool b );
57  bool isForceAutoSize() const { return mbForceAutoSize;}
58 
59  RowHeightsArray& getHeightArray() { return maHeights; }
60 };
61 
62 }
63 
64 #endif
65 
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool isForceAutoSize() const
sal_uInt16 getExtraHeight() const
double getPPTX() const
OutputDevice * getOutputDevice()
RowHeightsArray & getHeightArray()
RowHeightsArray maHeights
VclPtr< OutputDevice > mpOutDev
const Fraction & getZoomY() const
double getPPTY() const
sal_Int32 SCROW
Definition: types.hxx:18
const Fraction & getZoomX() const
#define SC_DLLPUBLIC
Definition: scdllapi.h:28