summaryrefslogtreecommitdiff
path: root/support/word2x/html-table.h
blob: ebdd2adf695c8e46faddb55309bceedaf56e52a2 (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: html-table.h,v 1.1 1997/04/29 06:46:08 dps Exp $ */

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

class html_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 *);
    html_table(int, int);
    ~html_table(void);
};
#endif /* __html_table__ */