Added options to make Robodoc more customizable.
[robodoc.git] / Source / troff_generator.h
1 #ifndef ROBODOC_TROFF_GENERATOR_H
2 #define ROBODOC_TROFF_GENERATOR_H
3 /*
4 Copyright (C) 1994-2007  Frans Slothouber, Jacco van Weert, Petteri Kettunen,
5 Bernd Koesling, Thomas Aglassinger, Anthon Pang, Stefan Kost, David Druffner,
6 Sasha Vasko, Kai Hofmann, Thierry Pierron, Friedrich Haase, and Gergely Budai.
7
8 This file is part of ROBODoc
9
10 ROBODoc is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
23 */
24
25
26 #include "headers.h"
27 #include "items.h"
28
29 char               *RB_TROFF_Get_Default_Extension(
30     void );
31 void                RB_TROFF_Generate_Doc_Start(
32     FILE *dest_doc,
33     char *src_name,
34     char *name,
35     char toc );
36 void                RB_TROFF_Generate_Doc_End(
37     FILE *dest_doc,
38     char *name );
39 FILE               *RB_TROFF_Generate_Header_Start(
40     FILE *dest_doc,
41     struct RB_header *cur_header );
42 void                RB_TROFF_Generate_Header_End(
43     FILE *dest_doc,
44     struct RB_header *cur_header );
45 void                RB_TROFF_Generate_Empty_Item(
46     FILE *dest );
47 void                RB_TROFF_Generate_Char(
48     FILE *dest_doc,
49     int c );
50 void                RB_TROFF_Generate_False_Link(
51     FILE *out,
52     char *name );
53 void                RB_TROFF_Generate_Item_Name(
54     FILE *out,
55     char *name,
56     int pre );
57 int                 RB_TROFF_Generate_Extra(
58     FILE *out,
59     enum ItemType item_type,
60     char *str );
61 void                TROFF_Generate_Begin_List_Item(
62     FILE *out );
63 void                TROFF_Generate_End_List_Item(
64     FILE *out );
65 void                TROFF_Generate_Begin_Preformatted(
66     FILE *out );
67 void                TROFF_Generate_End_Preformatted(
68     FILE *out );
69 void                TROFF_Generate_End_Paragraph(
70     FILE *out );
71 void                TROFF_Generate_Begin_Paragraph(
72     FILE *out );
73 void                RB_TROFF_Set_Param(
74     char *compress,
75     char *section );
76 void                RB_TROFF_Start_New_Line(
77     FILE *out );
78
79
80 #endif /* ROBODOC_TROFF_GENERATOR_H */