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