X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_docbook.h;h=4dcc853df28baa340f66e18841c0809fe5cf13ce;hb=af5257b6c3b24c00b18c601b77033cf7e60ce211;hp=41657ade8bc12f6c7bccea49a48c62c81b3995e6;hpb=eb3d6435d11e5334522b2e3d61215f4496a3cb32;p=lyx.git diff --git a/src/output_docbook.h b/src/output_docbook.h index 41657ade8b..4dcc853df2 100644 --- a/src/output_docbook.h +++ b/src/output_docbook.h @@ -4,8 +4,10 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes - * \author José Matos + * \author Lars Gullik Bjønnes + * \author José Matos + * \author Thibaut Cuvelier + * \author Richard Heck * * Full author contact details are available in file CREDITS. */ @@ -13,15 +15,31 @@ #ifndef OUTPUT_DOCBOOK_H #define OUTPUT_DOCBOOK_H -#include +#include "LayoutEnums.h" + +#include "support/docstream.h" +#include "support/strfwd.h" +#include "xml.h" + +namespace lyx { class Buffer; class OutputParams; -class ParagraphList; +class Text; + +/// +std::string const fontToDocBookTag(xml::FontTypes type); +/// +xml::FontTag docbookStartFontTag(xml::FontTypes type); +/// +xml::EndFontTag docbookEndFontTag(xml::FontTypes type); /// -void docbookParagraphs(ParagraphList const & subset, - Buffer const & buf, - std::ostream & os, - OutputParams const & runparams); +void docbookParagraphs(Text const & text, + Buffer const & buf, + XMLStream & os, + OutputParams const & runparams); + +} // namespace lyx + #endif