Bug 137591 - Don't ignore outlinelevelN RTF attribute when pasting from clipboard
Summary: Don't ignore outlinelevelN RTF attribute when pasting from clipboard
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: RTF File-Send
  Show dependency treegraph
Reported: 2020-10-19 11:45 UTC by sdc.blanco
Modified: 2020-10-19 13:02 UTC (History)
0 users

See Also:
Crash report or crash signature:
Regression By:

Instructions and text document for demonstrating problem (18.14 KB, application/vnd.oasis.opendocument.text)
2020-10-19 11:45 UTC, sdc.blanco

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2020-10-19 11:45:55 UTC
Created attachment 166503 [details]
Instructions and text document for demonstrating problem

File > Send > Outline to Clipboard  and  Navigator - Headings - (context menu) - Send Outline to Clipboard 

Both use the same function, inherited from OOo

Attached document gives test document, with instructions.  Basically, the idea is to use that function to copy and paste an outline.  The test document and STR should help you to see that "Outline Level" information is lost when pasting to another document.

Given that there is no documentation on this point, then you can decide whether this is a bug or an enhancement.
Comment 1 Mike Kaganski 2020-10-19 12:29:16 UTC
In fact, clipboard RTF is all affected by that, not only when using Outline to Clipboard function.

Select All -> Ctrl+C -> in a new document, use Paste Special to choose RTF.

OTOH, saving the document as RTF and re-opening keeps the outline level -> there is a way to store necessary information in the RTF.
Comment 2 Mike Kaganski 2020-10-19 13:02:17 UTC
The data copied to clipboard has outlinelevelN attribute. It is ignored when pasting. The same happens if pasting RTF copied from, e.g., Word.