]> git.lyx.org Git - lyx.git/blobdiff - src/output_docbook.h
Remove unneeded InsetFootlike::metrics/draw() methods
[lyx.git] / src / output_docbook.h
index 819c2035e4b04f6d800fc1ee33175b5c7144282f..a65e0c8f84d1b16914c859e3b812c86cd4eafb6e 100644 (file)
@@ -6,6 +6,8 @@
  *
  * \author Lars Gullik Bjønnes
  * \author José Matos
+ * \author Thibaut Cuvelier
+ * \author Richard Kimberly Heck
  *
  * Full author contact details are available in file CREDITS.
  */
 #ifndef OUTPUT_DOCBOOK_H
 #define OUTPUT_DOCBOOK_H
 
+#include "LayoutEnums.h"
+#include "ParagraphList.h"
+
+#include "support/docstream.h"
 #include "support/strfwd.h"
 #include "xml.h"
 
 namespace lyx {
 
-std::string const fontToDocBookTag(xml::FontTypes type);
-
 class Buffer;
 class OutputParams;
 class Text;
 
-///
-void docbookParagraphs(Text const & text,
-                      Buffer const & buf,
-                      odocstream & os,
-                      OutputParams const & runparams);
+/// 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