Hi,
Whatever I do to my rtf, the spaceafter attribute is never converted to a css style, and if I only set the spaceafter (no spacebefore) a css-attribute margin-top will be written with the value of my rtf-spaceafter!
Please use this simple snippet to see what I mean.
Code
uses .... wpXMLFile;
procedure TForm1.Button1Click(Sender: TObject);
var P: ptParagraph;
begin
P:= WPRichText1.Memo.active_paragraph;
// P.spacebefore := 122;
P.spaceafter := 130;
WPRichText1.TextSaveFormat := 'HTML';
WPRichText1.SaveToFile('test.html');
end;
Alles anzeigen
I do not own the prof version of wptools, so it's difficult to debug the internals, but I really do need correct paragraph style conversions.
Any Help?
Andreas
wptools 4.02 - Delphi7 prof.