Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 : *
5 : * The contents of this file are subject to the Mozilla Public License Version
6 : * 1.1 (the "License"); you may not use this file except in compliance with
7 : * the License or as specified alternatively below. You may obtain a copy of
8 : * the License at http://www.mozilla.org/MPL/
9 : *
10 : * Software distributed under the License is distributed on an "AS IS" basis,
11 : * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 : * for the specific language governing rights and limitations under the
13 : * License.
14 : *
15 : * Major Contributor(s):
16 : * [ Copyright (C) 2009 Tzvetelina Tzeneva <tzvetelina@gmail.com> (initial developer) ]
17 : */
18 : #ifndef _SVX_RSIDITEM_HXX
19 : #define _SVX_RSIDITEM_HXX
20 :
21 : #include <svl/intitem.hxx>
22 : #include "editeng/editengdllapi.h"
23 :
24 : //----------------------
25 : // SvxRsidItem
26 : //----------------------
27 :
28 723 : class EDITENG_DLLPUBLIC SvxRsidItem : public SfxUInt32Item
29 : {
30 : public:
31 : TYPEINFO();
32 :
33 574 : SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {}
34 0 : SvxRsidItem( SvStream& rIn, sal_uInt16 nId ) : SfxUInt32Item( nId, rIn ) {}
35 :
36 : virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
37 : virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
38 :
39 : virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
40 : virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
41 : };
42 :
43 : #endif // _SVX_RSIDITEM_HXX
|