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