isMultiColumn(false), isMultiRow(false), contentAlign(LYX_ALIGN_CENTER)
{}
-InsetTableCell::InsetTableCell(InsetTableCell const & in) : InsetText(in)
-{
- isFixedWidth = in.isFixedWidth;
- isMultiColumn = in.isMultiColumn;
- isMultiRow = in.isMultiRow;
- contentAlign = in.contentAlign;
-}
-
bool InsetTableCell::forcePlainLayout(idx_type) const
{
return isMultiRow || (isMultiColumn && !isFixedWidth);
///
explicit InsetTableCell(Buffer * buf);
/// We need this since generation of the default is deprecated
- /// (since we declare the assignment constucture below).
- /// Please make sure to adjust it if you add members!
- InsetTableCell(InsetTableCell const &);
+ /// (since we declare the assignment constuctor below).
+ InsetTableCell(InsetTableCell const & in) = default;
///
InsetCode lyxCode() const override { return CELL_CODE; }
///
// be quite slow.
// So, well, if someone can do better, please do!
// --rkh
- //
- // NOTE: Make sure to adapt the construcors (especially the copy
- // constructor) if you add members!
///
bool isFixedWidth;
///