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/.
11 #ifndef INCLUDED_SC_INC_CHARTTOOLS_HXX
12 #define INCLUDED_SC_INC_CHARTTOOLS_HXX
17 #include <svx/svditer.hxx>
18 #include <rtl/ustring.hxx>
28 enum class ChartSourceType
37 std::unique_ptr
<SdrObjListIter
> m_pIterator
;
38 ChartSourceType
const m_eChartSourceType
;
40 ChartIterator(ScDocShell
* pDocShell
, SCTAB nTab
, ChartSourceType eChartSourceType
);
44 SdrOle2Obj
* findChartsByName(ScDocShell
* pDocShell
, SCTAB nTab
,
45 OUString
const & rName
,
46 ChartSourceType eChartSourceType
);
48 SdrOle2Obj
* getChartByIndex(ScDocShell
* pDocShell
, SCTAB nTab
,
49 long nIndex
, ChartSourceType eChartSourceType
);
51 std::vector
<SdrOle2Obj
*> getAllPivotChartsConntectedTo(OUString
const & sPivotTableName
, ScDocShell
* pDocShell
);
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */