summaryrefslogtreecommitdiff
path: root/support/word2x/latex-table.h
blob: 5938cc71112c3018564954361cf23928806941f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* $Id: latex-table.h,v 1.1 1997/03/24 02:36:39 dps Exp $ */

#ifndef __latex_table__
#define __latex_table__
#include <stdio.h>
#define __EXCLUDE_READER_CLASSES
#include "lib.h"

class latex_table
{
private:
    struct col_info
    {
	const char **data;
	struct col_info *next;
    };
    int cols;
    int rows;
    struct col_info *cdata;

public:
    const char *print_table(int, FILE *, const int =1);
    int set(int, int, const char *);
    latex_table(int, int);
    ~latex_table(void);
};
#endif /* __latex_table__ */