Lines Matching refs:text_item
63 struct text_item *
66 struct text_item *item = xzalloc (sizeof *item); in text_item_create_nocopy()
75 struct text_item *
84 struct text_item *
87 struct text_item *item; in text_item_create_format()
99 text_item_get_type (const struct text_item *item) in text_item_get_type()
106 text_item_get_text (const struct text_item *item) in text_item_get_text()
114 text_item_submit (struct text_item *item) in text_item_submit()
120 text_item_to_table_item (struct text_item *text_item) in text_item_to_table_item() argument
128 if (text_item->typeface) in text_item_to_table_item()
129 font_style->typeface = pool_strdup (tab->container, text_item->typeface); in text_item_to_table_item()
130 font_style->size = text_item->size; in text_item_to_table_item()
131 font_style->bold = text_item->bold; in text_item_to_table_item()
132 font_style->italic = text_item->italic; in text_item_to_table_item()
133 font_style->underline = text_item->underline; in text_item_to_table_item()
134 font_style->markup = text_item->markup; in text_item_to_table_item()
138 if (text_item->markup) in text_item_to_table_item()
140 if (text_item->type == TEXT_ITEM_SYNTAX || text_item->type == TEXT_ITEM_LOG) in text_item_to_table_item()
142 table_text (tab, 0, 0, opts, text_item_get_text (text_item)); in text_item_to_table_item()
144 text_item_unref (text_item); in text_item_to_table_item()
151 struct text_item *item = to_text_item (output_item); in text_item_destroy()