Added options to make Robodoc more customizable.
[robodoc.git] / Source / test_generator.h
1 #ifndef ROBODOC_TEST_GENERATOR_H
2 #define ROBODOC_TEST_GENERATOR_H
3
4 /*
5 Copyright (C) 1994-2007  Frans Slothouber, Jacco van Weert, Petteri Kettunen,
6 Bernd Koesling, Thomas Aglassinger, Anthon Pang, Stefan Kost, David Druffner,
7 Sasha Vasko, Kai Hofmann, Thierry Pierron, Friedrich Haase, and Gergely Budai.
8
9 This file is part of ROBODoc
10
11 ROBODoc is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 3 of the License, or
14 (at your option) any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program.  If not, see <http://www.gnu.org/licenses/>.
23
24 */
25
26 #include "headers.h"
27 #include "document.h"
28
29 #define MAX_SECTION_DEPTH 7
30
31 void                RB_TEST_Generate_Label(
32     FILE *dest_doc,
33     char *name );
34 void                RB_TEST_Generate_Item_Begin(
35     FILE *dest_doc );
36 void                RB_TEST_Generate_Item_End(
37     FILE *dest_doc );
38 void                RB_TEST_Generate_TOC_2(
39     FILE *dest_doc,
40     struct RB_header **headers,
41     int count );
42 void                RB_TEST_Generate_BeginSection(
43     FILE *dest_doc,
44     int depth,
45     char *name );
46 void                RB_TEST_Generate_EndSection(
47     FILE *dest_doc,
48     int depth,
49     char *name );
50 char               *RB_TEST_Get_Default_Extension(
51     void );
52 void                RB_TEST_Generate_Doc_Start(
53     FILE *dest_doc,
54     char *src_name,
55     char *name,
56     char toc );
57 void                RB_TEST_Generate_Doc_End(
58     FILE *dest_doc,
59     char *name );
60 void                RB_TEST_Generate_Header_Start(
61     FILE *dest_doc,
62     struct RB_header *cur_header );
63 void                RB_TEST_Generate_Header_End(
64     FILE *dest_doc,
65     struct RB_header *cur_header );
66 void                RB_TEST_Generate_Index(
67     struct RB_Document *document,
68     FILE *dest,
69     char *dest_name );
70 void                RB_TEST_Generate_Index_Table(
71     FILE *dest,
72     char *dest_name,
73     int type,
74     char *title );
75 void                RB_TEST_Generate_Empty_Item(
76     FILE *dest );
77 void                RB_TEST_Generate_Link(
78     FILE *dest,
79     char *dest_name,
80     char *filename,
81     char *labelname,
82     char *linkname );
83 void                RB_TEST_Generate_Char(
84     FILE *dest_doc,
85     int c );
86 void                RB_TEST_Generate_Item_Name(
87     FILE *dest_doc,
88     char *name );
89 char               *RB_TEST_RelativeAddress(
90     char *thisname,
91     char *thatname );
92 int                 RB_TEST_Generate_Extra(
93     FILE *dest_doc,
94     int item_type,
95     char *cur_char );
96 void                RB_TEST_Generate_False_Link(
97     FILE *dest_doc,
98     char *name );
99
100 void                TEST_Generate_Begin_Paragraph(
101     FILE *dest_doc );
102 void                TEST_Generate_End_Paragraph(
103     FILE *dest_doc );
104 void                TEST_Generate_Begin_Preformatted(
105     FILE *dest_doc );
106 void                TEST_Generate_End_Preformatted(
107     FILE *dest_doc );
108 void                TEST_Generate_Begin_List(
109     FILE *dest_doc );
110 void                TEST_Generate_End_List(
111     FILE *dest_doc );
112 void                TEST_Generate_Begin_List_Item(
113     FILE *dest_doc );
114 void                TEST_Generate_End_List_Item(
115     FILE *dest_doc );
116
117
118 #endif /* ROBODOC_TEST_GENERATOR_H */