Coverage Report

Created: 2025-07-07 10:01

/src/libreoffice/include/svx/CommonStyleManager.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
10
#ifndef INCLUDED_SVX_COMMONSTYLEMANAGER_HXX
11
#define INCLUDED_SVX_COMMONSTYLEMANAGER_HXX
12
13
#include <sfx2/StyleManager.hxx>
14
#include <svx/svxdllapi.h>
15
16
class SfxObjectShell;
17
18
namespace svx
19
{
20
21
class SVXCORE_DLLPUBLIC CommonStyleManager final : public sfx2::StyleManager
22
{
23
public:
24
    CommonStyleManager(SfxObjectShell& rShell)
25
94.3k
        : StyleManager(rShell)
26
94.3k
    {}
27
28
    virtual std::unique_ptr<sfx2::StylePreviewRenderer> CreateStylePreviewRenderer(
29
                                            OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,
30
                                            tools::Long nMaxHeight) override;
31
};
32
33
} // end namespace svx
34
35
#endif // INCLUDED_SVX_COMMONSTYLEMANAGER_HXX
36
37
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */