--- psiconv/trunk/program/psiconv/gen_rtf.c 2000/12/15 17:17:45 66 +++ psiconv/trunk/program/psiconv/gen_rtf.c 2000/12/15 18:52:49 67 @@ -340,7 +340,7 @@ psiconv_bool_false, /* bold */ psiconv_normalscript, /* super_sub */ psiconv_bool_false, /* underline */ - psiconv_bool_false, /* strike_out */ + psiconv_bool_false, /* strikethrough */ &font, /* font */ }; @@ -374,8 +374,8 @@ fprintf(of,"\\i%s",new->italic?"":"0"); if (old->underline != new->underline) fprintf(of,"\\ul%s",new->underline?"":"0"); - if (old->strike_out != new->strike_out) - fprintf(of,"\\strike%s",new->strike_out?"":"0"); + if (old->strikethrough != new->strikethrough) + fprintf(of,"\\strike%s",new->strikethrough?"":"0"); if ((old->color->red != new->color->red) || (old->color->green != new->color->green) || (old->color->blue != new->color->blue)) @@ -413,16 +413,16 @@ fprintf(of,"\\ql"); */ } - if (para->interline != 0.0) - fprintf(of,"\\sl%d",(para->interline_exact?-1:1) * - length_to_twips(para->interline)); - if (para->top_space != 0.0) - fprintf(of,"\\sb%d",length_to_twips(para->top_space)); - if (para->bottom_space != 0.0) - fprintf(of,"\\sa%d",length_to_twips(para->bottom_space)); - if (para->on_one_page) + if (para->linespacing != 0.0) + fprintf(of,"\\sl%d",(para->linespacing_exact?-1:1) * + length_to_twips(para->linespacing)); + if (para->space_above != 0.0) + fprintf(of,"\\sb%d",length_to_twips(para->space_above)); + if (para->space_below != 0.0) + fprintf(of,"\\sa%d",length_to_twips(para->space_below)); + if (para->keep_together) fprintf(of,"\\keep"); - if (para->together_with) + if (para->keep_with_next) fprintf(of,"\\keepn"); if (!para->on_next_page) fprintf(of,"pagebb");