/* -*- 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_POSTITEM_HXX #define INCLUDED_EDITENG_POSTITEM_HXX #include #include #include class SvXMLUnitConverter; // class SvxPostureItem -------------------------------------------------- /* [Description] This item describes the font setting (Italic) */ class EDITENG_DLLPUBLIC SvxPostureItem : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); SvxPostureItem( const FontItalic ePost /*= ITALIC_NONE*/, const sal_uInt16 nId ); // "pure virtual Methods" from SfxPoolItem + SwEnumItem virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper& ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override; virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const override; virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const override; virtual sal_uInt16 GetValueCount() 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; virtual bool HasBoolValue() const override; virtual bool GetBoolValue() const override; virtual void SetBoolValue( bool bVal ) override; SvxPostureItem& operator=(const SvxPostureItem& rPost) { SetValue( rPost.GetValue() ); return *this; } // enum cast FontItalic GetPosture() const { return GetValue(); } void dumpAsXml(struct _xmlTextWriter* pWriter) const override; }; #endif // INCLUDED_EDITENG_POSTITEM_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -24.04.4'>distro/collabora/co-24.04.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
2014-09-03fdo#81633: Add a new configuration option to toggle ref update on sort.Kohei Yoshida
2014-08-22fdo#82183 do not reset globals while loading a documentEike Rathke
2014-07-29Drop unnecessary SfxApplication::CreateResManager wrapperStephan Bergmann
2014-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud
2014-06-25remove whitespaceMarkus Mohrhard
2014-06-24new compilerplugin returnbyrefNoel Grandin
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
2014-06-11Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
2014-05-11fix-includes.pl: scThomas Arnhold
2014-05-10Translate German comments, fix some wsPhilipp Weissenbacher
2014-05-09coverity#1209709 Dereference null return valueCaolán McNamara
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
2014-05-02Implement "fill single edit" mode and map it to Ctrl-' by default.Kohei Yoshida
2014-04-23sc: sal_Bool->boolNoel Grandin
2014-04-18sfx2: Move InitInterface_Impl() method out of SFX_IMPL_INTERFACE.Jan Holesovsky
2014-04-18sfx2: Kill SFX_STATUSBAR_REGISTRATION macro.Jan Holesovsky
2014-04-18sfx2: Kill SFX_OBJECTBAR_REGISTRATION macro.Jan Holesovsky
2014-04-18callcatcher: update unused codeCaolán McNamara
2014-04-06whitespace cleanup in scMarkus Mohrhard
2014-03-14some formula interpreter options are document specificEike Rathke
2014-03-14recalc for interpreter options changesEike Rathke
2014-03-08typo in coverity#704692 fixNorbert Thiebaud
2014-03-07coverity#704693 Unchecked dynamic castNorbert Thiebaud
2014-03-07coverity#704692 Unchecked dynamic castNorbert Thiebaud
2014-03-07coverity#704691 Unchecked dynamic castNorbert Thiebaud
2014-03-07coverity#704690 Unchecked dynamic castNorbert Thiebaud
2014-03-07coverity#704689 Unchecked dynamic castNorbert Thiebaud
2014-03-07coverity#704688 Unchecked dynamic castNorbert Thiebaud
2014-03-05fdo#67104 Use correct command for show gridMaxim Monastirsky
2014-03-03Remove visual noise from scAlexander Wilms
2014-02-27coverity#704694 Dereference after null checkCaolán McNamara
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-02-20svl: sal_Bool -> boolStephan Bergmann
2014-02-19sal_Bool->boolNoel Grandin
2014-02-18sal_Bool->boolNoel Grandin
2014-02-14sal_Bool->boolNoel Grandin
2014-02-13Unify scmod and scmod2Marcos Paulo de Souza
2014-02-10loplugin:implicitboolconversion, loplugin:literaltoboolconversionStephan Bergmann