From 63165a934e6d6b61c7994d7997986da8ccaee2b6 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 4 Jul 2011 19:11:05 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=80=D0=B0=20=D0=B4=D0=BE=D0=BC?= =?UTF-8?q?=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c/tex_parser/tex_parser_table.h | 69 +++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/c/tex_parser/tex_parser_table.h b/c/tex_parser/tex_parser_table.h index 88c638d..5791d25 100644 --- a/c/tex_parser/tex_parser_table.h +++ b/c/tex_parser/tex_parser_table.h @@ -1,6 +1,75 @@ #ifndef _TEX_PARSER_TABLE_H #define _TEX_PARSER_TABLE_H +#include +struct tex_table_cell_elem_s { + +}; + +/** + * + * + * + * + */ +struct cell_s { + char *before; + char *request; + char *after; +}; + +/** + * + * + * + * + * + */ +struct row_s { + char *before; + struct cell_s *cells; + char *after; +}; + +/** + * + * + * + * + */ +struct header_s { + char *before; + struct row_s *rows; + char *after; +}; + +/** + * + * + * + * + */ +struct footer_s { + char *before; + struct row_s *rows; + char *after; +}; + +/** + * + * + * + * + */ +struct table_s { + size_t document_offset; // offset in the LaTeX document + size_t document_size; // size in the LaTeX document + char *id; // "Drossel1.Table1" + char **column_scheme; // "|>{\centering}m{0.1\paperwidth}" + struct header_s header; + struct footer_s footer; + struct row_s *rows; +}; #endif