| 1 |
#ifndef __Table_H__
|
| 2 |
#define __Table_H__
|
| 3 |
|
| 4 |
#include "../String/String.h"
|
| 5 |
#include "../LinkedList/StringLinkedList.h"
|
| 6 |
#include "../Html/HtmlMatrisList.h"
|
| 7 |
#include "../Html/HtmlTool.h"
|
| 8 |
|
| 9 |
class Table
|
| 10 |
{
|
| 11 |
|
| 12 |
public:
|
| 13 |
|
| 14 |
Table();
|
| 15 |
~Table();
|
| 16 |
|
| 17 |
void create();
|
| 18 |
|
| 19 |
void createRows(StringLinkedList *list);
|
| 20 |
void createMatris(HtmlMatrisList<String> *htmlMatris);
|
| 21 |
void createMatris(HtmlMatrisList<String> *htmlMatris, int column);
|
| 22 |
void addTable(Table &table);
|
| 23 |
void addTable(Table *table);
|
| 24 |
|
| 25 |
bool center;
|
| 26 |
int width;
|
| 27 |
int height;
|
| 28 |
int border;
|
| 29 |
int cellspacing;
|
| 30 |
int cellpadding;
|
| 31 |
bool tableHaveBeenAdded;
|
| 32 |
|
| 33 |
String *align;
|
| 34 |
String *data;
|
| 35 |
String *rowsData;
|
| 36 |
StringLinkedList *tableList;
|
| 37 |
|
| 38 |
|
| 39 |
private:
|
| 40 |
|
| 41 |
|
| 42 |
};
|
| 43 |
|
| 44 |
#endif |