1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
13 #include <string_view>
16 #include <svx/svditer.hxx>
17 #include <tools/long.hxx>
26 enum class ChartSourceType
35 std::optional
<SdrObjListIter
> m_oIterator
;
36 ChartSourceType m_eChartSourceType
;
38 ChartIterator(ScDocShell
* pDocShell
, SCTAB nTab
, ChartSourceType eChartSourceType
);
42 SdrOle2Obj
* findChartsByName(ScDocShell
* pDocShell
, SCTAB nTab
,
43 std::u16string_view rName
,
44 ChartSourceType eChartSourceType
);
46 SdrOle2Obj
* getChartByIndex(ScDocShell
* pDocShell
, SCTAB nTab
,
47 ::tools::Long nIndex
, ChartSourceType eChartSourceType
);
49 std::vector
<SdrOle2Obj
*> getAllPivotChartsConnectedTo(std::u16string_view sPivotTableName
, ScDocShell
* pDocShell
);
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */