ELinks 0.18.0
|
#include "util/color.h"
Data Structures | |
struct | html_start_end |
struct | table_cell |
struct | table_column |
struct | table_colors |
struct | table |
Macros | |
#define | table table_elinks |
#define | ALIGN_TR -1 |
#define | VALIGN_TR -1 |
#define | VALIGN_TOP 0 |
#define | VALIGN_MIDDLE 1 |
#define | VALIGN_BOTTOM 2 |
#define | VALIGN_BASELINE VALIGN_TOP /* Not implemented. */ |
#define | WIDTH_AUTO -1 |
#define | WIDTH_RELATIVE -2 |
#define | TABLE_FRAME_VOID 0 |
#define | TABLE_FRAME_ABOVE 1 |
#define | TABLE_FRAME_BELOW 2 |
#define | TABLE_FRAME_HSIDES (TABLE_FRAME_ABOVE | TABLE_FRAME_BELOW) |
#define | TABLE_FRAME_LHS 4 |
#define | TABLE_FRAME_RHS 8 |
#define | TABLE_FRAME_VSIDES (TABLE_FRAME_LHS | TABLE_FRAME_RHS) |
#define | TABLE_FRAME_BOX (TABLE_FRAME_HSIDES | TABLE_FRAME_VSIDES) |
#define | TABLE_RULE_NONE 0 |
#define | TABLE_RULE_ROWS 1 |
#define | TABLE_RULE_COLS 2 |
#define | TABLE_RULE_ALL 3 |
#define | TABLE_RULE_GROUPS 4 |
#define | CELL(table, col, row) |
Functions | |
struct table * | parse_table (char *html, char *eof, char **end, char *attr, int sh, struct html_context *html_context) |
struct table * | new_table (void) |
void | free_table (struct table *table) |
void | new_columns (struct table *table, int span, int width, int align, int valign, int group) |
struct table_cell * | new_cell (struct table *table, int dest_col, int dest_row) |
void | set_td_width (struct table *table, int col, int width, int force) |
#define ALIGN_TR -1 |
#define CELL | ( | table, | |
col, | |||
row ) |
#define table table_elinks |
#define TABLE_FRAME_ABOVE 1 |
#define TABLE_FRAME_BELOW 2 |
#define TABLE_FRAME_BOX (TABLE_FRAME_HSIDES | TABLE_FRAME_VSIDES) |
#define TABLE_FRAME_HSIDES (TABLE_FRAME_ABOVE | TABLE_FRAME_BELOW) |
#define TABLE_FRAME_LHS 4 |
#define TABLE_FRAME_RHS 8 |
#define TABLE_FRAME_VOID 0 |
#define TABLE_FRAME_VSIDES (TABLE_FRAME_LHS | TABLE_FRAME_RHS) |
#define TABLE_RULE_ALL 3 |
#define TABLE_RULE_COLS 2 |
#define TABLE_RULE_GROUPS 4 |
#define TABLE_RULE_NONE 0 |
#define TABLE_RULE_ROWS 1 |
#define VALIGN_BASELINE VALIGN_TOP /* Not implemented. */ |
#define VALIGN_BOTTOM 2 |
#define VALIGN_MIDDLE 1 |
#define VALIGN_TOP 0 |
#define VALIGN_TR -1 |
#define WIDTH_AUTO -1 |
#define WIDTH_RELATIVE -2 |
void free_table | ( | struct table * | table | ) |
struct table_cell * new_cell | ( | struct table * | table, |
int | dest_col, | ||
int | dest_row ) |
void new_columns | ( | struct table * | table, |
int | span, | ||
int | width, | ||
int | align, | ||
int | valign, | ||
int | group ) |
struct table * new_table | ( | void | ) |
struct table * parse_table | ( | char * | html, |
char * | eof, | ||
char ** | end, | ||
char * | attr, | ||
int | sh, | ||
struct html_context * | html_context ) |
void set_td_width | ( | struct table * | table, |
int | col, | ||
int | width, | ||
int | force ) |