Coverage Report

Created: 2025-11-16 09:57

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/editeng/rsiditem.hxx
Line
Count
Source
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>
13
#include <editeng/editengdllapi.h>
14
15
16
// SvxRsidItem
17
18
19
class EDITENG_DLLPUBLIC SvxRsidItem final : public SfxUInt32Item
20
{
21
public:
22
    DECLARE_ITEM_TYPE_FUNCTION(SvxRsidItem)
23
151
    SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {}
24
25
    virtual bool GetPresentation( SfxItemPresentation ePres,
26
                                  MapUnit eCoreMetric,
27
                                  MapUnit ePresMetric,
28
                                  OUString &rText, const IntlWrapper& ) const override;
29
30
    virtual SvxRsidItem* Clone( SfxItemPool* pPool = nullptr ) const override;
31
32
    virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
33
    virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
34
35
    void dumpAsXml(xmlTextWriterPtr pWriter) const override;
36
37
protected:
38
    virtual ItemInstanceManager* getItemInstanceManager() const override;
39
};
40
41
#endif // INCLUDED_EDITENG_RSIDITEM_HXX