Another issue when using FormatAsWebPage
(see also topic: http://wpcubed.com/forum/viewtopic.php?t=5817)
The formatting routine does not apply linespacing anymore.
I've fixed this with the following code (near the end of TParagraph.Reformat):
Code
function TParagraph.Reformat(Always: Boolean = FALSE; MaxW: Integer = 0; Options: Integer = 0): Integer;
......
{$IFDEF OBEC}
if AGet(WPAT_SpaceBefore, spacing) then
inc(iHeight, MulDiv(spacing, res, 1440));
if AGet(WPAT_SpaceAfter, spacing) then
inc(iHeight, MulDiv(spacing, res, 1440));
{$ENDIF}
Lines[lmax].Height := iHeight;
Now this is becoming pretty annoying. The formatting might be much better for HTML but on functionality it is still trailing far behind compared to the default formatting.
I can accept that, but as a customer i would like to know what i'm getting into when i turn a feature on in WpTools. I'm now looking at a new bug report every 1 or 2 weeks.