Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 : #ifndef _SVX_RSIDITEM_HXX
10 : #define _SVX_RSIDITEM_HXX
11 :
12 : #include <svl/intitem.hxx>
13 : #include "editeng/editengdllapi.h"
14 :
15 : //----------------------
16 : // SvxRsidItem
17 : //----------------------
18 :
19 1232 : class EDITENG_DLLPUBLIC SvxRsidItem : public SfxUInt32Item
20 : {
21 : public:
22 : TYPEINFO();
23 :
24 665 : SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {}
25 0 : SvxRsidItem( SvStream& rIn, sal_uInt16 nId ) : SfxUInt32Item( nId, rIn ) {}
26 :
27 : virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
28 : virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
29 :
30 : virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
31 : virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
32 : };
33 :
34 : #endif // _SVX_RSIDITEM_HXX
|