4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Richard Kimberly Heck
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/strfwd.h"
23 docstring fontToHtmlTag(xml::FontTypes type);
24 docstring fontToHtmlAttribute(xml::FontTypes type);
31 xml::FontTag xhtmlStartFontTag(xml::FontTypes type);
33 xml::EndFontTag xhtmlEndFontTag(xml::FontTypes type);
36 void xhtmlParagraphs(Text const & text,
39 OutputParams const & runparams);
41 /// \return a string appropriate for setting alignment in CSS
42 /// Does NOT return "justify" for "block"
43 std::string alignmentToCSS(LyXAlignment align);