diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-05-01 15:59:10 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-05-01 15:59:10 +0200 |
commit | 97d1fbc1653280857499d76f5203a379892a8e3e (patch) | |
tree | 7c8c03bcbbca23ba6e2ae60058a9d38df572fd51 /libstorycode/stylesheet.c | |
parent | 790b6dee8468ded9b795cba008db66916217018b (diff) |
Add style for footer
Diffstat (limited to 'libstorycode/stylesheet.c')
-rw-r--r-- | libstorycode/stylesheet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstorycode/stylesheet.c b/libstorycode/stylesheet.c index eb8b2cb..c4625f2 100644 --- a/libstorycode/stylesheet.c +++ b/libstorycode/stylesheet.c @@ -220,6 +220,7 @@ Stylesheet *stylesheet_new() create_style(ss, "SLIDE", "TEXT"); create_style(ss, "SLIDE", "PRESTITLE"); create_style(ss, "SLIDE", "SLIDETITLE"); + create_style(ss, "SLIDE", "FOOTER"); return ss; } @@ -552,5 +553,6 @@ const char *stylesheet_get_friendly_name(const char *in) if ( strcmp(in, "SLIDETITLE") == 0 ) return "Slide title"; if ( strcmp(in, "PRESTITLE") == 0 ) return "Presentation title"; if ( strcmp(in, "TEXT") == 0 ) return "Text frame"; + if ( strcmp(in, "FOOTER") == 0 ) return "Footer"; return in; } |