case TEXT_ITEM_LOG:
return _("Log");
- case TEXT_ITEM_EJECT_PAGE:
- return _("Page Break");
-
default:
return _("Text");
}
{
struct table *tab = table_create (1, 1, 0, 0, 0, 0);
- struct area_style *style = pool_alloc (tab->container, sizeof *style);
- *style = (struct area_style) { AREA_STYLE_INITIALIZER__,
- .cell_style.halign = TABLE_HALIGN_LEFT };
+ struct table_area_style *style = pool_alloc (tab->container, sizeof *style);
+ *style = (struct table_area_style) { TABLE_AREA_STYLE_INITIALIZER__,
+ .cell_style.halign = TABLE_HALIGN_LEFT };
struct font_style *font_style = &style->font_style;
if (text_item->typeface)
font_style->typeface = pool_strdup (tab->container, text_item->typeface);