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>
17 #include <svx/svditer.hxx>
18 #include <tools/long.hxx>
27 enum class ChartSourceType
36 std::optional
<SdrObjListIter
> m_oIterator
;
37 ChartSourceType m_eChartSourceType
;
39 ChartIterator(ScDocShell
* pDocShell
, SCTAB nTab
, ChartSourceType eChartSourceType
);
43 SdrOle2Obj
* findChartsByName(ScDocShell
* pDocShell
, SCTAB nTab
,
44 std::u16string_view rName
,
45 ChartSourceType eChartSourceType
);
47 SdrOle2Obj
* getChartByIndex(ScDocShell
* pDocShell
, SCTAB nTab
,
48 ::tools::Long nIndex
, ChartSourceType eChartSourceType
);
50 std::vector
<SdrOle2Obj
*> getAllPivotChartsConnectedTo(std::u16string_view sPivotTableName
, ScDocShell
* pDocShell
);
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */