/* -*- 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_EDITENG_PARAVERTALIGNITEM_HXX #define INCLUDED_EDITENG_PARAVERTALIGNITEM_HXX #include #include // class SvxParaVertAlignItem ---------------------------------------------- /* [Description] This item defines the character alignment in the lines of a paragraph. Currently the alignment can be none (i.e. baseline), top, center or bottom. */ class EDITENG_DLLPUBLIC SvxParaVertAlignItem : public SfxUInt16Item { public: enum class Align { Automatic, Baseline, Top, Center, Bottom }; static SfxPoolItem* CreateDefault(); SvxParaVertAlignItem( Align nValue /*= 0*/, const sal_uInt16 nId ); virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper& ) const override; virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; Align GetValue() const { return static_cast(SfxUInt16Item::GetValue()); } void SetValue(Align n) { SfxUInt16Item::SetValue(static_cast(n)); } virtual bool operator==( const SfxPoolItem& ) const override; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ stro/collabora/co-22.05-testflight'>distro/collabora/co-22.05-testflight LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-12-10Generally determine Rdb content from gb_*_set_componentfile callsStephan Bergmann
2021-10-30Prepare for removal of non-const operator[] from Sequence in eventattacherMike Kaganski
2021-08-03Consolidate on C++17 std::scoped_lock instead of std::lock_guardNoel Grandin
2021-07-18osl::Mutex->std::mutex in EventAttacherImplNoel Grandin
2021-06-08Simplify Sequences initializations (desktop/e*/filter/forms/formula/fpicker)Julien Nabet
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-03-10Drop 'static_cast<cppu::OWeakObject*>' syntactic noiseMike Kaganski
2020-11-12tdf#42949 Fix new IWYU warnings in directories [e-f]*Gabor Kelemen
2020-10-02Use the new single-instance="true" attribute in eventattacherStephan Bergmann
2020-07-09eventattacher: create instances with uno constructorsNoel Grandin
2020-05-20use for-range on Sequence in e*Noel Grandin
2019-12-19sal_Char->char in editeng..eventattacherNoel Grandin
2019-11-22Extend loplugin:external to warn about classesStephan Bergmann
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): eventattacherStephan Bergmann
2019-06-21simplify some getSupportedServiceNamesNoel Grandin
2019-05-31Use hasElements to check Sequence emptiness in [e-i]*Arkadiy Illarionov
2019-05-23tdf#42949 Fix IWYU warnings in: animations/ eventattacher/ i18nutil/Gabor Kelemen
2019-02-12tdf#120703 PVS: remove redundant static castsMike Kaganski
2019-02-08loplugin:indentation in editeng..extensionsNoel Grandin
2018-09-17New loplugin:externalStephan Bergmann
2018-09-08loplugin:simplifyconstruct in editeng..extensionsNoel Grandin
2018-05-25Improve re-throwing of UNO exceptionsNoel Grandin
2017-12-14No need to keep these whitelisted functions decorated with SAL_CALLStephan Bergmann
2017-12-11loplugin:salcall fix functionsNoel Grandin
2017-09-21loplugin:flatten in editeng..extensionsNoel Grandin
2017-05-30teach redundantcast plugin about functional castsNoel Grandin
2017-05-20Translate German comments and debug strings (leftovers in e... dirs)Johnny_M
2017-05-09cleanup osl/diagnose.h includesJochen Nitschke
2017-05-07Fix typosAndrea Gelmini
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
2017-02-06Add missing #includesStephan Bergmann
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2017-01-19New loplugin:dynexcspec: Add @throws documentation, eventattacherStephan Bergmann