ELinks 0.16.1.1
tables.c File Reference
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "config/options.h"
#include "bfu/listmenu.h"
#include "bookmarks/bookmarks.h"
#include "document/css/apply.h"
#include "document/html/frames.h"
#include "document/html/parser/link.h"
#include "document/html/parser/stack.h"
#include "document/html/parser/table.h"
#include "document/html/parser.h"
#include "document/html/renderer.h"
#include "document/html/tables.h"
#include "document/options.h"
#include "document/xml/renderer2.h"
#include "document/xml/tables.h"
#include "document/xml/tags.h"
#include "ecmascript/spidermonkey/element.h"
#include "globhist/globhist.h"
#include "intl/charsets.h"
#include "protocol/uri.h"
#include "terminal/draw.h"
#include "util/align.h"
#include "util/box.h"
#include "util/color.h"
#include "util/conv.h"
#include "util/error.h"
#include "util/memdebug.h"
#include "util/memory.h"
#include "util/string.h"
#include "document/html/internal.h"
#include <stdio.h>
#include <libxml++/libxml++.h>
Include dependency graph for tables.c:

Macros

#define _GNU_SOURCE   /* strcasestr() */
#define realloc_bad_html(bad_html, size)

Functions

static void get_bordercolor2 (struct source_renderer *renderer, void *no, color_T *rgb)
static void tags_set_table_frame (struct source_renderer *renderer, void *no, struct table *table)
static void tags_set_table_rules (struct source_renderer *renderer, void *no, struct table *table)
static void tags_get_align (struct source_renderer *renderer, void *no, int *a)
static void tags_get_valign (struct source_renderer *renderer, void *no, int *a)
static void tags_get_column_width (struct source_renderer *renderer, void *no, int *width, int sh)
int tags_get_bgcolor (struct source_renderer *renderer, void *no, color_T *rgb)
static void tags_parse_table_attributes (struct source_renderer *renderer, struct table *table, void *no, int real)
static void tags_add_table_bad_html_start (struct table *table, void *start)
static void tags_add_table_bad_html_end (struct table *table, void *end)
static struct tabletags_parse_table (struct source_renderer *renderer, void *no, int sh)
static void tags_draw_table_bad_html (struct source_renderer *renderer, struct table *table)
void tags_format_table (struct source_renderer *renderer, void *no)

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE   /* strcasestr() */

◆ realloc_bad_html

#define realloc_bad_html ( bad_html,
size )
Value:
mem_align_alloc(bad_html, size, (size) + 1, 0xFF)
int size
Definition charsets.c:207
#define mem_align_alloc(ptr, old, new_, mask)
Definition memory.h:148

Function Documentation

◆ get_bordercolor2()

void get_bordercolor2 ( struct source_renderer * renderer,
void * no,
color_T * rgb )
static

◆ tags_add_table_bad_html_end()

void tags_add_table_bad_html_end ( struct table * table,
void * end )
static

◆ tags_add_table_bad_html_start()

void tags_add_table_bad_html_start ( struct table * table,
void * start )
static

◆ tags_draw_table_bad_html()

void tags_draw_table_bad_html ( struct source_renderer * renderer,
struct table * table )
static

◆ tags_format_table()

void tags_format_table ( struct source_renderer * renderer,
void * no )

◆ tags_get_align()

void tags_get_align ( struct source_renderer * renderer,
void * no,
int * a )
static

◆ tags_get_bgcolor()

int tags_get_bgcolor ( struct source_renderer * renderer,
void * no,
color_T * rgb )

◆ tags_get_column_width()

void tags_get_column_width ( struct source_renderer * renderer,
void * no,
int * width,
int sh )
static

◆ tags_get_valign()

void tags_get_valign ( struct source_renderer * renderer,
void * no,
int * a )
static

◆ tags_parse_table()

struct table * tags_parse_table ( struct source_renderer * renderer,
void * no,
int sh )
static

while (html < eof && *html != '<') html++;

if (parse_element(html, eof, &name, &namelen, &t_attr, &en)) { html++; goto se; }

◆ tags_parse_table_attributes()

void tags_parse_table_attributes ( struct source_renderer * renderer,
struct table * table,
void * no,
int real )
static

◆ tags_set_table_frame()

void tags_set_table_frame ( struct source_renderer * renderer,
void * no,
struct table * table )
static

◆ tags_set_table_rules()

void tags_set_table_rules ( struct source_renderer * renderer,
void * no,
struct table * table )
static