/* -*- 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 _SVX_POSTITEM_HXX #define _SVX_POSTITEM_HXX #include #include #include class SvXMLUnitConverter; // class SvxPostureItem -------------------------------------------------- /* [Description] This item describes the font setting (Italic) */ class EDITENG_DLLPUBLIC SvxPostureItem : public SfxEnumItem { public: TYPEINFO(); SvxPostureItem( const FontItalic ePost /*= ITALIC_NONE*/, const sal_uInt16 nId ); // "pure virtual Methods" from SfxPoolItem + SwEnumItem virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, OUString &rText, const IntlWrapper * = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const; virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const; virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const; virtual sal_uInt16 GetValueCount() const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); virtual int HasBoolValue() const; virtual sal_Bool GetBoolValue() const; virtual void SetBoolValue( sal_Bool bVal ); inline SvxPostureItem& operator=(const SvxPostureItem& rPost) { SetValue( rPost.GetValue() ); return *this; } // enum cast FontItalic GetPosture() const { return (FontItalic)GetValue(); } void SetPosture( FontItalic eNew ) { SetValue( (sal_uInt16)eNew ); } }; #endif // #ifndef _SVX_POSTITEM_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ llabora/co-24.04.4'>distro/collabora/co-24.04.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2011-09-19rework this in terms of read_uInt8s_AsOStringCaolán McNamara
2011-09-17use read_uInt8s_AsOString and comphelper::string::padToLengthCaolán McNamara
2011-09-17memcpy is of the same length as preceding memsetCaolán McNamara
2011-09-15Make this compile with MSVC and _DEBUGTor Lillqvist
2011-09-15We can't #define _HAS_ITERATOR_DEBUGGING 0 in just some of the source filesTor Lillqvist
2011-09-07shouldEscapeDateTime() controls ODBC syntax for date literals, not ## formatLionel Elie Mamane
2011-09-06[cppchecker] unread Variable warning suppressedPierre-André Jacquod
2011-09-06IBM jni.h has non-const SetByteArrayRegion final argCaolán McNamara
2011-09-03Fixes fdo#36594 Syntax error in SQL on "--" comment (and "//" and "/**/")Jenei Gábor
2011-08-29More #define _HAS_ITERATOR_DEBUGGING 0 to fix _DEBUG MSVC buildsTor Lillqvist
2011-08-24Don't do the undef-redef dance for "MINIMAL_PROFILEDISCOVER"Tor Lillqvist
2011-08-24Again, avoid debugging MSVC std::equal_range issueTor Lillqvist
2011-08-19convert tools::Config to rtl::OStringCaolán McNamara
2011-08-19drop it completelyCaolán McNamara
2011-08-18registered but uninstalled database drivers break address book wizardCaolán McNamara
2011-08-18Fixed build breakage.Kohei Yoshida
2011-08-15add a getToken wrapper for extracting a single token painlesslyCaolán McNamara
2011-08-15ByteString->rtl::OStringCaolán McNamara
2011-08-14=class OTableHelper: typo in private member name: refreshFor*gei*nKeysLionel Elie Mamane
2011-08-08callcatcher: ditch some more methodsCaolán McNamara
2011-08-05delete/delete[] mismatch, thanks to Terrence EngerCaolán McNamara
2011-08-04fixed typoTakeshi Abe
2011-08-01Deliver also static librariesTor Lillqvist
2011-07-27Related: fdo#35404 survive nil xTableCaolán McNamara
2011-07-21resyncing to masterBjoern Michaelsen
2011-07-21Generate correctly named import library for WNTGCCTor Lillqvist
2011-07-20Add a few casts to fix MinGW compilation errorsTor Lillqvist
2011-07-20Win32 header names need to be in lowercase as that is how they are in MinGWTor Lillqvist
2011-07-20MinGW needs -fpermissive for <adoint.h>Tor Lillqvist
2011-07-12Keep this one component_getImplementationEnvironment methodMatúš Kukan
2011-07-12Remove component_getImplementationEnvironment methodsMatúš Kukan
2011-07-06Deliver also static archives, as built for iOSTor Lillqvist
2011-07-02ByteString::CreateFromInt32->rtl::OString::valueOfCaolán McNamara
2011-06-19Merge branch 'master' into feature/gnumake4Bjoern Michaelsen
2011-06-17gnumake4: added dbaccess and reportdesign [hg:a75d5667430f]Ocke Janssen [oj]
2011-06-17gnumake4: remove evoab [hg:0109ce6e2910]Ocke Janssen [oj]
2011-06-14unused bufferCaolán McNamara
2011-06-14remove unused filler and widthCaolán McNamara
2011-06-06Merge remote-tracking branch 'origin/libreoffice-3-4'Jan Holesovsky
2011-06-04Removed commented codeChristina Rossmanith
2011-06-03Drop %_EXT% which was always emptyTor Lillqvist
2011-06-01this is overly static for little gainCaolán McNamara
2011-06-01WaE: unused return valueCaolán McNamara
2011-05-31fix build in connectivity/qa with system-hsqldbRene Engelhard
2011-05-31fix compile with Bison 2.5Kelly Anderson
2011-05-31fix compile with Bison 2.5Kelly Anderson
2011-05-27Merge remote-tracking branch 'origin/integration/dev300_m106'Jan Holesovsky
2011-05-21Drop OS2Tor Lillqvist
2011-04-28Merge commit 'ooo/DEV300_m106' into integration/dev300_m106Thorsten Behrens
2011-04-26remove double space from en-US messageAndras Timar