]> git.lyx.org Git - lyx.git/blob - src/output_xhtml.h
Amend a6b07608d8e9de24, took older patch.
[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 const fontToHtmlTag(xml::FontTypes type);
28
29 class Buffer;
30 class OutputParams;
31 class Text;
32
33 ///
34 xml::FontTag xhtmlStartFontTag(xml::FontTypes type);
35 ///
36 xml::EndFontTag xhtmlEndFontTag(xml::FontTypes type);
37
38 ///
39 void xhtmlParagraphs(Text const & text,
40                        Buffer const & buf,
41                        XMLStream & xs,
42                        OutputParams const & runparams);
43
44 /// \return a string appropriate for setting alignment in CSS
45 /// Does NOT return "justify" for "block"
46 std::string alignmentToCSS(LyXAlignment align);
47
48 } // namespace lyx
49
50 #endif