ELinks 0.18.0
|
#include "document/format.h"
#include "document/forms.h"
#include "document/html/renderer.h"
#include "intl/charsets.h"
#include "util/align.h"
#include "util/color.h"
#include "util/lists.h"
Data Structures | |
struct | text_attrib_color |
struct | text_attrib |
struct | par_attrib |
struct | html_element |
Macros | |
#define | is_inline_element(e) |
#define | is_block_element(e) |
Typedefs | |
typedef unsigned char | format_list_flag_T |
typedef unsigned char | html_element_pseudo_class_T |
Enumerations | |
enum | format_list_flag { P_NO_BULLET = 0 , P_NUMBER = 1 , P_alpha = 2 , P_ALPHA = 3 , P_roman = 4 , P_ROMAN = 5 , P_DISC = 1 , P_O = 2 , P_SQUARE = 3 , P_LISTMASK = 7 , P_COMPACT = 8 } |
enum | html_element_mortality_type { ELEMENT_IMMORTAL , ELEMENT_DONT_KILL , ELEMENT_KILLABLE , ELEMENT_WEAK } |
enum | html_element_pseudo_class { ELEMENT_LINK = 1 , ELEMENT_VISITED = 2 } |
Functions | |
struct html_context * | init_html_parser (struct uri *uri, struct document *document, char *start, char *end, struct string *head, struct string *title, void(*put_chars)(struct html_context *, const char *, int), void(*line_break)(struct html_context *), void *(*special)(struct html_context *, html_special_type_T,...)) |
void | done_html_parser (struct html_context *html_context) |
void * | init_html_parser_state (struct html_context *html_context, enum html_element_mortality_type type, int align, int margin, int width) |
void | done_html_parser_state (struct html_context *html_context, void *state) |
int | get_bgcolor (struct html_context *html_context, char *a, color_T *rgb) |
void | set_fragment_identifier (struct html_context *html_context, char *attr_name, const char *attr) |
void | add_fragment_identifier (struct html_context *html_context, struct part *, char *attr) |
int | get_image_map (char *head, char *pos, char *eof, struct menu_item **menu, struct memory_list **ml, struct uri *uri, struct document_options *options, char *target_base, int to, int def, int hdef) |
void | ln_break (struct html_context *html_context, int n) |
int | get_color (struct html_context *html_context, char *a, const char *c, color_T *rgb) |
int | get_color2 (struct html_context *html_context, char *value_value, color_T *rgb) |
#define is_block_element | ( | e | ) |
#define is_inline_element | ( | e | ) |
typedef unsigned char format_list_flag_T |
typedef unsigned char html_element_pseudo_class_T |
enum format_list_flag |
void add_fragment_identifier | ( | struct html_context * | html_context, |
struct part * | part, | ||
char * | attr ) |
void done_html_parser | ( | struct html_context * | html_context | ) |
void done_html_parser_state | ( | struct html_context * | html_context, |
void * | state ) |
int get_bgcolor | ( | struct html_context * | html_context, |
char * | a, | ||
color_T * | rgb ) |
int get_color | ( | struct html_context * | html_context, |
char * | a, | ||
const char * | c, | ||
color_T * | rgb ) |
int get_color2 | ( | struct html_context * | html_context, |
char * | value_value, | ||
color_T * | rgb ) |
int get_image_map | ( | char * | head, |
char * | pos, | ||
char * | eof, | ||
struct menu_item ** | menu, | ||
struct memory_list ** | ml, | ||
struct uri * | uri, | ||
struct document_options * | options, | ||
char * | target_base, | ||
int | to, | ||
int | def, | ||
int | hdef ) |
struct html_context * init_html_parser | ( | struct uri * | uri, |
struct document * | document, | ||
char * | start, | ||
char * | end, | ||
struct string * | head, | ||
struct string * | title, | ||
void(* | put_chars )(struct html_context *, const char *, int), | ||
void(* | line_break )(struct html_context *), | ||
void *(* | special )(struct html_context *, html_special_type_T,...) ) |
void * init_html_parser_state | ( | struct html_context * | html_context, |
enum html_element_mortality_type | type, | ||
int | align, | ||
int | margin, | ||
int | width ) |
void ln_break | ( | struct html_context * | html_context, |
int | n ) |
void set_fragment_identifier | ( | struct html_context * | html_context, |
char * | attr_name, | ||
const char * | attr ) |