Bug 86310

Summary: [EDITING] Copy/paste formatting only with Ctrl+Shift+C and Ctrl+Shift+V or Ctrl+Alt+V
Product: LibreOffice Reporter: Henrik <hsonesson>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: medium CC: cno
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Henrik 2014-11-15 14:23:17 UTC
In MS Word it's possible to copy and paste only the formatting (like the format paintbrush) with the keyboard shortcuts Ctrl+Shift+C and Ctrl+Shift+V.

This would be a very useful feature to have in LO Writer too.
Comment 1 Cor Nouws 2014-11-15 15:13:00 UTC
Hi Hendrik,

Thanks for filing the idea.

In Calc you can do that with Ctrl+C and then Ctrl+Shift+V and the proper choice...
Ctrl+Shift+V is already in use for paste special in all modules. But one could look for an alternative.
Personally I would not like it, because I propose the use of styles, and making direct formatting even more easy, is something I would not advise ;)

Would you know an alternative suggestion in stead of Ctrl+Shift+V ?

[On the technical side: why should both Ctrl+Shift+C and Ctrl+Shift+V be needed?
If you create the code to copy only formatting (Ctrl+Shift+C) then pasting pastes just that?? If you change the code so that pasting with Ctrl+Shift+V only pastes formatting, you can read that from the clip board??]

Best,
Cor
Comment 2 Henrik 2014-11-15 19:43:02 UTC
Thanks for the feedback. 
You have some good points there.

An example of a use case where this feature makes more sense than using styles is when doing textual analysis, or any other situation where you have to mark up recurring and similar words in a chunk of text using different text colours, differently coloured highlighting, and differently coloured borders. In such a case it is too much work to create 10-20 different styles that you will only use 2-5 times each.

As you said, it wouldn't make sense to both copy and paste only the formatting, so I would agree that the function/short cut to paste only formatting is the best solution. 

Could the shortcut combination be Ctrl+Alt+V?
As far as I can see that is an unused combination.
Comment 3 Cor Nouws 2014-11-16 15:35:06 UTC
(In reply to Henrik from comment #2)
> As you said, it wouldn't make sense to both copy and paste only the
> formatting, so I would agree that the function/short cut to paste only
> formatting is the best solution. 

Lets see..
 
> Could the shortcut combination be Ctrl+Alt+V?

I think so.
Comment 4 Cor Nouws 2014-11-16 15:37:57 UTC
(In reply to Henrik from comment #2)

 ( 

> An example of a use case where this feature makes more sense than using
> styles is when doing textual analysis, or any other situation where you have
> to mark up recurring and similar words in a chunk of text using different
> text colours, differently coloured highlighting, and differently coloured
> borders. In such a case it is too much work to create 10-20 different styles
> that you will only use 2-5 times each.

Side note: when you active the Character styles, and then at left siderclick the arrow > New style from selection... it's pretty fast to create one.

 )
Comment 5 Urmas 2014-11-18 07:20:51 UTC
Of course MSWord copies run/para formats with that feature.
Comment 6 cgpanda 2014-12-25 12:26:48 UTC
I love this function, use the CTRL+Shift+C and CTRL+Shift+V to Copy/Paste Format in the MS office, and very hope the libreoffice could to add this function;

this function is very useful and handly, much more faster than the format painter tool, its one cool function, Hope to add this :D

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.