1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX
11 #define INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX
15 #include <tools/fract.hxx>
21 class SC_DLLPUBLIC RowHeightContext
27 OutputDevice
* mpOutDev
;
29 sal_uInt16 mnExtraHeight
;
30 bool mbForceAutoSize
; /// whether to set height to optimal even when the manual height flag is set.
34 double fPPTX
, double fPPTY
, const Fraction
& rZoomX
, const Fraction
& rZoomY
,
35 OutputDevice
* pOutDev
);
39 double getPPTX() const;
40 double getPPTY() const;
41 const Fraction
& getZoomX() const;
42 const Fraction
& getZoomY() const;
44 OutputDevice
* getOutputDevice();
46 void setExtraHeight( sal_uInt16 nH
);
47 sal_uInt16
getExtraHeight() const;
49 void setForceAutoSize( bool b
);
50 bool isForceAutoSize() const;
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */