LibreOffice Module sc (master) 1
SparklineData.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 "address.hxx"
14#include "scdllapi.h"
15
16namespace sc
17{
20{
23
24 SparklineData(ScAddress const& rPosition, ScRange const& rData)
25 : maPosition(rPosition)
26 , maData(rData)
27 {
28 }
29};
30
32{
33 Unknown,
34 Row,
35 Col
36};
37
40 ScRange const& rInputRange);
41
42} // end sc
43
44/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
geometry::RealPoint2D maPosition
std::vector< sal_Int8, boost::noinit_adaptor< std::allocator< sal_Int8 > > > maData
const ContentProperties & rData
Unknown
CAUTION! The following defines must be in the same namespace as the respective type.
RangeOrientation
RangeOrientation calculateOrientation(sal_Int32 nOutputSize, ScRange const &rInputRange)
Determine the sparkline group orientation for the input data the output size.
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
Data defining a sparkline - input data and output position.
SparklineData(ScAddress const &rPosition, ScRange const &rData)