]> git.lyx.org Git - lyx.git/blobdiff - src/output_docbook.h
Fix Coverity false positive for null-pointer dereference
[lyx.git] / src / output_docbook.h
index dd6090fe2a93ad5a5b5e2eec3dd07ead52f5e5d6..4dcc853df28baa340f66e18841c0809fe5cf13ce 100644 (file)
@@ -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.
  */
 #ifndef OUTPUT_DOCBOOK_H
 #define OUTPUT_DOCBOOK_H
 
-#include "ParagraphList_fwd.h"
+#include "LayoutEnums.h"
+
 #include "support/docstream.h"
+#include "support/strfwd.h"
+#include "xml.h"
 
-#include <iosfwd>
+namespace lyx {
 
 class Buffer;
 class OutputParams;
+class Text;
 
 ///
-void docbookParagraphs(ParagraphList const & subset,
-                      Buffer const & buf,
-                      lyx::odocstream & os,
-                      OutputParams const & runparams);
+std::string const fontToDocBookTag(xml::FontTypes type);
+///
+xml::FontTag docbookStartFontTag(xml::FontTypes type);
+///
+xml::EndFontTag docbookEndFontTag(xml::FontTypes type);
+
+///
+void docbookParagraphs(Text const & text,
+                              Buffer const & buf,
+                       XMLStream & os,
+                              OutputParams const & runparams);
+
+} // namespace lyx
+
 #endif