Wrong page break before a table

  • Hi,

    I have a RTF file which contains 4 text lines then a table. But the there is apage break after the text and the table is on the next page. When I open the file in Wordpad, MSWord... it does not occur and the lines and the table are on the same page.

    I played with tones of options and finally I found that setting wpfIgnoreKeep to true fixes my problem...??? But what does it mean? I searched in the manual and in the help file and I only found:

      * wpfIgnoreKeep, // The WPAT_ParKeep property is ignored (do not break par)

      * paprIsFooter, // this par is a table footer row
      // paprKeep, - use par.AGetDef(WPAT_PARKEEP,0)=1

      * Special Flags:
      WPAT_ParProtected = 92; // 1=protect, 0=not protected
      WPAT_ParKeep = 93; // 1=no page break
      ...


    Could someone explain to me:

      * Why i encounter this problem

      * What do wpfIgnoreKeep and WPAT_ParKeep?


    Thank you,
    Christian

  • My file contains: