This function is obsolete. Please do not add new uses of it. Instead, use
a text_item (see output/text-item.h). */
void
-tab_output_text (int options, const char *string)
+tab_output_text (int options UNUSED, const char *string)
{
- enum text_item_type type = (options & TAB_FIX ? TEXT_ITEM_LOG
- : TEXT_ITEM_PARAGRAPH);
- text_item_submit (text_item_create (type, string));
+ text_item_submit (text_item_create (TEXT_ITEM_LOG, string));
}
/* Same as tab_output_text(), but FORMAT is passed through printf-like
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 *