/* -*- 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_CHARRELIEFITEM_HXX #define INCLUDED_EDITENG_CHARRELIEFITEM_HXX #include #include #include // class SvxCharRotateItem ---------------------------------------------- /* [Description] This item defines a character relief and has currently the values emboss, relief. */ class EDITENG_DLLPUBLIC SvxCharReliefItem : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); SvxCharReliefItem( FontRelief eValue /*= FontRelief::NONE*/, const sal_uInt16 nId ); virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override; virtual SvStream& Store(SvStream & rStrm, sal_uInt16 nIVer) const override; virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const override; virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const override; virtual sal_uInt16 GetValueCount() const override; FontRelief GetValue() const { return (FontRelief)SfxEnumItem::GetValue(); } void SetValue(FontRelief f) { SfxEnumItem::SetValue((sal_uInt16)f); } virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper * = nullptr ) 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; inline SvxCharReliefItem& operator=( const SvxCharReliefItem& rItem ) { SetValue( rItem.GetValue() ); return *this; } }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ o-24.04.5 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/io
AgeCommit message (Expand)Author
2014-09-29loplugin: cstylecastNoel Grandin
2014-08-25set names on a bunch more threads...Michael Stahl
2014-06-05various: remove SAL_THROW macroNoel Grandin
2014-06-02fdo#68849: Add header guards to all include filesJens Carl
2014-05-30fix . in #defineNoel Grandin
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
2014-05-27remove unnecessary use of Reference constructor in throwNoel Grandin
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
2014-04-23io: sal_Bool->boolNoel Grandin
2014-04-22second test should be DataOutputStreamStephan Bergmann
2014-04-18Typo: s/shure/sureTor Lillqvist
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
2014-03-12coverity#707937 Uninitialized pointer fieldCaolán McNamara
2014-03-12coverity#707936 Uninitialized pointer fieldCaolán McNamara
2014-03-08coverity#707939 Uninitialized scalar fieldCaolán McNamara
2014-03-08coverity#707938 Uninitialized scalar fieldCaolán McNamara
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
2014-02-26Remove visual noise from ioAlexander Wilms
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-01-21bool improvementsStephan Bergmann
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
2013-12-09fdo#54938: Convert io to use cppu::supportsServiceMarcos Paulo de Souza
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
2013-11-05fdo#60698: Merge all libs of io...Marcos Paulo de Souza
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
2013-10-22Resolves: #i75731# check output stream and...Jürgen Schmidt
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza
2013-10-04fdo#46374 replace stardiv in comments where applicableThomas Arnhold
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
2013-08-12Mark as constTakeshi Abe
2013-07-01Fix memory leak in OTextInputStream.Mark Wielaard
2013-06-29remove OUString wrap for string literalsThomas Arnhold
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann
2013-04-19remove unused component_canUnload functionsMatúš Kukan