Resolves: tdf#162278 get popup position relative to the dest parent
[LibreOffice.git] / sc / inc / SparklineGroup.hxx
blob217701733c807088bd491c074ca53d4067f4b2c9
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 */
11 #pragma once
13 #include "scdllapi.h"
14 #include "SparklineAttributes.hxx"
15 #include <tools/Guid.hxx>
17 namespace sc
19 /** Common properties for a group of sparklines */
20 class SC_DLLPUBLIC SparklineGroup
22 private:
23 SparklineAttributes m_aAttributes;
24 tools::Guid m_aGUID;
26 public:
27 SparklineAttributes& getAttributes() { return m_aAttributes; }
28 SparklineAttributes const& getAttributes() const { return m_aAttributes; }
30 void setAttributes(SparklineAttributes const& rAttributes) { m_aAttributes = rAttributes; };
32 tools::Guid& getID() { return m_aGUID; }
34 void setID(tools::Guid const& rGuid) { m_aGUID = rGuid; }
36 SparklineGroup();
37 SparklineGroup(SparklineGroup const& pOtherSparkline);
38 SparklineGroup(SparklineAttributes aSparklineAttributes);
40 SparklineGroup& operator=(const SparklineGroup&) = delete;
43 } // end sc
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */