| Summary: | Copying a HTML table from a webrowser and pasting into a new sheet causes permanent auto-formatting and other strange behaviours | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Peter Morgan <pedromorgan> |
| Component: | Calc | Assignee: | Kohei Yoshida <kohei> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | Paste autoformats bug table | ||
|
Description
Peter Morgan
2010-12-14 17:29:13 UTC
I'll take this. So, I can at least fix the regular pasting of html, by providing an option to enable or disable this special "auto-formatting" (that we call automatic number detection). What'll happen is that when you copy and paste an html table into Calc, Calc will launch an html import option dialog to let you choose 1. Language to use (or 'Automatic' for the system language), and 2. Whether to automatically detect special numbers, such as date, time, percentage etc. If you disable automatic number detection, then the data will be pasted as texts, which I believe is what you want. I won't fix the pasting of html as unformatted text, though, since that's not what's being asked here & that would be a separate code path. Fixed on master. This will not make it into 3.3 (since we are already way past the deep code freeze), but it will be in the next major release. http://cgit.freedesktop.org/libreoffice/calc/commit/?id=ed5d652e91aaf681533e77c3d189b2e9b246e724 |