https://bugs.documentfoundation.org/show_bug.cgi?id=159049

            Bug ID: 159049
           Summary: Line break is missing in RTF in clipboard when copying
                    text from shape
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 191789
  --> https://bugs.documentfoundation.org/attachment.cgi?id=191789&action=edit
Example to reproduce the problem

Open attached document. It has a shape with text. The text has a line break
(shift+enter) between first and second line. To make this distinguishable from
a paragraph end (enter), the paragraphs in the shape and in the text are set to
5mm for paragraph distance after.

Bring the shape to edit mode, then mark the complete shape text and copy it to
clipboard. Leave the shape and paste the clipboard to the text in the document.
Use the format "Rich text format" for pasting.

Error: The line break before the word 'here' is missing.

The error happens when copying to clipboard. When you use a clipboard viewer
(e.g. FreeClipViewer) you can see, that the RTF markup has '/sl' instead of
'/line'.

The error happens in
https://opengrok.libreoffice.org/xref/core/editeng/source/editeng/impedit4.cxx?r=de385412#908

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to