namespace chart
{ class VSeriesPlotter; class ChartModel; class LegendEntryProvider;
/** *DataTableViewisresponsibletocreatethetableobject,setthecell *propertiesaccordinglytothemodelandfillitwiththechartseries *data.
*/ class DataTableView final
{ private:
rtl::Reference<::chart::ChartModel> m_xChartModel; // the target shape
rtl::Reference<SvxShapeGroupAnyD> m_xTarget; // the data table shape
rtl::Reference<SvxTableShape> m_xTableShape; // the data table model
rtl::Reference<DataTable> m_xDataTableModel;
css::uno::Reference<css::uno::XComponentContext> m_xComponentContext;
css::uno::Reference<css::table::XTable> m_xTable;
VLineProperties m_aLineProperties;
std::vector<VSeriesPlotter*> m_pSeriesPlotterList;
// data series names
std::vector<OUString> m_aDataSeriesNames; // X axis names
std::vector<OUString> m_aXValues; // list of data series values
std::vector<std::vector<OUString>> m_pDataSeriesValues;
// if the header vales should be aligned with the x-axis vales bool m_bAlignAxisValuesWithColumns;
/** Set the char and paragraph properties for the input (value) cell */ void setCellCharAndParagraphProperties( const css::uno::Reference<css::beans::XPropertySet>& xPropertySet);
/** Set the common cell properties (for all cells in the data table, *includingheaders)
*/ void setCellProperties(const css::uno::Reference<css::beans::XPropertySet>& xPropertySet, bool bLeft, bool bTop, bool bRight, bool bBottom);
/** Initializes and prepares the target and data table shape */ void initializeShapes(const rtl::Reference<SvxShapeGroupAnyD>& xTarget);
/** Prepares the values of the chart, which will be shown it the data table */ void initializeValues(std::vector<std::unique_ptr<VSeriesPlotter>>& rSeriesPlotterList);
/** Creates the data table and fills the values */ void createShapes(basegfx::B2DVector const& rStart, basegfx::B2DVector const& rEnd,
sal_Int32 nAxisStepWidth);
/** Repositions the data table shape */ void changePosition(sal_Int32 x, sal_Int32 y);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.