2005-09-15 09:58:31 -04:00
|
|
|
#ifndef EL__DOCUMENT_HTML_TABLES_H
|
|
|
|
#define EL__DOCUMENT_HTML_TABLES_H
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
struct html_context;
|
2021-07-12 11:34:22 -04:00
|
|
|
struct table;
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2021-07-12 11:34:22 -04:00
|
|
|
void distribute_table_widths(struct table *table);
|
|
|
|
void draw_table_caption(struct html_context *html_context, struct table *table, int x, int y);
|
|
|
|
void draw_table_cell(struct table *table, int col, int row, int x, int y, struct html_context *html_context);
|
|
|
|
void draw_table_cells(struct table *table, int x, int y, struct html_context *html_context);
|
|
|
|
void draw_table_frames(struct table *table, int indent, int y, struct html_context *html_context);
|
2021-01-02 10:20:27 -05:00
|
|
|
void format_table(char *, char *, char *, char **, struct html_context *);
|
2021-07-12 11:34:22 -04:00
|
|
|
int get_table_cellpadding(struct html_context *html_context, struct table *table);
|
|
|
|
void get_table_heights(struct html_context *html_context, struct table *table);
|
|
|
|
int get_table_indent(struct html_context *html_context, struct table *table);
|
|
|
|
|
|
|
|
#ifdef HTML_TABLE_2ND_PASS /* This is by default ON! (<setup.h>) */
|
|
|
|
void check_table_widths(struct html_context *html_context, struct table *table);
|
|
|
|
#endif
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
#endif
|