WPCubed Product Support

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.

#1 ♥ 0
5.1k Views 1 links 2 users read 2 min

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 FormatOptionsExoption, 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:

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

#2 ♥ 0

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?

#3 ♥ 0

Hi,

Could you link the RTF file and printscreens from both versions to compare? Maybe it is not just the line height that influences the difference.

Alessandro

#4 ♥ 0
This category is archived. No new posts are possible.