///
void toggleMultiRow(bool m) { isMultiRow = m; }
///
- void setContentAlignment(LyXAlignment al) {contentAlign = al; }
+ void setContentAlignment(LyXAlignment al) { contentAlign = al; }
/// writes the contents of the cell as a string, optionally
/// descending into insets
docstring asString(bool intoInsets = true);
bool allowMultiPar() const override { return !isMultiRow && (!isMultiColumn || isFixedWidth); }
///
bool canPaintChange(BufferView const &) const override { return false; }
+ /// This assures we never output \maketitle in table cells
+ bool isInTitle() const override { return true; }
private:
///
InsetTableCell() = delete;
bool canTrackChanges() const override { return true; }
///
bool canPaintChange(BufferView const &) const override { return true; }
- /** returns false if, when outputting LaTeX, font changes should
- be closed before generating this inset. This is needed for
- insets that may contain several paragraphs */
+ ///
bool inheritFont() const override { return false; }
///
bool allowMultiPar() const override;
//
bool isTable() const override { return true; }
///
- RowFlags rowFlags() const override;
+ int rowFlags() const override;
///
void latex(otexstream &, OutputParams const &) const override;
///