projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Add support for Pango markup of fonts and styles.
[pspp]
/
src
/
output
/
text-item.h
diff --git
a/src/output/text-item.h
b/src/output/text-item.h
index 1bfb63689b28cd94f6cce1c14b7c8fa570456e03..9b8345ef827f12e58dbe202a9fc7793ffa858fc5 100644
(file)
--- a/
src/output/text-item.h
+++ b/
src/output/text-item.h
@@
-57,7
+57,7
@@
struct text_item
enum text_item_type type; /* Type. */
char *font;
int font_size;
enum text_item_type type; /* Type. */
char *font;
int font_size;
- bool bold, italic, underline;
+ bool bold, italic, underline
, markup
;
};
struct text_item *text_item_create (enum text_item_type, const char *text);
};
struct text_item *text_item_create (enum text_item_type, const char *text);
@@
-68,6
+68,8
@@
struct text_item *text_item_create_format (enum text_item_type,
enum text_item_type text_item_get_type (const struct text_item *);
const char *text_item_get_text (const struct text_item *);
enum text_item_type text_item_get_type (const struct text_item *);
const char *text_item_get_text (const struct text_item *);
+
+struct table_item *text_item_to_table_item (struct text_item *);
\f
/* This boilerplate for text_item, a subclass of output_item, was
autogenerated by mk-class-boilerplate. */
\f
/* This boilerplate for text_item, a subclass of output_item, was
autogenerated by mk-class-boilerplate. */