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

Danat <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
         Resolution|INVALID                     |---

--- Comment #14 from Danat <[email protected]> ---
(In reply to Regina Henschel from comment #7)
> If you copy a hyperlink, then the content of the clipboard is nothing else
> as a pure UTF8 text. If you paste a text over a marked hyperlink, the
> hyperlink is replaced by the text. I consider this not a bug but the
> expected behavior.
> 
> If you write a hyperlink original in Writer, it is displayed with "blue +
> underline" but has originally no character style assigned. If you paste the
> clipboard over the hyperlink, the pasted text replaces the hyperlink and is
> rendered as determined by a surrounding character style or by the default
> character settings in the paragraph style.
> 
> If you use a docx-document, then the hyperlink gets the character style
> "Internet Hyperlink". The settings in that style contain a "blue +
> underline", so that the text looks like a hyperlinks. When you replace the
> hyperlink by the clipboard, that does not change the character style as the
> clipboard has only "unformatted text".
> 
> In ODF, the <text:a> element (that is the hyperlink) has itself a
> text:style-name attribute to specify how the hyperlink is rendered. The
> corresponding <w:hyperlink> element in OOXML has no such attribute.
> Therefore LibreOffice is forced to write the "blue plus underline" styling
> as attribute of the text when it exports to docx. And then when reloading
> the docx-file the text has a character style assigned, which is then still
> used when you replace the hyperlink by a simple text.
> 
> Danat: You should really consider using ODF, the native format of
> LibreOffice, instead of converting back and forth to OOXML, which always
> causes problems and losses.
> 
> To make the pasted text to a hyperlink, type a space after pasting the
> clipboard to trigger the AutoCorrect option "URL Recognition", which is on
> by default. After the conversion to a hyperlink you can remove the space.

My bad, it works actually, but you have to enter a space after the link so text
turns into hyperlink

Video 4 -
https://drive.google.com/file/d/1DqtFs9YC5ICxBhsz7SdNoZyy2HkCxZYM/view?usp=sharing

Though it normally is a black unlined text before you enter a space, as shown
in Video 3
(https://drive.google.com/drive/folders/1ZbrOPZJjuPg3dYbOpRDeaSgXoPKYzgA5?usp=sharing),
but in this case it already looked like a hyperlink

So yes, I'm apologising, it's not really a bug in the sense that it works, but
there is some cosmetic inconsistency, so I give it the status "new"

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

Reply via email to