/* -*- 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 "segmenttree.hxx" namespace sc { class SC_DLLPUBLIC RowHeightContext { ScFlatUInt16RowSegments maHeights; double const mfPPTX; double const mfPPTY; Fraction const maZoomX; Fraction const maZoomY; VclPtr mpOutDev; sal_uInt16 mnExtraHeight; bool mbForceAutoSize; /// whether to set height to optimal even when the manual height flag is set. public: RowHeightContext( SCROW nMaxRow, 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: */ ion value='distro/collabora/cp-4.0'>distro/collabora/cp-4.0 LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
path: root/source/et
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-08-21 18:27:02 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-08-21 18:27:02 +0200
commit5632692504d455d87c83b863fffcf7baf2820c49 (patch)
tree640718095c46ed647ddb1e560375c978fd0e2a35 /source/et
parente8c9e70e057aec51c783b7230f1995020374d06f (diff)
update translations for master