namespace com::sun::star::chart2 { class XDataSeries;
}
namespace chart
{
class DialogModel; class ChartModel;
class DataBrowserModel final
{ public: explicit DataBrowserModel( const rtl::Reference<::chart::ChartModel> & xChartDoc );
~DataBrowserModel();
/** Inserts a new data series after the data series to which the data column withindexnAfterColumnIndexbelongs.
*/ void insertDataSeries( sal_Int32 nAfterColumnIndex );
/** Inserts a new text column for complex categories.
*/ void insertComplexCategoryLevel( sal_Int32 nAfterColumnIndex );
/** Removes a data series to which the data column with index nAtColumnIndex belongs.
*/ void removeDataSeriesOrComplexCategoryLevel( sal_Int32 nAtColumnIndex );
/** Swaps the series to which the data column with index nFirstIndex belongs withthenextseries(whichstartsatanindex>=nFirstIndex+1)
*/ void swapDataSeries( sal_Int32 nFirstIndex ); void swapDataPointForAllSeries( sal_Int32 nFirstIndex );
eCellType getCellType( sal_Int32 nAtColumn ) const; /// If getCellType( nAtColumn, nAtRow ) returns TEXT, the result will be Nan double getCellNumber( sal_Int32 nAtColumn, sal_Int32 nAtRow );
OUString getCellText( sal_Int32 nAtColumn, sal_Int32 nAtRow );
css::uno::Any getCellAny( sal_Int32 nAtColumn, sal_Int32 nAtRow );
sal_uInt32 getNumberFormatKey( sal_Int32 nAtColumn );
/// returns </sal_True> if the number could successfully be set at the given position bool setCellNumber( sal_Int32 nAtColumn, sal_Int32 nAtRow, double fValue ); /// returns </sal_True> if the text could successfully be set at the given position bool setCellText( sal_Int32 nAtColumn, sal_Int32 nAtRow, const OUString & rText ); bool setCellAny( sal_Int32 nAtColumn, sal_Int32 nAtRow, const css::uno::Any & aValue );
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.