LibreOffice Module sc (master) 1
SparklineGroup.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 */
10
11#pragma once
12
13#include "scdllapi.h"
15#include <tools/color.hxx>
16#include <tools/Guid.hxx>
17#include <optional>
18
19namespace sc
20{
23{
24private:
27
28public:
29 SparklineAttributes& getAttributes() { return m_aAttributes; }
30 SparklineAttributes const& getAttributes() const { return m_aAttributes; }
31
32 void setAttributes(SparklineAttributes const& rAttributes) { m_aAttributes = rAttributes; };
33
34 tools::Guid& getID() { return m_aGUID; }
35
36 void setID(tools::Guid const& rGuid) { m_aGUID = rGuid; }
37
39 SparklineGroup(SparklineGroup const& pOtherSparkline);
40 SparklineGroup(SparklineAttributes aSparklineAttributes);
41
43};
44
45} // end sc
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Common properties for a group of sparklines.
Common properties for a group of sparklines.
void setAttributes(SparklineAttributes const &rAttributes)
void setID(tools::Guid const &rGuid)
tools::Guid & getID()
SparklineAttributes m_aAttributes
SparklineGroup & operator=(const SparklineGroup &)=delete
SparklineAttributes & getAttributes()
SparklineAttributes const & getAttributes() const
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15
#define SC_DLLPUBLIC
Definition: scdllapi.h:27