LazReport, fix html export text alignment (imgexport exporter), from Michal Gawrycki, issue #24660

git-svn-id: trunk@42060 -
This commit is contained in:
jesus 2013-07-11 21:01:44 +00:00
parent 211fc8e632
commit 9072e58585

View File

@ -306,6 +306,12 @@ begin
St := St + 'font-style:italic;';
if fsUnderline in TfrMemoView(View).Font.Style then
St := St + 'text-decoration:underline;';
St := St + 'text-align:';
case TfrMemoView(View).Alignment of
taLeftJustify: St := St + 'left;';
taCenter: St := St + 'center;';
taRightJustify: St := St + 'right;';
end;
end;
WriteString(Format(HTML_TEXT, [St, Text]));
end;