Not so soon, I guess, since that FIXME was from r6305.
[lyx.git] / src / output_xhtml.h
bloba3b8eb824e90468b7b5c75d337312b1db3eeee04
1 // -*- C++ -*-
2 /**
3 * \file output_xhtml.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Richard Heck
9 * Full author contact details are available in file CREDITS.
12 #ifndef OUTPUT_XHTML_H
13 #define OUTPUT_XHTML_H
15 #include "support/strfwd.h"
17 namespace lyx {
19 class Buffer;
20 class OutputParams;
21 class Text;
23 ///
24 void xhtmlParagraphs(Text const & text,
25 Buffer const & buf,
26 odocstream & os,
27 OutputParams const & runparams);
29 namespace html {
30 ///
31 docstring escapeChar(char_type c);
32 /// converts a string to a form safe for links, etc
33 docstring htmlize(docstring const & str);
34 /// \return true if tag was opened, false if not
35 bool openTag(odocstream & os, std::string const & tag,
36 std::string const & attr);
37 /// \return true if tag was opened, false if not
38 bool closeTag(odocstream & os, std::string const & tag);
40 } // namespace lyx
42 #endif