]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxSWIG/SWIG/latex.h
fix Borland makefile for xrc as per SF report 747099
[wxWidgets.git] / wxPython / wxSWIG / SWIG / latex.h
1 /*******************************************************************************
2 * Simplified Wrapper and Interface Generator (SWIG)
3 *
4 * Author : David Beazley
5 *
6 * Department of Computer Science
7 * University of Chicago
8 * 1100 E 58th Street
9 * Chicago, IL 60637
10 * beazley@cs.uchicago.edu
11 *
12 * Please read the file LICENSE for the copyright and terms by which SWIG
13 * can be used and distributed.
14 *******************************************************************************/
15 /***********************************************************************
16 * $Header$
17 *
18 * latex.h
19 *
20 * Latex specific functions for producing documentation.
21 ***********************************************************************/
22 class LATEX : public Documentation {
23 private:
24 FILE *f_doc;
25 String s_doc;
26 char fn[256];
27 char *start_tag(char *);
28 char *end_tag(char *);
29 void print_string(char *s, String &str);
30 int sect_count; // Section counter
31 int sect_num[20]; // Section numbers
32 // Style parameters
33
34 char *tag_parindent;
35 char *tag_textwidth;
36 char *tag_documentstyle;
37 char *tag_oddsidemargin;
38 char *tag_title;
39 char *tag_preformat;
40 char *tag_usage;
41 char *tag_descrip;
42 char *tag_text;
43 char *tag_cinfo;
44 char *tag_pagestyle;
45 char *tag_section;
46 char *tag_subsection;
47 char *tag_subsubsection;
48
49 public:
50 LATEX();
51 void parse_args(int argc, char **argv);
52 void title(DocEntry *de);
53 void newsection(DocEntry *de, int sectnum);
54 void endsection();
55 void print_decl(DocEntry *de);
56 void print_text(DocEntry *de);
57 void separator();
58 void init(char *filename);
59 void close(void);
60 void style(char *name, char *value);
61 };
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79