1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[xml] Begining tables

This commit is contained in:
Witold Filipczyk 2021-07-08 17:28:39 +02:00
parent cd8e128e5a
commit 7328da1756
4 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,6 @@
top_builddir=../../..
include $(top_builddir)/Makefile.config
OBJS = renderer.o renderer2.o tables.o tags.o
include $(top_srcdir)/Makefile.lib

View File

@ -0,0 +1,2 @@
#subdir('html')
srcs += files('renderer.c', 'renderer2.c', 'tables.c', 'tags.c')

54
src/document/xml/tables.c Normal file
View File

@ -0,0 +1,54 @@
/* General element handlers */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* strcasestr() */
#endif
#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.h"
#include "document/html/renderer.h"
#include "document/html/tables.h"
#include "document/options.h"
#include "document/xml/tables.h"
#include "document/xml/tags.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"
/* Unsafe macros */
#include "document/html/internal.h"
#include <stdio.h>
#include <libxml++/libxml++.h>
void
tags_format_table(struct source_renderer *renderer, void *no)
{
}

View File

@ -0,0 +1,8 @@
#ifndef EL__DOCUMENT_XML_TABLES_H
#define EL__DOCUMENT_XML_TABLES_H
struct source_renderer;
void tags_format_table(struct source_renderer *renderer, void *node);
#endif