/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * */ #pragma once #include "scdllapi.h" #include "rangelst.hxx" #include #include namespace sc { class SparklineGroup; /** Sparkline data, used for rendering the content of a cell * * Contains the input range of the data that is being drawn and a reference * to the SparklineGroup, which includes common properties of multiple * sparklines. */ class SC_DLLPUBLIC Sparkline { SCCOL m_nColumn; SCROW m_nRow; ScRangeList m_aInputRange; std::shared_ptr m_pSparklineGroup; public: Sparkline(SCCOL nColumn, SCROW nRow, std::shared_ptr pSparklineGroup) : m_nColumn(nColumn) , m_nRow(nRow) , m_pSparklineGroup(std::move(pSparklineGroup)) { } Sparkline(const Sparkline&) = delete; Sparkline& operator=(const Sparkline&) = delete; void setInputRange(ScRangeList const& rInputRange) { m_aInputRange = rInputRange; } ScRangeList const& getInputRange() const { return m_aInputRange; } std::shared_ptr const& getSparklineGroup() const { return m_pSparklineGroup; } SCCOL getColumn() const { return m_nColumn; } SCROW getRow() const { return m_nRow; } }; } // end sc /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -4'>distro/cib/libreoffice-5-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-05-27Related tdf#158839: pw and GPG encryption, add comments and TODOsMoritz Duge
2024-05-07lok: reseed comphelper's random number generator on fork.Michael Meeks
2024-04-30loplugin:ostr in comphelperNoel Grandin
2024-04-30Drop some uses of css::uno::Sequence::getConstArray ...Mike Kaganski
2024-04-22loplugin:constantparamNoel Grandin
2024-04-04loplugin:unusedmethodsNoel Grandin
2024-03-28convert OXSDDataType to comphelper::WeakImplHelperBaseNoel Grandin
2024-03-28Add comphelper::WeakImplHelperBaseNoel Grandin
2024-03-28lok: add isForkedChild method.Michael Meeks
2024-03-27convert OCellListSource to comphelper::WeakComponentImplHelperNoel Grandin
2024-03-26convert ODatabaseMetaDataResultSet to comphelper::WeakComponentImplHelperNoel Grandin
2024-03-26loplugin:finalmethodsNoel Grandin
2024-03-25tdf#157665 Use <=> operator for errcode and strong_intRMZeroFour
2024-03-13reduce symbol visibility in --enable-mergelibs=more modeNoel Grandin
2024-03-08use more string_viewNoel Grandin
2024-03-02add UNLESS_MERGELIBS_MORE and use to reduce symbol visibilityNoel Grandin
2024-02-14lok: implement a joinThreads function - to wind down thread pools.Michael Meeks
2024-02-14fix windows UNLESS_MERGELIBSAttila Szűcs
2024-02-13fix windows --enable-mergelibs buildNoel Grandin
2024-02-12use more UNLESS_MERGELIBSNoel Grandin
2024-02-08tdf#157042: Revert "re-apply "optimize ConfigurationProperty::get()""Xisco Fauli
2024-01-17Add back XComponentContext to officecfg::...::get() callsStephan Bergmann
2024-01-17Add ConfigurationGroup/Set::isReadOnlyStephan Bergmann
2024-01-16improve loplugin:cow_wrapperNoel Grandin
2024-01-16crashtesting: still seeing occasional impl_notifyEvent_nothrow failuresCaolán McNamara
2023-12-30move IsFuzzing to comphelperCaolán McNamara
2023-12-24tdf#146619 Recheck include/ with find-unneeded-includes --noexcludeGabor Kelemen
2023-12-24OInterfaceIteratorHelper3 always copies maData contents in ctorCaolán McNamara
2023-12-21allow passing if deep detection is wantedCaolán McNamara
2023-12-20tdf#158375: disable DDE when DisableActiveContent is setSarper Akdemir
2023-12-10cid#1546281 COPY_INSTEAD_OF_MOVECaolán McNamara
2023-11-23tdf#158321 No error message when file doesn't existNoel Grandin
2023-11-16comphelper: use c++20 contains() instead of find() and end()Miklos Vajna
2023-11-10tdf#158007 - UI: Part 23 - Unify lockdown behavior of Options dialogBalazs Varga
2023-10-31Update an URLMike Kaganski
2023-10-24tdf#155040 sw floattable, RTF: fix table is overlapped by subsequent inline oneMiklos Vajna
2023-10-23Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]StringStephan Bergmann
2023-10-13Follow-up on "Make sure __cpp_lib_source_location is consistently defined"Stephan Bergmann
2023-10-13Make sure __cpp_lib_source_location is consistently definedStephan Bergmann
2023-10-12use std::source_location instead of std::experimental::source_locationNoel Grandin
2023-10-11Drop o3tl::span, can use C++20 std::span directly nowStephan Bergmann