]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.h
Shortcut for LyX HTML output. (Makes my life easier!)
[lyx.git] / src / output_xhtml.h
index b4281ef45f36509693a98e6f6cc0c9532ea3ead7..f0e1578d1558a0baf36eba6ed9c603da8536513a 100644 (file)
@@ -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 &);
@@ -97,6 +104,8 @@ private:
        ///
        bool isTagOpen(std::string const &);
        ///
+       void writeError(std::string const &);
+       ///
        odocstream & os_;
        ///
        // int tab_;