unsigned int lines_;
/// additional amount to be skipped when drawing
int skip_;
+ /// Special alignment.
+ /// This does also contain align_ and lines_ if it is nonempty.
+ /// It needs to be in sync with align_ and lines_ because some
+ /// code only uses align_ and lines_.
+ docstring special_;
};
public:
///
InsetMathGrid(col_type m, row_type n, char valign, docstring const & halign);
///
- void metrics(MetricsInfo & mi) const;
- ///
- bool metrics(MetricsInfo & mi, Dimension &) const;
+ void metrics(MetricsInfo & mi, Dimension &) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
bool getStatus(Cursor & cur, FuncRequest const & cmd,
FuncStatus & flag) const;
/// returns x offset of cell compared to inset
- int cellXOffset(idx_type idx) const;
+ int cellXOffset(BufferView const &, idx_type idx) const;
/// returns y offset of cell compared to inset
int cellYOffset(idx_type idx) const;
/// returns proper 'end of line' code for LaTeX
///
char v_align_; // add approp. type
private:
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
};