1 /* $Id: table.h,v 1.12 2003/09/22 21:02:21 ukai Exp $ */
2 #if (defined(MESCHACH) && !defined(MATRIX))
4 #endif /* (defined(MESCHACH) && !defined(MATRIX)) */
9 #else /* not MESCHACH */
11 #endif /* not MESCHACH */
16 #define MAX_TABLE 20 /* maximum nest level of table */
17 #define MAX_TABLE_N 20 /* maximum number of table in same level */
26 #define BORDER_THICK 2
27 #define BORDER_NOWIN 3
29 typedef unsigned short table_attr;
33 #define TBL_EXPAND_OK 2
37 #define MAXROWCELL 1000
40 short colspan[MAXCELL];
45 short eindex[MAXCELL];
49 short minimum_width[MAXCELL];
50 short fixed_width[MAXCELL];
64 signed char prev_spaces;
87 #endif /* TABLE_EXPAND */
92 GeneralList ***tabdata;
99 short tabwidth[MAXCOL];
100 short minimum_width[MAXCOL];
101 short fixed_width[MAXCOL];
102 struct table_cell cell;
104 struct table_in *tables;
107 TextList *suspended_data;
108 /* use for counting skipped spaces */
109 struct table_linfo linfo;
117 #define TBLM_PRE RB_PRE
118 #define TBLM_SCRIPT RB_SCRIPT
119 #define TBLM_STYLE RB_STYLE
120 #define TBLM_PLAIN RB_PLAIN
121 #define TBLM_NOBR RB_NOBR
122 #define TBLM_PRE_INT RB_PRE_INT
123 #define TBLM_INTXTA RB_INTXTA
124 #define TBLM_INSELECT RB_INSELECT
125 #define TBLM_PREMODE (TBLM_PRE | TBLM_PRE_INT | TBLM_SCRIPT | TBLM_STYLE | TBLM_PLAIN | TBLM_INTXTA)
126 #define TBLM_SPECIAL (TBLM_PRE | TBLM_PRE_INT | TBLM_SCRIPT | TBLM_STYLE | TBLM_PLAIN | TBLM_NOBR)
127 #define TBLM_DEL RB_DEL
129 #define TBLM_ANCHOR 0x1000000
132 unsigned int pre_mode;
138 unsigned char end_tag;
141 /* Local Variables: */
142 /* c-basic-offset: 4 */