diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-11-04 21:01:57 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-11-04 21:01:57 +0100 |
commit | dbff61bb3053e4fe30397b48a32ec415119bcf66 (patch) | |
tree | 1eacc5147554b47cf6b536c123340a2d7d487925 /src/stylesheet.h | |
parent | d6c04212c403a817c5f98f8ee3e453422a02cc91 (diff) |
Load stylesheet from presentation file
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r-- | src/stylesheet.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h index 224083a..cde0bcc 100644 --- a/src/stylesheet.h +++ b/src/stylesheet.h @@ -87,10 +87,19 @@ extern StylesheetWindow *open_stylesheet(struct presentation *p); extern StyleSheet *new_stylesheet(); extern StyleSheet *load_stylesheet(const char *filename); +extern void free_stylesheet(StyleSheet *ss); +extern void default_stylesheet(StyleSheet *ss); + +extern struct style *new_style(StyleSheet *ss, const char *name); + extern int save_stylesheet(StyleSheet *ss, const char *filename); extern struct style *find_style(StyleSheet *ss, const char *name); +extern enum justify str_to_halign(char *halign); +extern enum vert_pos str_to_valign(char *valign); + + extern void write_stylesheet(StyleSheet *ss, struct serializer *ser); #endif /* STYLESHEET_H */ |