Skip to content

Commit 3b9215a

Browse files
committed
fix: formatting CSS rules ignored by Libre Office Writer when pasting, probably due to specified fragment pointing to the HTML only portion
Refs #2487
1 parent bdea494 commit 3b9215a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/main.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12262,7 +12262,7 @@ procedure TMainForm.actCopyOrCutExecute(Sender: TObject);
1226212262

1226312263
procedure TMainForm.actCopyFormattedExecute(Sender: TObject);
1226412264
var
12265-
Exporter: TSynExporterHTML;
12265+
Exporter: TSynExporterRTF;
1226612266
SynMemo: TSynMemo;
1226712267
begin
1226812268
// Copy formatted SQL text to clipboard
@@ -12279,7 +12279,7 @@ procedure TMainForm.actCopyFormattedExecute(Sender: TObject);
1227912279
Exit;
1228012280
end;
1228112281

12282-
Exporter := TSynExporterHTML.Create(nil);
12282+
Exporter := TSynExporterRTF.Create(nil);
1228312283
try
1228412284
Exporter.Title := APPNAME;
1228512285
Exporter.UseBackground := True;

0 commit comments

Comments
 (0)