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 #pragma once
11 
12 #include "scdllapi.h"
13 
14 #include <tools/fract.hxx>
15 #include <vcl/vclptr.hxx>
16 #include <vcl/outdev.hxx>
17 
18 #include "compressedarray.hxx"
19 #include "types.hxx"
20 
22 
23 namespace sc {
24 
26 {
28 
29  double mfPPTX;
30  double mfPPTY;
34 
35  sal_uInt16 mnExtraHeight;
37 
38 public:
40  SCROW nMaxRow, double fPPTX, double fPPTY, const Fraction& rZoomX, const Fraction& rZoomY,
41  OutputDevice* pOutDev );
42 
44 
45  double getPPTX() const { return mfPPTX;}
46  double getPPTY() const { return mfPPTY;}
47  const Fraction& getZoomX() const { return maZoomX;}
48  const Fraction& getZoomY() const { return maZoomY;}
49 
50  OutputDevice* getOutputDevice() { return mpOutDev;}
51 
52  void setExtraHeight( sal_uInt16 nH );
53  sal_uInt16 getExtraHeight() const { return mnExtraHeight;}
54 
55  void setForceAutoSize( bool b );
56  bool isForceAutoSize() const { return mbForceAutoSize;}
57 
58  RowHeightsArray& getHeightArray() { return maHeights; }
59 };
60 
61 }
62 
63 /* 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:17
const Fraction & getZoomX() const
#define SC_DLLPUBLIC
Definition: scdllapi.h:27