]> git.lyx.org Git - features.git/blob - src/output_xhtml.h
How did I forget to do that?!
[features.git] / src / output_xhtml.h
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.
6  *
7  * \author Richard Heck
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef OUTPUT_XHTML_H
13 #define OUTPUT_XHTML_H
14
15 #include "support/strfwd.h"
16
17 namespace lyx {
18
19 class Buffer;
20 class OutputParams;
21 class ParagraphList;
22
23 ///
24 void xhtmlParagraphs(ParagraphList const & subset,
25                        Buffer const & buf,
26                        odocstream & os,
27                        OutputParams const & runparams);
28
29 namespace html {
30         ///
31         docstring escapeChar(char_type c);
32         /// \return true if tag was opened, false if not 
33         bool openTag(odocstream & os, std::string const & tag, 
34                      std::string const & attr);
35         /// \return true if tag was opened, false if not 
36         bool closeTag(odocstream & os, std::string const & tag);
37 }
38 } // namespace lyx
39
40 #endif