X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_docbook.h;h=a65e0c8f84d1b16914c859e3b812c86cd4eafb6e;hb=bfe98181169d9e697e515da974d9b6a15a06c940;hp=41657ade8bc12f6c7bccea49a48c62c81b3995e6;hpb=eb3d6435d11e5334522b2e3d61215f4496a3cb32;p=lyx.git diff --git a/src/output_docbook.h b/src/output_docbook.h index 41657ade8b..a65e0c8f84 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 Kimberly Heck * * Full author contact details are available in file CREDITS. */ @@ -13,15 +15,37 @@ #ifndef OUTPUT_DOCBOOK_H #define OUTPUT_DOCBOOK_H -#include +#include "LayoutEnums.h" +#include "ParagraphList.h" + +#include "support/docstream.h" +#include "support/strfwd.h" +#include "xml.h" + +namespace lyx { class Buffer; class OutputParams; -class ParagraphList; +class Text; + +/// generates an xml::StartTag for the given style +xml::FontTag docbookStartFontTag(xml::FontTypes type); +/// generates an xml::EndTag for the given style +xml::EndFontTag docbookEndFontTag(xml::FontTypes type); + +/// output a series of paragraphs into the XMLStream +void docbookParagraphs(Text const &, + Buffer const &, + XMLStream &, + OutputParams const &); + +/// output a single paragraph into the XMLStream +ParagraphList::const_iterator makeAny(Text const &, + Buffer const &, + XMLStream &, + OutputParams const &, + ParagraphList::const_iterator); + +} // namespace lyx -/// -void docbookParagraphs(ParagraphList const & subset, - Buffer const & buf, - std::ostream & os, - OutputParams const & runparams); #endif