14#include <com/sun/star/awt/Rectangle.hpp>
15#include <com/sun/star/table/XTable.hpp>
16#include <com/sun/star/uno/XComponentContext.hpp>
24class LegendEntryProvider;
42 css::uno::Reference<css::table::XTable>
m_xTable;
63 void setCellProperties(css::uno::Reference<css::beans::XPropertySet>& xPropertySet,
bool bLeft,
64 bool bTop,
bool bRight,
bool bBottom);
69 css::uno::Reference<css::uno::XComponentContext>
const& rComponentContext,
70 bool bAlignAxisValuesWithColumns);
76 void initializeValues(std::vector<std::unique_ptr<VSeriesPlotter>>& rSeriesPlotterList);
80 sal_Int32 nAxisStepWidth);
DataTableView is responsible to create the table object, set the cell properties accordingly to the m...
rtl::Reference< DataTable > m_xDataTableModel
void setCellProperties(css::uno::Reference< css::beans::XPropertySet > &xPropertySet, bool bLeft, bool bTop, bool bRight, bool bBottom)
Set the common cell properties (for all cells in the data table, including headers)
rtl::Reference< SvxTableShape > m_xTableShape
void initializeShapes(const rtl::Reference< SvxShapeGroupAnyD > &xTarget)
Initializes and prepares the target and data table shape.
void changePosition(sal_Int32 x, sal_Int32 y)
Repositions the data table shape.
std::vector< VSeriesPlotter * > m_pSeriesPlotterList
VLineProperties m_aLineProperties
css::uno::Reference< css::uno::XComponentContext > m_xComponentContext
rtl::Reference< SvxShapeGroupAnyD > m_xTarget
void setCellCharAndParagraphProperties(css::uno::Reference< css::beans::XPropertySet > &xPropertySet)
Set the char and paragraph properties for the input (value) cell.
rtl::Reference<::chart::ChartModel > m_xChartModel
DataTableView(rtl::Reference<::chart::ChartModel > const &xChartDoc, rtl::Reference< DataTable > const &rDataTableModel, css::uno::Reference< css::uno::XComponentContext > const &rComponentContext, bool bAlignAxisValuesWithColumns)
std::vector< OUString > m_aXValues
css::uno::Reference< css::table::XTable > m_xTable
void createShapes(basegfx::B2DVector const &rStart, basegfx::B2DVector const &rEnd, sal_Int32 nAxisStepWidth)
Creates the data table and fills the values.
std::vector< OUString > m_aDataSeriesNames
bool m_bAlignAxisValuesWithColumns
void initializeValues(std::vector< std::unique_ptr< VSeriesPlotter > > &rSeriesPlotterList)
Prepares the values of the chart, which will be shown it the data table.
std::vector< std::vector< OUString > > m_pDataSeriesValues