пора домой

This commit is contained in:
Kolan Sh 2011-07-04 19:11:05 +04:00
parent 8241b39819
commit 63165a934e
1 changed files with 69 additions and 0 deletions

View File

@ -1,6 +1,75 @@
#ifndef _TEX_PARSER_TABLE_H
#define _TEX_PARSER_TABLE_H
#include <sys/types.h>
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