]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.h
A couple comments and some very minor cleanup.
[lyx.git] / src / output_xhtml.h
index 262066e348dd87f8025fc02a15a12fe8c11b038d..a3b8eb824e90468b7b5c75d337312b1db3eeee04 100644 (file)
@@ -18,10 +18,10 @@ 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);
@@ -29,10 +29,13 @@ void xhtmlParagraphs(ParagraphList const & subset,
 namespace html {
        ///
        docstring escapeChar(char_type c);
+       /// 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 tag, std::string attr);
+       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 tag);
+       bool closeTag(odocstream & os, std::string const & tag);
 }
 } // namespace lyx