3 ms·
From what I understand, the copy command will put some content into clipboard, then the paste command can be programmed to read that content and print or conver
by kooshball 15y ago
From what I understand, the copy command will put some content into clipboard, then the paste command can be programmed to read that content and print or convert it accordingly.
For example, if I copy some content with formatting from Word and paste it into Google Docs it will try to preserve the format. Is that expected behavior? I dont know, but that's how it's designed and I think that makes a lot of sense. If I have a table in Word why shouldn't I be able to copy that to Google Docs?
I dont know enough about the clipboard programming to know if the program that calls copy can determine what comes out based on the paste program.
Also, I think the garbage formatting lines in that article will never be shown to the user. That will only be shown if you try to look at the formatting directly or if you're reading the HTML.
- Turing_Machine 15y agoI don't know about Google docs per se, but most rich text editors produce horribly broken results when Word's "HTML" is pasted in. Many of them have add-ons or special procedures to attempt to clean up the mess, but it's an iffy proposition at best.