X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_xhtml.h;h=327c40274b281dbb62d9b13e92992a6120d7f5b5;hb=021f51e19b3751f8f15d8bd89f7aa6a109624b29;hp=b4281ef45f36509693a98e6f6cc0c9532ea3ead7;hpb=7aebcc787fafbcedae6d2eccf63cc55436f6eb58;p=lyx.git diff --git a/src/output_xhtml.h b/src/output_xhtml.h index b4281ef45f..327c40274b 100644 --- a/src/output_xhtml.h +++ b/src/output_xhtml.h @@ -23,7 +23,12 @@ class Buffer; class OutputParams; class Text; +// Inspiration for the *Tag structs and for XHTMLStream +// came from MathStream and its cousins. + struct StartTag { + /// + StartTag(std::string const & tag) : tag_(tag) {} /// StartTag(std::string const & tag, std::string const & attr, bool keepempty = false) @@ -84,6 +89,8 @@ public: /// XHTMLStream & operator<<(docstring const &); /// + XHTMLStream & operator<<(const char *); + /// XHTMLStream & operator<<(char_type); /// XHTMLStream & operator<<(StartTag const &);