15aaf853bSArmin Le Grand /************************************************************** 25aaf853bSArmin Le Grand * 35aaf853bSArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one 45aaf853bSArmin Le Grand * or more contributor license agreements. See the NOTICE file 55aaf853bSArmin Le Grand * distributed with this work for additional information 65aaf853bSArmin Le Grand * regarding copyright ownership. The ASF licenses this file 75aaf853bSArmin Le Grand * to you under the Apache License, Version 2.0 (the 85aaf853bSArmin Le Grand * "License"); you may not use this file except in compliance 95aaf853bSArmin Le Grand * with the License. You may obtain a copy of the License at 105aaf853bSArmin Le Grand * 115aaf853bSArmin Le Grand * http://www.apache.org/licenses/LICENSE-2.0 125aaf853bSArmin Le Grand * 135aaf853bSArmin Le Grand * Unless required by applicable law or agreed to in writing, 145aaf853bSArmin Le Grand * software distributed under the License is distributed on an 155aaf853bSArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 165aaf853bSArmin Le Grand * KIND, either express or implied. See the License for the 175aaf853bSArmin Le Grand * specific language governing permissions and limitations 185aaf853bSArmin Le Grand * under the License. 195aaf853bSArmin Le Grand * 205aaf853bSArmin Le Grand *************************************************************/ 215aaf853bSArmin Le Grand 225aaf853bSArmin Le Grand #ifndef _SVX_XLNCAPIT_HXX 235aaf853bSArmin Le Grand #define _SVX_XLNCAPIT_HXX 245aaf853bSArmin Le Grand 255aaf853bSArmin Le Grand #include <svx/svxdllapi.h> 265aaf853bSArmin Le Grand #include <svl/eitem.hxx> 275aaf853bSArmin Le Grand #include <svx/xenum.hxx> 285aaf853bSArmin Le Grand #include <com/sun/star/drawing/LineCap.hpp> 295aaf853bSArmin Le Grand 305aaf853bSArmin Le Grand //--------------------- 31*d5370dc8SArmin Le Grand // class XLineCapItem 325aaf853bSArmin Le Grand //--------------------- 335aaf853bSArmin Le Grand 345aaf853bSArmin Le Grand class SVX_DLLPUBLIC XLineCapItem : public SfxEnumItem 355aaf853bSArmin Le Grand { 365aaf853bSArmin Le Grand public: 375aaf853bSArmin Le Grand TYPEINFO(); 385aaf853bSArmin Le Grand XLineCapItem(com::sun::star::drawing::LineCap eLineCap = com::sun::star::drawing::LineCap_BUTT); 395aaf853bSArmin Le Grand XLineCapItem(SvStream& rIn); 405aaf853bSArmin Le Grand 415aaf853bSArmin Le Grand virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const; 425aaf853bSArmin Le Grand virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; 435aaf853bSArmin Le Grand virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const; 445aaf853bSArmin Le Grand 455aaf853bSArmin Le Grand virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; 465aaf853bSArmin Le Grand virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); 475aaf853bSArmin Le Grand virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, 485aaf853bSArmin Le Grand SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, 495aaf853bSArmin Le Grand String &rText, const IntlWrapper * = 0 ) const; 505aaf853bSArmin Le Grand 515aaf853bSArmin Le Grand virtual sal_uInt16 GetValueCount() const; 525aaf853bSArmin Le Grand com::sun::star::drawing::LineCap GetValue() const; 535aaf853bSArmin Le Grand }; 545aaf853bSArmin Le Grand 555aaf853bSArmin Le Grand #endif // _SVX_XLNCAPIT_HXX 565aaf853bSArmin Le Grand 575aaf853bSArmin Le Grand /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 58