]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.h
Kornel's gcc compile fix.
[lyx.git] / src / output_xhtml.h
index 57bde408682e85579f3ec10f8aefc14ffc2b743b..a3b8eb824e90468b7b5c75d337312b1db3eeee04 100644 (file)
@@ -18,18 +18,24 @@ namespace lyx {
 
 class Buffer;
 class OutputParams;
-class ParagraphList;
+class Text;
 
 ///
-void xhtmlParagraphs(ParagraphList const & subset,
+void xhtmlParagraphs(Text const & text,
                       Buffer const & buf,
                       odocstream & os,
                       OutputParams const & runparams);
 
 namespace html {
+       ///
        docstring escapeChar(char_type c);
-       void openTag(odocstream & os, std::string tag, std::string attr);
-       void closeTag(odocstream & os, std::string tag);
+       /// converts a string to a form safe for links, etc
+       docstring htmlize(docstring const & str);
+       /// \return true if tag was opened, false if not 
+       bool openTag(odocstream & os, std::string const & tag, 
+                    std::string const & attr);
+       /// \return true if tag was opened, false if not 
+       bool closeTag(odocstream & os, std::string const & tag);
 }
 } // namespace lyx