]> git.lyx.org Git - features.git/blob - src/output_docbook.h
InsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag
[features.git] / src / output_docbook.h
1 // -*- C++ -*-
2 /**
3  * \file output_docbook.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  * \author José Matos
9  * \author Thibaut Cuvelier
10  * \author Richard Kimberly Heck
11  *
12  * Full author contact details are available in file CREDITS.
13  */
14
15 #ifndef OUTPUT_DOCBOOK_H
16 #define OUTPUT_DOCBOOK_H
17
18 #include "LayoutEnums.h"
19 #include "ParagraphList.h"
20
21 #include "support/docstream.h"
22 #include "support/strfwd.h"
23 #include "xml.h"
24
25 namespace lyx {
26
27 class Buffer;
28 class OutputParams;
29 class Text;
30
31 /// generates an xml::StartTag for the given style
32 xml::FontTag docbookStartFontTag(xml::FontTypes type);
33 /// generates an xml::EndTag for the given style
34 xml::EndFontTag docbookEndFontTag(xml::FontTypes type);
35
36 /// output a series of paragraphs into the XMLStream
37 void docbookParagraphs(Text const &,
38                                Buffer const &,
39                        XMLStream &,
40                                OutputParams const &);
41
42 /// output a single paragraph into the XMLStream
43 ParagraphList::const_iterator makeAny(Text const &,
44                                       Buffer const &,
45                                       XMLStream &,
46                                       OutputParams const &,
47                                       ParagraphList::const_iterator);
48
49 } // namespace lyx
50
51 #endif