--- psiconv/trunk/lib/psiconv/data.h 2004/03/08 23:20:41 240 +++ 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);