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 https://opengrok.libreoffice.org/xref/core/sw/source/filter/ww8/rtfexport.cxx?r=7c70a59c#1023 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.
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.
The data copied to clipboard has outlinelevelN attribute. It is ignored when pasting. The same happens if pasting RTF copied from, e.g., Word.
Dear sdc.blanco, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
worksforme with: Version: 7.2.7.2 (x64) / LibreOffice Community Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2 CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: da-DK (da_DK); UI: en-US Calc: CL (that is: pasted headings in a new document has same outline level plus an added list level) but repro with: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 98f0dd5e15733ac7f1d929d06ab230b5f04121d5 CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: da-DK (da_DK); UI: en-US Calc: CL threaded (that is: pasted headings in a new document have outline level: Text Body)
Additional issue. 1. Open Tools>Chapter Numbering 2. Change Level 3 Paragraph Style to "Heading 1", Level 7 Paragraph Style to "Heading 3", and Level 1 Paragraph Style to "Heading 7" 3. Make three lines with, respectively, Heading 1, Heading 2, Heading 3 3. Export to Outline to Clipboard. 4. Open new document and paste clipboard. For 7.2.7.2 Outline levels for the headings pasted from clipboard are the same as the added list level. For 7.6.0.0 The added list level corresponds to the outline levels entered in Tools>Chapter Numbering information is retained, but all outline levels are lost (i.e., text body) Not sure what expected behavior should be, but the actual behavior for 7.2.7.2 and 7.6.0.0 does not seem right.