24#include <rtl/ustring.hxx>
28namespace com :: sun :: star ::
uno {
class Any; }
95 bool _bIsColHeaderArea,
bool _bIsRowHeaderArea,
191 bool i_hasControlFocus,
bool _bSelected,
222 css::uno::Any
const & i_cellContent,
236 css::uno::Any
const & i_cellValue,
237 OUString & o_cellString
interface to implement by components rendering a ->TableControl
virtual void PrepareRow(RowPos _nRow, bool i_hasControlFocus, bool _bSelected, vcl::RenderContext &_rDevice, const tools::Rectangle &_rRowArea, const StyleSettings &_rStyle)=0
prepares a row for painting
virtual void ShowCellCursor(vcl::Window &_rView, const tools::Rectangle &_rCursorRect)=0
draws a cell cursor in the given rectangle
virtual void PaintHeaderArea(vcl::RenderContext &_rDevice, const tools::Rectangle &_rArea, bool _bIsColHeaderArea, bool _bIsRowHeaderArea, const StyleSettings &_rStyle)=0
paints a (part of) header area
virtual void PaintRowHeader(vcl::RenderContext &_rDevice, tools::Rectangle const &_rArea, StyleSettings const &_rStyle)=0
paints the header of a row
virtual void PaintColumnHeader(ColPos _nCol, vcl::RenderContext &_rDevice, const tools::Rectangle &_rArea, const StyleSettings &_rStyle)=0
paints the header for a given column
virtual ~ITableRenderer()
deletes the renderer instance
virtual bool FitsIntoCell(css::uno::Any const &i_cellContent, OutputDevice &i_targetDevice, tools::Rectangle const &i_targetArea) const =0
checks whether a given cell content fits into a given target area on a given device.
virtual bool GetFormattedCellString(css::uno::Any const &i_cellValue, OUString &o_cellString) const =0
attempts to format the content of the given cell as string
virtual void HideCellCursor(vcl::Window &_rView)=0
hides the cell cursor previously drawn into the given rectangle
virtual void PaintCell(ColPos const i_col, bool i_hasControlFocus, bool _bSelected, vcl::RenderContext &_rDevice, const tools::Rectangle &_rArea, const StyleSettings &_rStyle)=0
paints a certain cell
sal_Int32 RowPos
a value denoting a row position within a table
std::shared_ptr< ITableRenderer > PTableRenderer
sal_Int32 ColPos
a value denoting a column position within a table
OutputDevice RenderContext