mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 15:39:26 +01:00
LazReport, fix html export text alignment (imgexport exporter), from Michal Gawrycki, issue #24660
git-svn-id: trunk@42060 -
This commit is contained in:
parent
211fc8e632
commit
9072e58585
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user