HtmlViewer icon indicating copy to clipboard operation
HtmlViewer copied to clipboard

Copy to clipboard is not as html

Open manolisgrs opened this issue 6 years ago • 5 comments

Hi use the THtmlViewer.CopyToClipboard and try to paste it thunderbird mail body and you will see that it is pasted as palin text

This means that it copies the data to clipboard as rtf. Is there a way that this man be changed?

Thanks, Manolis

manolisgrs avatar Aug 05 '19 15:08 manolisgrs

HtmlViewer copies the selected area to the clipboard in both plain unicode text and as html fragment.

Could you please post an example document and a reproducible description how to miss the html fragment?

BerndGabriel avatar Aug 08 '19 19:08 BerndGabriel

Hi,Thanks a lof for the reply.I'm sending you an rtf file.Try to use this file copy the data as html from htmlviewer and paste it to thunderbird body.This is what I actually want to do. Thanks,Manolis Perrakis On Thursday, 8 August 2019, 21:13:36 CEST, BerndGabriel [email protected] wrote:

HtmlViewer copies the selected area to the clipboard in both plain unicode text and as html fragment.

Could you please post an example document and a reproducible description how to miss the html fragment?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

manolisgrs avatar Aug 09 '19 05:08 manolisgrs

Hi, Please check the document (html format) Open it by code in a html viwer component HtmlViewer1.LoadFromFile('C:\misXE_DX\bin\DyeComExport.html'); It is opened correctly

Than in a button put HtmlViewer1.SelectAll ; HtmlViewer1.CopyToClipboard ;

and try to paste it in thunderbird

Also In FrameBrowserDemoId10.exe or FrameBrowserDemoIcs.exe Open the html I attached select all and copy it and paste it to thunderbird

It is pasted it as palin text

Thanks Manolis Perrakis

Στις Πέμ, 8 Αυγ 2019 στις 10:13 μ.μ., ο/η BerndGabriel < [email protected]> έγραψε:

HtmlViewer copies the selected area to the clipboard in both plain unicode text and as html fragment.

Could you please post an example document and a reproducible description how to miss the html fragment?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BerndGabriel/HtmlViewer/issues/267?email_source=notifications&email_token=AM2LUGZPK6WRAMFDJP32WJ3QDRV6BA5CNFSM4IJMH6EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34T6KY#issuecomment-519651115, or mute the thread https://github.com/notifications/unsubscribe-auth/AM2LUG5UCA3HFBUKDCHYXL3QDRV6BANCNFSM4IJMH6EA .

manolisgrs avatar Aug 09 '19 06:08 manolisgrs

I haven't received the example file yet. Could you please try to post the example document (again). Thanks in advance.

BerndGabriel avatar Sep 22 '19 07:09 BerndGabriel

Hi, I'm resending 2 test fiels in rtf and html format

Στις Κυρ, 22 Σεπ 2019 στις 10:03 π.μ., ο/η BerndGabriel < [email protected]> έγραψε:

I haven't received the example file yet. Could you please try to post the example document (again). Thanks in advance.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BerndGabriel/HtmlViewer/issues/267?email_source=notifications&email_token=AM2LUG3NUTVF4AN3G67KCVTQK4KCLA5CNFSM4IJMH6EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7I724Y#issuecomment-533855603, or mute the thread https://github.com/notifications/unsubscribe-auth/AM2LUGY6RGYPF3MEPJIXK4LQK4KCLANCNFSM4IJMH6EA .

manolisgrs avatar Sep 22 '19 07:09 manolisgrs