4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef OUTPUT_XHTML_H
13 #define OUTPUT_XHTML_H
15 #include "LayoutEnums.h"
17 #include "support/docstream.h"
18 #include "support/strfwd.h"
27 docstring fontToHtmlTag(xml::FontTypes type);
28 docstring fontToHtmlAttribute(xml::FontTypes type);
35 xml::FontTag xhtmlStartFontTag(xml::FontTypes type);
37 xml::EndFontTag xhtmlEndFontTag(xml::FontTypes type);
40 void xhtmlParagraphs(Text const & text,
43 OutputParams const & runparams);
45 /// \return a string appropriate for setting alignment in CSS
46 /// Does NOT return "justify" for "block"
47 std::string alignmentToCSS(LyXAlignment align);