aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-11-04 21:01:57 +0100
committerThomas White <taw@bitwiz.org.uk>2011-11-04 21:01:57 +0100
commitdbff61bb3053e4fe30397b48a32ec415119bcf66 (patch)
tree1eacc5147554b47cf6b536c123340a2d7d487925 /src/stylesheet.h
parentd6c04212c403a817c5f98f8ee3e453422a02cc91 (diff)
Load stylesheet from presentation file
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h9
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 */