LibreOffice Module sc (master) 1
|
Classes | |
class | ChartIterator |
Enumerations | |
enum class | ChartSourceType { CELL_RANGE , PIVOT_TABLE } |
Functions | |
SdrOle2Obj * | findChartsByName (ScDocShell *pDocShell, SCTAB nTab, std::u16string_view rName, ChartSourceType eChartSourceType) |
SdrOle2Obj * | getChartByIndex (ScDocShell *pDocShell, SCTAB nTab, ::tools::Long nIndex, ChartSourceType eChartSourceType) |
std::vector< SdrOle2Obj * > | getAllPivotChartsConnectedTo (std::u16string_view sPivotTableName, ScDocShell *pDocShell) |
|
strong |
Enumerator | |
---|---|
CELL_RANGE | |
PIVOT_TABLE |
Definition at line 27 of file ChartTools.hxx.
SdrOle2Obj * sc::tools::findChartsByName | ( | ScDocShell * | pDocShell, |
SCTAB | nTab, | ||
std::u16string_view | rName, | ||
ChartSourceType | eChartSourceType | ||
) |
Definition at line 98 of file ChartTools.cxx.
References SfxObjectShell::GetEmbeddedObjectContainer(), comphelper::EmbeddedObjectContainer::GetEmbeddedObjectName(), sc::tools::ChartIterator::next(), and pObject.
Referenced by sc::TablePivotCharts::getByName(), ScChartObj::getEmbeddedObject(), sc::TablePivotChart::getEmbeddedObject(), ScChartsObj::GetObjectByName_Impl(), sc::TablePivotChart::getPivotTableName(), ScChartsObj::hasByName(), sc::TablePivotCharts::hasByName(), ScChartsObj::removeByName(), and sc::TablePivotCharts::removeByName().
std::vector< SdrOle2Obj * > sc::tools::getAllPivotChartsConnectedTo | ( | std::u16string_view | sPivotTableName, |
ScDocShell * | pDocShell | ||
) |
Definition at line 142 of file ChartTools.cxx.
References ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), SdrModel::GetPage(), SdrModel::GetPageCount(), sc::tools::ChartIterator::next(), PIVOT_TABLE, and pObject.
Referenced by ScDBDocFunc::RemovePivotTable().
SdrOle2Obj * sc::tools::getChartByIndex | ( | ScDocShell * | pDocShell, |
SCTAB | nTab, | ||
::tools::Long | nIndex, | ||
ChartSourceType | eChartSourceType | ||
) |
Definition at line 120 of file ChartTools.cxx.
References i, sc::tools::ChartIterator::next(), nIndex, and pObject.
Referenced by sc::TablePivotCharts::getByIndex().