X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTabular.h;h=bdd21aff4e91c54758ead126e95db3bdbb8f561b;hb=c59375d67915077a2dbf7e8bb29768dc379fb797;hp=9e0c41e9a7e4a5fbcedd14540e2280be659949e6;hpb=097ab41c49d6f8c6e4d2519663e118a3f2667b4f;p=lyx.git diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 9e0c41e9a7..bdd21aff4e 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(); @@ -756,7 +756,7 @@ public: /// column_vector column_info; /// - mutable cell_vvector cell_info; + cell_vvector cell_info; /// Length tabular_width; /// @@ -959,7 +959,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 +981,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 +1057,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