https://bugs.documentfoundation.org/show_bug.cgi?id=153546
Bug ID: 153546
Summary: .uno:Copy doesn’t copy from a given range
Product: LibreOffice
Version: 7.3.6.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
The .uno:Copy command called by the recorded macro doesn't work correctly.
The requirement is to copy the format only, between two ranges.
If the clipboard contains nothing (situation at work session opening), the
.uno:Copy command does nothing.
If the clipboard was actually given a contents, then the copied format comes
from that contents, not from the source range as declared in the program.
The attached example shows the problem.
As this is the only way to programmatically "paste special formats only" (no
API available, AFAIK), this functionality should be restored.
Steps to Reproduce:
See attachment
Actual Results:
The copied format is the one pertaining to the clipboard contents.
Expected Results:
The copied format should be the one belonging to the source range.
Reproducible: Always
User Profile Reset: No
Additional Info:
Problem present in LibreOffice v.7.3.6 (LinuxMint 20.3 Cinnamon)
and found to be present in LibreOffice v.7.5 (Windows).
Dunno about former versions.
--
You are receiving this mail because:
You are the assignee for the bug.