/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX #define INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX #include "scdllapi.h" #include #include #include #include #include "segmenttree.hxx" namespace sc { class SC_DLLPUBLIC RowHeightContext { ScFlatUInt16RowSegments maHeights; double mfPPTX; double mfPPTY; Fraction maZoomX; Fraction maZoomY; VclPtr mpOutDev; sal_uInt16 mnExtraHeight; bool mbForceAutoSize; /// whether to set height to optimal even when the manual height flag is set. public: RowHeightContext( double fPPTX, double fPPTY, const Fraction& rZoomX, const Fraction& rZoomY, OutputDevice* pOutDev ); ~RowHeightContext(); double getPPTX() const { return mfPPTX;} double getPPTY() const { return mfPPTY;} const Fraction& getZoomX() const { return maZoomX;} const Fraction& getZoomY() const { return maZoomY;} OutputDevice* getOutputDevice() { return mpOutDev;} void setExtraHeight( sal_uInt16 nH ); sal_uInt16 getExtraHeight() const { return mnExtraHeight;} void setForceAutoSize( bool b ); bool isForceAutoSize() const { return mbForceAutoSize;} ScFlatUInt16RowSegments& getHeightArray(); }; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ b/libreoffice-6-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-06-11 11:01:49 +0200
committerAndras Timar <andras.timar@collabora.com>2020-06-11 11:01:53 +0200
commit7f122373e0c86499985655e67d4bf7270a34ade1 (patch)
tree2179b54eba02eb6efd3d36e514ed358f60d3ba5d /writerfilter/source/dmapper/FFDataHandler.hxx
parent231e6e0effb2056ba37cf1b160d9af1adcf097a7 (diff)
Bump version to 6.2-16 cp-6.2-16
Change-Id: I18a7348c19fa9209dc24a43db508a3361fedb9d3