mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 09:04:48 +00:00
InsetTabular: move XML helper methods to private
They are not needed outside InsetTabular.
This commit is contained in:
parent
3637d6d408
commit
ff9f3c774e
@ -953,20 +953,6 @@ public:
|
|||||||
idx_type cell, row_type row, col_type column,
|
idx_type cell, row_type row, col_type column,
|
||||||
std::vector<unsigned int> const &,
|
std::vector<unsigned int> const &,
|
||||||
bool onlydata, size_t max_length) const;
|
bool onlydata, size_t max_length) const;
|
||||||
///
|
|
||||||
docstring xmlRow(XMLStream & xs, row_type row, OutputParams const &,
|
|
||||||
bool header = false, bool is_xhtml = true,
|
|
||||||
BufferParams::TableOutput docbook_table_output = BufferParams::TableOutput::HTMLTable) const;
|
|
||||||
void xmlHeader(XMLStream & xs, OutputParams const &, bool is_xhtml) const;
|
|
||||||
void xmlFooter(XMLStream & xs, OutputParams const &, bool is_xhtml) const;
|
|
||||||
void xmlBody(XMLStream & xs, OutputParams const &, bool is_xhtml) const;
|
|
||||||
XmlRowWiseBorders computeXmlBorders(row_type row) const;
|
|
||||||
std::vector<std::string> computeCssStylePerCell(row_type row, col_type col, idx_type cell) const;
|
|
||||||
|
|
||||||
/// Transforms the vertical alignment of the given cell as a prebaked XML attribute (for HTML and CALS).
|
|
||||||
std::string getHAlignAsXmlAttribute(idx_type cell, bool is_xhtml = true) const;
|
|
||||||
/// Transforms the vertical alignment of the given cell as a prebaked XML attribute (for HTML and CALS).
|
|
||||||
std::string getVAlignAsXmlAttribute(idx_type cell) const;
|
|
||||||
|
|
||||||
/// change associated Buffer
|
/// change associated Buffer
|
||||||
void setBuffer(Buffer & buffer);
|
void setBuffer(Buffer & buffer);
|
||||||
@ -978,6 +964,21 @@ public:
|
|||||||
private:
|
private:
|
||||||
Buffer * buffer_;
|
Buffer * buffer_;
|
||||||
|
|
||||||
|
/// 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).
|
||||||
|
std::string getVAlignAsXmlAttribute(idx_type cell) const;
|
||||||
|
|
||||||
|
/// Helpers for XML tables (XHTML or DocBook).
|
||||||
|
docstring xmlRow(XMLStream & xs, row_type row, OutputParams const &,
|
||||||
|
bool header = false, bool is_xhtml = true,
|
||||||
|
BufferParams::TableOutput docbook_table_output = BufferParams::TableOutput::HTMLTable) const;
|
||||||
|
void xmlHeader(XMLStream & xs, OutputParams const &, bool is_xhtml) const;
|
||||||
|
void xmlFooter(XMLStream & xs, OutputParams const &, bool is_xhtml) const;
|
||||||
|
void xmlBody(XMLStream & xs, OutputParams const &, bool is_xhtml) const;
|
||||||
|
XmlRowWiseBorders computeXmlBorders(row_type row) const;
|
||||||
|
std::vector<std::string> computeCssStylePerCell(row_type row, col_type col, idx_type cell) const;
|
||||||
|
|
||||||
}; // Tabular
|
}; // Tabular
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user