Coverage Report

Created: 2026-06-30 11:14

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/docmodel/uno/UnoChartStyle.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
#pragma once
11
12
#include <config_options.h>
13
#include <cppuhelper/implbase.hxx>
14
15
#include <com/sun/star/chart2/XChartStyle.hpp>
16
17
#include <docmodel/dllapi.h>
18
#include <docmodel/styles/ChartStyle.hxx>
19
20
class UNLESS_MERGELIBS(DOCMODEL_DLLPUBLIC) UnoChartStyle final
21
    : public cppu::WeakImplHelper<css::chart2::XChartStyle>
22
#if 0 // TODO
23
   ,public css::util::XModifyListener       // I think this is needed
24
   ,public css::util::XModifyBroadcaster    // I think this is needed
25
#endif
26
27
{
28
private:
29
    model::StyleSet maStyle;
30
31
public:
32
0
    UnoChartStyle() = default;
33
34
0
    model::StyleSet& getChartStyle() { return maStyle; }
35
36
    // XChartStyle
37
};
38
39
namespace model::style
40
{
41
DOCMODEL_DLLPUBLIC model::StyleSet*
42
getFromXChartStyle(css::uno::Reference<css::chart2::XChartStyle> const& rxStyle);
43
}
44
45
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */