How to maximize compatibility with WPTools4?

  • Hello,
    how can I maximize WPTools5 compatibility with WPTools4?
    The default line height/spacing is calculated differently in each version.
    I've tried wpNoMinimumCellPadding, wpDontBreakTables, wpDontBreakTableRows, wpDontUseBorderPadding, but there is still a relatively big difference in the rendering.

    Thanks.

  • Hi,

    One thing that I noted different between version 4 and 5 about how the text flow was the Space Before in paragraphs. I posted that to Julian in 2006 and he created a FormatOptionsEx option, called wpDontIgnoreSpacebeforeOnTopOfPage. When I'm loading a RTF file created with WPTools4, I apply this to my WPRichText and the text becomes 'just like before'.

    I do this:

    Code
    oWPRichText.Memo.RTFData.FormatOptionsEx :=
        oWPRichText.Memo.RTFData.FormatOptionsEx + [wpDontIgnoreSpacebeforeOnTopOfPage];
      oWPRichText.Memo.RTFData.UpdateReformatMode(True);

    Maybe it could help you

    ps. WPTools 5 was made more 'MSWord compatible' in this feature

    Alessandro

  • Fragnani
    thank you
    however, this did not help.
    There's a slight difference between the line heights in WPT4 and WPT5 and this causes a rather large difference at the bottom of the page.

    any other sugestions?