--- psiconv/trunk/lib/psiconv/parse_layout.c 2000/12/28 15:49:12 86 +++ psiconv/trunk/lib/psiconv/parse_layout.c 2002/01/29 18:38:38 142 @@ -26,6 +26,11 @@ #include "parse_routines.h" #include "error.h" +#ifdef DMALLOC +#include +#endif + + int psiconv_parse_color(const psiconv_buffer buf, int lev, psiconv_u32 off, int *length, psiconv_color *result) { @@ -451,6 +456,7 @@ } psiconv_debug(lev+3,off+len,"Justify: %02x",temp); len ++; + break; case 0x07: psiconv_progress(lev+3,off+len,"Going to read linespacing distance"); result->linespacing = psiconv_read_size(buf,lev+3,off+len,&leng,&res); @@ -507,6 +513,13 @@ goto ERROR1; len += leng; break; + case 0x0f: + psiconv_progress(lev+3,off+len,"Going to read wrap to fit cell limits"); + if ((res = psiconv_parse_bool(buf,lev+3,off+len,&leng, + &result->wrap_to_fit_cell))) + goto ERROR1; + len += leng; + break; case 0x10: psiconv_progress(lev+3,off+len,"Going to read border distance to text"); result->border_distance = psiconv_read_length(buf,lev+3,