LibreOffice Module editeng (master) 1
rsiditem.hxx
Go to the documentation of this file.
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 INCLUDED_EDITENG_RSIDITEM_HXX
10#define INCLUDED_EDITENG_RSIDITEM_HXX
11
12#include <svl/intitem.hxx>
14
15
16// SvxRsidItem
17
18
20{
21public:
22 SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {}
23
24 virtual bool GetPresentation( SfxItemPresentation ePres,
25 MapUnit eCoreMetric,
26 MapUnit ePresMetric,
27 OUString &rText, const IntlWrapper& ) const override;
28
29 virtual SvxRsidItem* Clone( SfxItemPool* pPool = nullptr ) const override;
30
31 virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
32 virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
33
34 void dumpAsXml(xmlTextWriterPtr pWriter) const override;
35};
36
37#endif // INCLUDED_EDITENG_RSIDITEM_HXX
virtual bool GetPresentation(SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
virtual SfxUInt32Item * Clone(SfxItemPool *=nullptr) const override
void dumpAsXml(xmlTextWriterPtr pWriter) const override
SvxRsidItem(sal_uInt32 nRsid, sal_uInt16 nId)
Definition: rsiditem.hxx:22
#define EDITENG_DLLPUBLIC
Definition: editengdllapi.h:28
struct _xmlTextWriter * xmlTextWriterPtr
MapUnit
sal_Int16 nId
SfxItemPresentation
unsigned char sal_uInt8