cell->options = opt;
cell->n_footnotes = 0;
- cell->destructor = NULL;
int style_idx = (opt & TAB_STYLE_MASK) >> TAB_STYLE_SHIFT;
const struct area_style *style = t->styles[style_idx];
: TABLE_HALIGN_RIGHT);
enum table_valign valign
= ((opt & TAB_VALIGN) == TAB_TOP ? TABLE_VALIGN_TOP
- : (opt & TAB_VALIGN) == TAB_CENTER ? TABLE_VALIGN_CENTER
+ : (opt & TAB_VALIGN) == TAB_MIDDLE ? TABLE_VALIGN_CENTER
: TABLE_VALIGN_BOTTOM);
cell->style = &styles[halign][valign];
tab_destroy,
tab_get_cell,
tab_get_rule,
- NULL, /* paste */
- NULL, /* select */
};
struct tab_table *