projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-data-window.c: Remove ssw api protection
[pspp]
/
src
/
output
/
text-item.h
diff --git
a/src/output/text-item.h
b/src/output/text-item.h
index 659a28bd0f8bf418da8433e14d909df5e1d32236..9efc26490baa59c46459a9c4f72dc952902e0974 100644
(file)
--- a/
src/output/text-item.h
+++ b/
src/output/text-item.h
@@
-32,27
+32,23
@@
enum text_item_type
{
TEXT_ITEM_PAGE_TITLE, /* TITLE and SUBTITLE commands. */
TEXT_ITEM_TITLE, /* Title. */
{
TEXT_ITEM_PAGE_TITLE, /* TITLE and SUBTITLE commands. */
TEXT_ITEM_TITLE, /* Title. */
- TEXT_ITEM_PARAGRAPH, /* Normal paragraph of text. */
-
- /* Log items. */
- TEXT_ITEM_SYNTAX, /* A single line of PSPP syntax. */
+ TEXT_ITEM_SYNTAX, /* Syntax printback logging. */
TEXT_ITEM_LOG, /* Other logging. */
TEXT_ITEM_LOG, /* Other logging. */
-
- /* Spacing. Some output drivers that are not based on lines and pages
- (e.g. CSV, HTML) may ignore these. */
- TEXT_ITEM_BLANK_LINE, /* Blank line. */
TEXT_ITEM_EJECT_PAGE /* Eject page. */
};
TEXT_ITEM_EJECT_PAGE /* Eject page. */
};
+const char *text_item_type_to_string (enum text_item_type);
+
/* A text item. */
struct text_item
{
struct output_item output_item;
char *text; /* The content. */
enum text_item_type type; /* Type. */
/* A text item. */
struct text_item
{
struct output_item output_item;
char *text; /* The content. */
enum text_item_type type; /* Type. */
- char *font;
- int font_size;
+
bool bold, italic, underline, markup;
bool bold, italic, underline, markup;
+ char *typeface;
+ int size;
};
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);