[Solved] Calc pastes formatting into cells (LibreOffice)

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Post Reply
tomeh
Posts: 8
Joined: Thu Oct 19, 2023 1:55 pm

[Solved] Calc pastes formatting into cells (LibreOffice)

Post by tomeh »

Hello, I have a problem after updating to the latest version of Libre Office. In the past, when I copied text from some website and pasted it into calc, it transferred it as plain text without formatting.

Currently pastes all formatting from the target page. Of course I can do ctrl + shift + v - but it makes no sense.
Is it possible to turn this off so that it always pastes no formatting, only the default text?

In the new version it's broken, I don't know why or how to turn it off.
Last edited by MrProgrammer on Mon Jul 22, 2024 6:48 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved] See advice for changing the shortcut -- MrProgrammer, forum moderator
User avatar
MrProgrammer
Moderator
Posts: 5099
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: CALC pastes formatting into cells

Post by MrProgrammer »

tomeh wrote: Sat Jul 06, 2024 11:10 pm In the past, when I copied text from some website and pasted it into calc, it transferred it as plain text without formatting. Currently pastes all formatting from the target page.
The result of paste depends on what content was copied by your browser from the website to the clipboard. Some pages don't contain formatting that Calc can understand. In that case, Calc just pastes the text. Other pages contain formatting that Calc understands. In that case Calc pastes both the formatting and the text. Unless you are an expert in web browser technology it is impossible for you to tell whether the page contains formatting that Calc will paste. A page may appear to be the same as it was earlier even though the underlying content that Copy will access is quite different.

In general it is best to not paste the formatting because you can't tell what formatting will be pasted into your cells. An easy way to avoid pasting the formatting is to record the Paste Unformatted macro, assign a keyboard shortcut, then use the shortcut to paste from web pages. I do this many times a week to paste data but not formatting.
[Tutorial] Favorite Recorded Calc Macros

tomeh wrote: Sat Jul 06, 2024 11:10 pm … the latest version of Libre Office …
Fix your forum signature in User Control Panel → Profile → Edit Signature. Provide your versions of LibreOffice and of Windows. I will not respond further until you've done so.
202407070807.gif
202407070807.gif (28.9 KiB) Viewed 3870 times

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.

[Tutorial] Ten concepts that every Calc user should know
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Alex1
Volunteer
Posts: 793
Joined: Fri Feb 26, 2010 1:00 pm
Location: Netherlands

Re: CALC pastes formatting into cells

Post by Alex1 »

The behaviour has indeed been changed with the latest version of LibreOffice (24.2).
When pasting after the cell has been put in edit mode (F2), pasting used to be unformatted by default. Now also the formatting is pasted.
Instead of using Ctrl+Shift+V, pasted formatting can be removed with Ctrl+M afterwards for the cells with unwanted formatting if they don't have direct formatting.
AOO 4.1.15 & LO 24.8.3 on Windows 10
tomeh
Posts: 8
Joined: Thu Oct 19, 2023 1:55 pm

Re: CALC pastes formatting into cells

Post by tomeh »

Pasting formatting is a huge problem for me. Even if you undo changes Ctrl + M - or another method. This is often a cell that has been broken up by some additional space or space.

Is it possible to turn off this transfer of formatting? - it makes my work extremely difficult.

It's terrible that he forces himself to do such things if he has no choice. For me, the work now takes three times longer than before due to these formatting transfers.
tomeh
Posts: 8
Joined: Thu Oct 19, 2023 1:55 pm

Re: Calc pastes formatting into cells (LibreOffice)

Post by tomeh »

Is it possible to disable this pasting formatting so that the pasted text is always formatted without formatting?
User avatar
Hagar Delest
Moderator
Posts: 32853
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Calc pastes formatting into cells (LibreOffice)

Post by Hagar Delest »

You should be able to change the shortcut with the Customize toolbar menu:
Customize.png
Customize.png (31.64 KiB) Viewed 3751 times
Please add [Solved] at the beginning of the title in your first post (top of the topic) with the 🖉 button if your issue has been fixed.
LibreOffice 24.8 on Xubuntu 24.10 and 24.8 portable on Windows 10
Post Reply