From: <ob...@us...> - 2009-07-21 09:25:53
|
Revision: 12404 http://jvcl.svn.sourceforge.net/jvcl/?rev=12404&view=rev Author: obones Date: 2009-07-21 09:25:50 +0000 (Tue, 21 Jul 2009) Log Message: ----------- Mantis 4868: use STYLE instead of ALIGN parameter Modified Paths: -------------- trunk/jvcl/run/JvRichEditToHtml.pas Modified: trunk/jvcl/run/JvRichEditToHtml.pas =================================================================== --- trunk/jvcl/run/JvRichEditToHtml.pas 2009-07-20 17:27:07 UTC (rev 12403) +++ trunk/jvcl/run/JvRichEditToHtml.pas 2009-07-21 09:25:50 UTC (rev 12404) @@ -539,11 +539,11 @@ begin case Value.Alignment of paLeftJustify: - Result := 'ALIGN="LEFT"'; + Result := 'STYLE="text-align: left;"'; paRightJustify: - Result := 'ALIGN="RIGHT"'; + Result := 'STYLE="text-align: right;"'; paCenter: - Result := 'ALIGN="CENTER"'; + Result := 'STYLE="text-align: center;"'; end; if Value.Numbering = nsBullet then begin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |