Coverage Report

Created: 2025-11-16 09:57

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/sc/inc/SparklineGroup.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
11
#pragma once
12
13
#include "scdllapi.h"
14
#include "SparklineAttributes.hxx"
15
#include <tools/Guid.hxx>
16
17
namespace sc
18
{
19
/** Common properties for a group of sparklines */
20
class SC_DLLPUBLIC SparklineGroup
21
{
22
private:
23
    SparklineAttributes m_aAttributes;
24
    tools::Guid m_aGUID;
25
26
public:
27
18
    SparklineAttributes& getAttributes() { return m_aAttributes; }
28
0
    SparklineAttributes const& getAttributes() const { return m_aAttributes; }
29
30
0
    void setAttributes(SparklineAttributes const& rAttributes) { m_aAttributes = rAttributes; };
31
32
0
    tools::Guid& getID() { return m_aGUID; }
33
34
2
    void setID(tools::Guid const& rGuid) { m_aGUID = rGuid; }
35
36
    SparklineGroup();
37
    SparklineGroup(SparklineGroup const& pOtherSparkline);
38
    SparklineGroup(SparklineAttributes aSparklineAttributes);
39
40
    SparklineGroup& operator=(const SparklineGroup&) = delete;
41
};
42
43
} // end sc
44
45
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */