Bug 32518 - OPEN: hyperlink not imported from doc file
Summary: OPEN: hyperlink not imported from doc file
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 RC1
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Cédric Bosdonnat
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 22:10 UTC by lindrix
Modified: 2011-02-15 03:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
.doc File where remove link problem (109.50 KB, application/msword)
2010-12-20 22:23 UTC, lindrix
Details
Pls. see Comment 6 (9.04 KB, application/vnd.oasis.opendocument.text)
2010-12-20 22:53 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lindrix 2010-12-19 22:10:19 UTC
Hi. In the LibreOffice/BrOffice Writer the formatting of link isn´t clearing with paste button > only text nor right button mouse at remove link option, being need i change color for black and i remove underline. Only remove the "reference" of the link.


Thanks you by yours attention.
Comment 1 Rainer Bielefeld Retired 2010-12-20 01:10:34 UTC
NOT Reproducible with "LibreOffice 3.3.0 RC1 - WIN XP German UI  [OOO330m17 (build 3.3.0.1"

@lindrix:
Please attach as ample document and a step by step instruction containing every key press and every mouse click how to reproduce your problem.
You know new behaviour (for example Bug 31766)?

May I ask you to read <http://wiki.documentfoundation.org/BugReport>?
Comment 2 lindrix 2010-12-20 16:48:56 UTC
I see the Bug 31766, and reality bug what i discovered if seem whit it.
Excuse me because is a on the submit first bugs.
Comment 3 Rainer Bielefeld Retired 2010-12-20 20:57:38 UTC
@lindrix:
Please excuse me, I don't understand your problem at all. It seems that unexpectedly only the hyperlink will be removed, but not the underline and the color of the text formerly containing the hyperlink? But with what operation do you get the result? Please mention my request for a step by step instruction every key press and every mouse click (and a samlpe document!).
Comment 4 lindrix 2010-12-20 22:23:13 UTC
Created attachment 41335 [details]
.doc File where remove link problem

This file have links that with remove link option it clear not the formatting.
Comment 5 lindrix 2010-12-20 22:28:36 UTC
@Rainer Bielefeld: 

With .doc file up, you can to check the problem going to page 24 and you use right button mouse > option remove link.
Comment 6 Rainer Bielefeld Retired 2010-12-20 22:51:10 UTC
[Reproducible] with "LibreOffice 3.3.0 RC1 - WIN XP German UI  [OOO330m17 (build 3.3.0.1"

Steps to reproduce:
1. create new writer document 
2. type 2 words
3. create web hyperlink for words as in my "mytest10.odt"
4. save as .odt
5. save as .doc (W97) and close
6. reopen .doc
7. select words with hyperlink
8. right click -> remove hyperlink
   expected: removes hyperlink, characters from blue / underline to black
             / without underline
   actual: only hyperlink removed, character color and underline remain

works fine with .odt
Comment 7 Rainer Bielefeld Retired 2010-12-20 22:53:02 UTC
Created attachment 41337 [details]
Pls. see Comment 6
Comment 8 lindrix 2010-12-21 10:34:08 UTC
Yes, reality in .odt file is not occurency this problem, but in .doc file occurs.
Comment 9 Cédric Bosdonnat 2011-02-15 02:50:21 UTC
The problem here is not the UI, but the doc import filter. The hyperlink is simply not imported, but it's formatting is imported? Reverting the manual formatting doesn't do anything as it's using the "Internet Link" style...
Comment 10 Cédric Bosdonnat 2011-02-15 03:26:20 UTC
(In reply to comment #9)
> The problem here is not the UI, but the doc import filter. The hyperlink is
> simply not imported, but it's formatting is imported? Reverting the manual
> formatting doesn't do anything as it's using the "Internet Link" style...

Well... After some more tests and some rest: it turns out that everything is working perfectly here. You have the impression that it doesn't work for the following reasons:
  1/ When exported to doc format, the link formatting is set using a character style (which is not the case for the ODT file);
  2/ The imported doc file contains the link and you can remove it using the "Remove Hyperlink" context menu item, but it doesn't remove the character style.
  3/ "Clean formatting" doesn't apply after removing the link because the formatting is set using a style (and not manual formatting).

I'll close this bug report as there is no bug here.