LibreOffice Module sc (master) 1
Classes | Enumerations | Functions
sc::tools Namespace Reference

Classes

class  ChartIterator
 

Enumerations

enum class  ChartSourceType {
  CELL_RANGE ,
  PIVOT_TABLE
}
 

Functions

SdrOle2ObjfindChartsByName (ScDocShell *pDocShell, SCTAB nTab, std::u16string_view rName, ChartSourceType eChartSourceType)
 
SdrOle2ObjgetChartByIndex (ScDocShell *pDocShell, SCTAB nTab, ::tools::Long nIndex, ChartSourceType eChartSourceType)
 
std::vector< SdrOle2Obj * > getAllPivotChartsConnectedTo (std::u16string_view sPivotTableName, ScDocShell *pDocShell)
 

Enumeration Type Documentation

◆ ChartSourceType

enum class sc::tools::ChartSourceType
strong
Enumerator
CELL_RANGE 
PIVOT_TABLE 

Definition at line 27 of file ChartTools.hxx.

Function Documentation

◆ findChartsByName()

SdrOle2Obj * sc::tools::findChartsByName ( ScDocShell pDocShell,
SCTAB  nTab,
std::u16string_view  rName,
ChartSourceType  eChartSourceType 
)

◆ getAllPivotChartsConnectedTo()

std::vector< SdrOle2Obj * > sc::tools::getAllPivotChartsConnectedTo ( std::u16string_view  sPivotTableName,
ScDocShell pDocShell 
)

◆ getChartByIndex()

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().