LibreOffice Module sc (master) 1
SparklineGroupsExport.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 <memory>
14#include <unordered_map>
15#include <tools/color.hxx>
16#include <xmloff/xmltoken.hxx>
17
18#include <Sparkline.hxx>
19#include <SparklineGroup.hxx>
20
21class ScXMLExport;
22
23namespace sc
24{
27{
30
32 void addSparklineGroup(std::shared_ptr<SparklineGroup> const& pSparklineGroup,
33 std::vector<std::shared_ptr<Sparkline>> const& rSparklines);
34 void addSparklineAttributes(Sparkline const& rSparkline);
35
37 void insertBool(bool bValue, xmloff::token::XMLTokenEnum eToken);
38
39public:
40 SparklineGroupsExport(ScXMLExport& rExport, SCTAB nTable);
41
42 void write();
43};
44}
45
46/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Common properties for a group of sparklines.
Handle the export of sparkline groups and sparklines.
void addSparklineGroupAttributes(sc::SparklineAttributes const &rAttributes)
SparklineGroupsExport(ScXMLExport &rExport, SCTAB nTable)
void addSparklineAttributes(Sparkline const &rSparkline)
void insertBool(bool bValue, xmloff::token::XMLTokenEnum eToken)
void insertColor(Color aColor, xmloff::token::XMLTokenEnum eToken)
void addSparklineGroup(std::shared_ptr< SparklineGroup > const &pSparklineGroup, std::vector< std::shared_ptr< Sparkline > > const &rSparklines)
Sparkline data, used for rendering the content of a cell.
Definition: Sparkline.hxx:29
CAUTION! The following defines must be in the same namespace as the respective type.
sal_Int16 SCTAB
Definition: types.hxx:22