X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTabular.h;h=5602984b3339be79d73199034f71ebdb36436489;hb=8124e6c02ea1fd6779bb6c47ffe2bca2c8bd2d97;hp=fcf4c2100f7d07d3dc914eaeb5d39dadf8e7f3f8;hpb=8508c3fe04aa40bef4cc5099bda21a1c48e193cf;p=lyx.git diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index fcf4c2100f..5602984b33 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -919,6 +919,8 @@ public: /// BoxType useBox(idx_type cell) const; /// + bool hasNewlines(idx_type cell) const; + /// bool isValidRow(row_type const row) const; /// void TeXRow(otexstream &, row_type const row, @@ -943,9 +945,13 @@ private: DOCBOOK = false }; - /// Transforms the vertical alignment of the given cell as a prebaked XML attribute (for HTML and CALS). - std::string getHAlignAsXmlAttribute(idx_type cell, XmlOutputFormat output_format) const; - /// Transforms the vertical alignment of the given cell as a prebaked XML attribute (for HTML and CALS). + /// Transforms the vertical alignment of the given cell as prebaked CSS (for HTML tables in HTML output). + std::string getHAlignAsXmlAttribute(idx_type cell) const; + /// Transforms the vertical alignment of the given cell as a prebaked XML attribute (for CALS or HTML tables in DocBook). + std::string getHAlignAsCssAttribute(idx_type cell) const; + /// Transforms the vertical alignment of the given cell as prebaked CSS (for HTML tables in HTML output). + std::string getVAlignAsCssAttribute(idx_type cell) const; + /// Transforms the vertical alignment of the given cell as a prebaked XML attribute (for CALS or HTML tables in DocBook). std::string getVAlignAsXmlAttribute(idx_type cell) const; /// Helpers for XML tables (XHTML or DocBook). @@ -1144,7 +1150,8 @@ public: docstring asString(idx_type stidx, idx_type enidx, bool intoInsets = true); /// ParagraphList asParList(idx_type stidx, idx_type enidx); - + /// + bool confirmDeletion() const override { return true; } /// Returns whether the cell in the specified row and column is selected. bool isCellSelected(Cursor & cur, row_type row, col_type col) const; ///