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
15 #include <svx/svdoole2.hxx>
16 #include <svx/svditer.hxx>
19 #include "drwlayer.hxx"
24 enum class ChartSourceType
33 std::unique_ptr
<SdrObjListIter
> m_pIterator
;
34 ChartSourceType m_eChartSourceType
;
36 ChartIterator(ScDocShell
* pDocShell
, SCTAB nTab
, ChartSourceType eChartSourceType
);
40 SdrOle2Obj
* findChartsByName(ScDocShell
* pDocShell
, SCTAB nTab
,
41 OUString
const & rName
,
42 ChartSourceType eChartSourceType
);
44 SdrOle2Obj
* getChartByIndex(ScDocShell
* pDocShell
, SCTAB nTab
,
45 long nIndex
, ChartSourceType eChartSourceType
);
47 std::vector
<SdrOle2Obj
*> getAllPivotChartsConntectedTo(OUString
const & sPivotTableName
, ScDocShell
* pDocShell
);
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */