X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTabular.h;h=067141edd12c74c1fbf8fa9d8aca05d49b5321c6;hb=9176e60b7bcab3e355521a86ddb4c2778cd9b29e;hp=65cc2ae2e1d118999afa4ae5d07cd0af27b0dbdf;hpb=912704511b8c0fd443ab583c59ddfb6c34bc340d;p=lyx.git diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 65cc2ae2e1..067141edd1 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -537,7 +537,7 @@ public: /// void appendRow(row_type row); /// - void deleteRow(row_type row); + void deleteRow(row_type row, bool const force = false); /// void copyRow(row_type row); /// @@ -549,15 +549,19 @@ public: /// void appendColumn(col_type column); /// - void deleteColumn(col_type column); + void deleteColumn(col_type column, bool const force = false); /// void copyColumn(col_type column); /// void insertColumn(col_type column, bool copy); /// - idx_type getFirstCellInRow(row_type row) const; + idx_type getFirstCellInRow(row_type row, bool const ct = false) const; /// - idx_type getLastCellInRow(row_type row) const; + idx_type getLastCellInRow(row_type row, bool const ct = false) const; + /// + idx_type getFirstRow(bool const ct = false) const; + /// + idx_type getLastRow(bool const ct = false) const; /// idx_type numberOfCellsInRow(row_type row) const; /// @@ -785,6 +789,8 @@ public: bool newpage; /// caption bool caption; + /// + Change change; }; /// typedef std::vector row_vector; @@ -808,6 +814,8 @@ public: docstring decimal_point; /// bool varwidth; + /// + Change change; }; /// typedef std::vector column_vector; @@ -865,21 +873,24 @@ public: /// // helper function for Latex /// - void TeXTopHLine(otexstream &, row_type row, std::list) const; + void TeXTopHLine(otexstream &, row_type row, std::list, + std::list) const; /// - void TeXBottomHLine(otexstream &, row_type row, std::list) const; + void TeXBottomHLine(otexstream &, row_type row, std::list, + std::list) const; /// void TeXCellPreamble(otexstream &, idx_type cell, bool & ismulticol, bool & ismultirow, bool const bidi) const; /// void TeXCellPostamble(otexstream &, idx_type cell, bool ismulticol, bool ismultirow) const; /// - void TeXLongtableHeaderFooter(otexstream &, OutputParams const &, std::list) const; + void TeXLongtableHeaderFooter(otexstream &, OutputParams const &, std::list, + std::list) const; /// bool isValidRow(row_type const row) const; /// void TeXRow(otexstream &, row_type const row, - OutputParams const &, std::list) const; + OutputParams const &, std::list, std::list) const; /// // helper functions for plain text /// @@ -996,6 +1007,8 @@ public: /// Text * getText(int) const; + /// does the inset contain changes ? + bool isChanged() const; /// set the change for the entire inset void setChange(Change const & change); /// accept the changes within the inset