/* -*- 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_LINEITEM_HXX #define INCLUDED_EDITENG_LINEITEM_HXX #include #include // class SvxLineItem ----------------------------------------------------- /* [Description] This Item transports a editeng::SvxBorderLine. */ namespace editeng { class SvxBorderLine; } class EDITENG_DLLPUBLIC SvxLineItem : public SfxPoolItem { public: static SfxPoolItem* CreateDefault(); explicit SvxLineItem( const sal_uInt16 nId ); SvxLineItem( const SvxLineItem& rCpy ); virtual ~SvxLineItem(); SvxLineItem &operator=( const SvxLineItem& rLine ); 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 operator==( const SfxPoolItem& ) const override; virtual bool GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, OUString &rText, const IntlWrapper * = nullptr ) 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 void ScaleMetrics( long nMult, long nDiv ) override; virtual bool HasMetrics() const override; const editeng::SvxBorderLine* GetLine () const { return pLine; } void SetLine ( const editeng::SvxBorderLine *pNew ); private: editeng::SvxBorderLine* pLine; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /collabora/co-24.04'>distro/collabora/co-24.04 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2018-08-09loplugin:unusedmethodsNoel Grandin
2018-07-02pass OutlinerParaObject around by std::unique_ptrNoel Grandin
2018-04-11pass EditTextObject around using std::unique_ptrNoel Grandin
2017-10-04Fix typosAndrea Gelmini
2017-07-21migrate to boost::gettextCaolán McNamara
2017-04-15Avoid using implicit assignment operatorTamás Zolnai
2017-04-15Introduce text rotation for Impress tablesTamás Zolnai
2017-01-13new loplugin: useuniqueptr: editengNoel Grandin
2016-12-05loplugin:countusersofdefaultparams in include/drawinglayer..i18nlangtagNoel Grandin
2016-05-09convert OUTLINER_MODE to scoped enumNoel Grandin
2016-01-12loplugin:unusedmethods unused return value in include/editengNoel Grandin
2015-09-15tdf#62525 editeng: OutlinerParaObjectDaniel Robertson
2014-11-27Factor out OutlinerParaObject::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
2014-08-14Apply a simple pimpl idiom and rename the old Impl to make it non-Impl.Kohei Yoshida
2014-03-17codemaker,editeng: prefer passing OUString by referenceNoel Grandin
2014-02-21fdo#63154 Remove unused solar.h reference in editengAlexandre Vicenzi
2014-01-29Resolves: #i123228# ParagraphData symbols shouldn't be required...Herbert Dürr
2013-10-23fixincludeguards.sh: include/editengThomas Arnhold
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
2013-04-23execute move of global headersBjoern Michaelsen