lyx_mirror/src/output_xhtml.h

47 lines
947 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file output_xhtml.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
2020-12-05 22:17:02 +00:00
* \author Richard Kimberly Heck
*
* Full author contact details are available in file CREDITS.
*/
#ifndef OUTPUT_XHTML_H
#define OUTPUT_XHTML_H
#include "LayoutEnums.h"
2013-05-07 04:19:34 +00:00
#include "xml.h"
namespace lyx {
docstring fontToHtmlTag(xml::FontTypes type);
docstring fontToHtmlAttribute(xml::FontTypes type);
class Buffer;
class OutputParams;
class Text;
///
xml::FontTag xhtmlStartFontTag(xml::FontTypes type);
///
xml::EndFontTag xhtmlEndFontTag(xml::FontTypes type);
///
void xhtmlParagraphs(Text const & text,
Buffer const & buf,
XMLStream & xs,
OutputParams const & runparams);
/// \return a string appropriate for setting alignment in CSS
/// Does NOT return "justify" for "block"
std::string alignmentToCSS(LyXAlignment align);
} // namespace lyx
#endif