Answering after testing the Clone tool test.odt provided by @Barbarur.
The target paragraph in the attachment has the following structure. The paragraph itself is formatted Bodoni MT
and has Default paragraph style, from which size 12pt
comes; part of its characters has font size 9pt
and font color black
applied directly. So take a note that for that part of characters, the character properties are Bodoni MT
and 9pt
; the paragraph style is not a character property.
The source paragraph is formatted bold
, and has Default paragraph style, hence 12pt
and Calibri
. It has no special formatting for parts of its characters. So take a note that for this text, the character property is bold
; the paragraph style is not a character property.
When you copy the formatting from the source (without any keys), only character properties are copied. So you are applying bold
to the target text, without modifying anything else: the font name is not affected (since it’s not defined as a character property in the source); nor font size (for the same reason) or font color.
When you use Ctrl
, you copy both character properties, and paragraph properties. Copying the paragraph properties, the target paragraph turns from “Standard+Bodoni MT
” into “Standard”; and copying character properties, the selected characters become “whatever they were + the character properties at the source”, which adds bold
.
I don’t see a difference with Ctrl+Shift. In the end, I suppose it’s a bug:
- Ctrl+Shift must not change runs of text - it should only change paragraph properties.
- Copying paragraph properties, it replaces all target paragraph settings with part of source paragraph settings (so
bold
at paragraph level is not considered paragraph formatting, and is not applied to the target paragraph; Bodoni MT
is removed from the paragraph formatting). But when applying character formatting, its current property set is not replaced with the applied settings, but they are added. This of course relates to the specifics that character properties may be nested (one text run inside another one), but all in all, the function behaves inconsistently and unpredictably.
Personally I would think that it would be better that if a property is defined on a paragraph level, it be applied only at paragraph level (so that bold not copied when cloning format without Ctrl; and when used with Ctrl, it is copied to the target paragraph, not to characters). But anyway, cloning formatting is very simplistic tool for something as complex as formatting when we talk about things that may be defined on at least 4 different levels (character direct formatting; character style; paragraph direct formatting; paragraph style) with inheritance and nesting (character styles may be nested, not only inherited, although UI is missing for that (tdf#115311)).