--- psiconv/trunk/lib/psiconv/data.h 2004/03/04 21:55:40 239 +++ psiconv/trunk/lib/psiconv/data.h 2004/03/16 13:47:04 241 @@ -1065,6 +1065,12 @@ /* Get a numbered style. Returns NULL if the style is unknown. */ extern psiconv_word_style psiconv_get_style (psiconv_word_styles_section ss, int nr); + +/* Return the number corresponding to the stylename. Returns 0 on success, + an error code on failure. */ +extern int psiconv_find_style(const psiconv_word_styles_section ss, + const psiconv_ucs2 *name,int *nr); + /* Get a numbered formula. Returns NULL if the style is unknown. */ extern psiconv_formula psiconv_get_formula (psiconv_formula_list ss, int nr); @@ -1084,6 +1090,7 @@ extern void psiconv_free_paragraph_layout(psiconv_paragraph_layout layout); extern void psiconv_free_character_layout(psiconv_character_layout layout); extern void psiconv_free_word_style(psiconv_word_style style); +extern void psiconv_free_word_style_list(psiconv_word_style_list style_list); extern void psiconv_free_word_styles_section (psiconv_word_styles_section styles); extern void psiconv_free_formula(psiconv_formula formula);