X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTabular.h;h=605815aa034b16a3885fd9c8df0039191d2ac833;hb=22e6659780390a19174d1bf896317a5baf9e40d7;hp=a491a3b21d254ce383679dc49fcf64cfff3cc1d3;hpb=2306fca65961f2b25eb8c86ae0c8824582f74cc2;p=lyx.git diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index a491a3b21d..605815aa03 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -71,7 +71,7 @@ public: docstring xhtml(XHTMLStream &, OutputParams const &) const; /// void addToToc(DocIterator const & di, bool output_active, - UpdateType utype) const; + UpdateType utype, TocBackend & backend) const; private: /// unimplemented InsetTableCell(); @@ -339,7 +339,9 @@ public: /// BOX_PARBOX = 1, /// - BOX_MINIPAGE = 2 + BOX_MINIPAGE = 2, + /// + BOX_VARWIDTH = 3 }; enum CaptionType { @@ -959,7 +961,7 @@ public: void updateBuffer(ParIterator const &, UpdateType); /// void addToToc(DocIterator const & di, bool output_active, - UpdateType utype) const; + UpdateType utype, TocBackend & backend) const; /// bool completionSupported(Cursor const &) const; @@ -981,6 +983,9 @@ public: void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const; /// virtual bool usePlainLayout() const { return true; } + /// + docstring layoutName() const { return from_ascii("Tabular"); } + /// InsetTabular * asInsetTabular() { return this; } @@ -1054,10 +1059,11 @@ private: /// return the cell nearest to x, y idx_type getNearestCell(BufferView &, int x, int y) const; - /// test the rotation state of the give cell range. + /// test the rotation state of the given cell range. bool oneCellHasRotationState(bool rotated, row_type row_start, row_type row_end, col_type col_start, col_type col_end) const; + /// true when selecting rows with the mouse bool rowselect_; /// true when selecting columns with the mouse