44class DataBrowserModel;
45class NumberFormatterWrapper;
51class SeriesHeaderEdit;
59 virtual bool SeekRow( sal_Int32 nRow )
override;
60 virtual bool IsTabAllowed(
bool bForward )
const override;
61 virtual ::svt::CellController*
GetController( sal_Int32 nRow, sal_uInt16 nCol )
override;
72 DataBrowser(
const css::uno::Reference<css::awt::XWindow> &rParent,
76 virtual void dispose()
override;
86 virtual OUString
GetCellText(sal_Int32 nRow, sal_uInt16 nColId)
const override;
91 double GetCellNumber( sal_Int32 nRow, sal_uInt16 nColumnId )
const;
93 bool isDateTimeString(
const OUString& aInputString,
double& fOutDateTimeValue );
96 virtual void Resize()
override;
virtual void MouseButtonDown(const MouseEvent &rEvt) override
void RemoveColumn(sal_uInt16 nColumnId)
weld::Container * m_pColorsWin
DECL_LINK(SeriesHeaderChanged, impl::SeriesHeaderEdit &, void)
virtual bool IsTabAllowed(bool bForward) const override
tSeriesHeaderContainer m_aSeriesHeaders
virtual ::svt::CellController * GetController(sal_Int32 nRow, sal_uInt16 nCol) override
::svt::CellControllerRef m_rTextEditController
note: m_aTextEditField must precede this member!
virtual bool SaveModified() override
virtual void CursorMoved() override
std::vector< std::shared_ptr< impl::SeriesHeader > > tSeriesHeaderContainer
bool MayMoveDownRows() const
DataBrowser(const css::uno::Reference< css::awt::XWindow > &rParent, weld::Container *pColumns, weld::Container *pColors)
double GetCellNumber(sal_Int32 nRow, sal_uInt16 nColumnId) const
returns the number in the given cell.
bool MayDeleteRow() const
sal_uInt32 GetNumberFormatKey(sal_uInt16 nCol) const
virtual void ColumnResized(sal_uInt16 nColId) override
weld::Container * m_pColumnsWin
::svt::CellControllerRef m_rNumberEditController
note: m_aNumberEditField must precede this member!
OUString GetColString(sal_Int32 nColumnId) const
void RenewSeriesHeaders()
bool CellContainsNumbers(sal_uInt16 nCol) const
bool MayMoveUpRows() const
bool MayMoveRightColumns() const
void SetCursorMovedHdl(const Link< DataBrowser *, void > &rLink)
bool MayDeleteColumn() const
virtual OUString GetCellText(sal_Int32 nRow, sal_uInt16 nColId) const override
GetCellText returns the text at the given position.
virtual void PaintCell(OutputDevice &rDev, const tools::Rectangle &rRect, sal_uInt16 nColumnId) const override
void ImplAdjustHeaderControls()
virtual void Resize() override
virtual bool SeekRow(sal_Int32 nRow) override
bool isDateTimeString(const OUString &aInputString, double &fOutDateTimeValue)
virtual void EndScroll() override
void SetReadOnly(bool bNewState)
DataBrowser(const DataBrowser &)=delete
virtual void MouseButtonDown(const BrowserMouseEvent &rEvt) override
bool IsEnableItem() const
sal_Int32 m_nSeekRow
the row that is currently painted
DECL_LINK(SeriesHeaderGotFocus, impl::SeriesHeaderEdit &, void)
Link< DataBrowser *, void > m_aCursorMovedHdlLink
virtual void InitController(::svt::CellControllerRef &rController, sal_Int32 nRow, sal_uInt16 nCol) override
std::shared_ptr< NumberFormatterWrapper > m_spNumberFormatterWrapper
virtual ~DataBrowser() override
std::unique_ptr< DataBrowserModel > m_apDataBrowserModel
bool MayMoveLeftColumns() const
VclPtr< svt::EditControl > m_aTextEditField
rtl::Reference<::chart::ChartModel > m_xChartDoc
virtual void dispose() override
bool EndEditing()
confirms all pending changes to be ready to be closed
void SetDataFromModel(const rtl::Reference<::chart::ChartModel > &xChartDoc)
virtual void CellModified() override
bool MayInsertColumn() const
bool MayInsertRow() const
VclPtr< svt::FormattedControl > m_aNumberEditField