Description: Style –other than Default Style– attached to a source of Formatting cloned, and then applied to a pattern, is ignored and interpreted as a style which is not applied to it. Steps to Reproduce: Respective cases' illustrations; see attachment. Display Styles column (F11)) 1. case-1 – expression written according to Default Style. 2. case-2 – expression written according to a new formatted style (Text Body). 3. case-3 – expression written according to two formatted styles (Default Style –case-1– and style whose source is case-2 –Text Body–). Last style has to be produced by using function Clone-formatting and expression in case-2 as source for clone. Actual Results: In case-3, style attached to formatting cloned and applied to '’formatting-cloned: ’Text Body’' is ignored by the application; it is interpreted as Default Style. Expected Results: Style resulting from an operation of formatting cloned is intended to be the one attached to the source cloned –case-2–, which is presently Text Body. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 6.0.4.2 Build ID: 6.0.4.2-4.fc28 CPU threads: 2; OS: Linux 4.16; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group
Created attachment 143088 [details] Formatting-cloned – Illustrations
As described in [1], clone formatting copies character level formatting by default, hold Ctrl while clicking on the target text, and the style reference (as paragraph-level formatting) will be copied as well. Note that because of this what you want to achieve in case 3 (where you want a paragraph-level formatting applied to a part of a paragraph) can't be done exactly like that. Hopefully this explains the behavior, closing ticket as NOTABUG. [1] https://help.libreoffice.org/Common/Copying_Attributes_With_the_Clone_Formatting_Tool