2011-12-22 17:27:32 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
2013-04-24 17:14:03 +01:00
|
|
|
* This file is part of the LibreOffice project.
|
2011-12-22 17:27:32 +01:00
|
|
|
*
|
2013-04-24 17:14:03 +01:00
|
|
|
* 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/.
|
2011-12-22 17:27:32 +01:00
|
|
|
*/
|
2013-10-23 19:17:57 +02:00
|
|
|
#ifndef INCLUDED_EDITENG_RSIDITEM_HXX
|
|
|
|
#define INCLUDED_EDITENG_RSIDITEM_HXX
|
2011-12-22 17:27:32 +01:00
|
|
|
|
|
|
|
#include <svl/intitem.hxx>
|
2013-11-09 14:13:31 -06:00
|
|
|
#include <editeng/editengdllapi.h>
|
2011-12-22 17:27:32 +01:00
|
|
|
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2011-12-22 17:27:32 +01:00
|
|
|
// SvxRsidItem
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2011-12-22 17:27:32 +01:00
|
|
|
|
|
|
|
class EDITENG_DLLPUBLIC SvxRsidItem : public SfxUInt32Item
|
|
|
|
{
|
|
|
|
public:
|
2014-03-26 11:54:10 +01:00
|
|
|
TYPEINFO_OVERRIDE();
|
2011-12-22 17:27:32 +01:00
|
|
|
|
|
|
|
SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {}
|
|
|
|
SvxRsidItem( SvStream& rIn, sal_uInt16 nId ) : SfxUInt32Item( nId, rIn ) {}
|
|
|
|
|
2014-03-26 16:37:00 +01:00
|
|
|
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const SAL_OVERRIDE;
|
|
|
|
virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const SAL_OVERRIDE;
|
2011-12-22 17:27:32 +01:00
|
|
|
|
2014-03-26 16:37:00 +01:00
|
|
|
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
|
|
|
|
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
|
2014-12-09 09:05:14 +01:00
|
|
|
|
2015-01-23 09:08:09 +01:00
|
|
|
void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
|
2011-12-22 17:27:32 +01:00
|
|
|
};
|
|
|
|
|
2013-10-23 19:17:57 +02:00
|
|
|
#endif // INCLUDED_EDITENG_RSIDITEM_HXX
|