ColInfo();
/// currently possible: 'l', 'c', 'r'
char align_;
- /// cache for drawing
- int h_offset;
/// cached width
mutable int width_;
/// cached offset
/// swap two columns
virtual void swapCol(col_type c);
///
- virtual void appendRow();
- ///
idx_type index(row_type r, col_type c) const;
///
bool idxBetween(idx_type idx, idx_type from, idx_type to) const;
virtual char defaultColAlign(col_type) { return 'c'; }
///
void setDefaults();
+ ///
+ virtual bool interpretString(Cursor & cur, docstring const & str);
///
virtual int colsep() const;
virtual docstring eocString(col_type col, col_type lastcol) const;
/// splits cells and shifts right part to the next cell
void splitCell(Cursor & cur);
+ /// Column aligmment for display of cell at (\p row, \p col).
+ /// Must not be written to file!
+ virtual char displayColAlign(col_type col, row_type) const { return colinfo_[col].align_; }
+
/// row info.
/// rowinfo_[nrows()] is a dummy row used only for hlines.