]> git.lyx.org Git - lyx.git/blob - src/output_xhtml.h
Correct comment
[lyx.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 "LayoutEnums.h"
16
17 #include "support/docstream.h"
18 #include "support/strfwd.h"
19 #include "xml.h"
20
21 #include <deque>
22 #include <memory>
23
24
25 namespace lyx {
26
27 docstring fontToHtmlTag(xml::FontTypes type);
28 docstring fontToHtmlAttribute(xml::FontTypes type);
29
30 class Buffer;
31 class OutputParams;
32 class Text;
33
34 ///
35 xml::FontTag xhtmlStartFontTag(xml::FontTypes type);
36 ///
37 xml::EndFontTag xhtmlEndFontTag(xml::FontTypes type);
38
39 ///
40 void xhtmlParagraphs(Text const & text,
41                        Buffer const & buf,
42                        XMLStream & xs,
43                        OutputParams const & runparams);
44
45 /// \return a string appropriate for setting alignment in CSS
46 /// Does NOT return "justify" for "block"
47 std::string alignmentToCSS(LyXAlignment align);
48
49 } // namespace lyx
50
51 #endif