Issue 15455 - PDF Export: active hyperlinks, visited links
Summary: PDF Export: active hyperlinks, visited links
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC3
Hardware: PC All
: P3 Trivial with 3 votes (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: needmoreinfo, oooqa
: 32603 39619 78021 (view as issue list)
Depends on: 13154
Blocks: 26623
  Show dependency tree
 
Reported: 2003-06-10 12:07 UTC by ssyz
Modified: 2013-08-07 14:41 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Original is OK; but pdf shows "visited" color (114.37 KB, text/plain)
2007-06-16 04:23 UTC, raindrops
no flags Details
Test kit, but I don't believe that it will bring new insight to 'comments from raindrops Sat Jun 16 03:46:32 +0000 2007' (48.45 KB, application/x-compressed)
2007-06-16 06:39 UTC, Rainer Bielefeld
no flags Details
Change the Link1 color, click and then convert to pdf! (6.39 KB, text/plain)
2007-06-16 14:36 UTC, raindrops
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ssyz 2003-06-10 12:07:54 UTC
As described in issue 13021 and 13630, hyperlinks are exported only as formatted 
text in PDF. Additionally, the hyperlink text is blue (normal) or purple (if 
visited BEFORE the document was exported). This is not very useful.
Comment 1 Rainer Bielefeld 2003-08-23 09:35:21 UTC
So it is, a user might want to try the link and will be disappointed.

Might be an interesting option "show text with hyperlinks without
special formatting in PDF export" for issue 13154.

I do not see this as a DEFECT, because the PDF should look as similar
as possible like the original document.

Rainer
Comment 2 h.ilter 2003-08-26 15:45:09 UTC
Dublicate

*** This issue has been marked as a duplicate of 12836 ***
Comment 3 h.ilter 2003-08-26 15:45:23 UTC
.
Comment 4 Rainer Bielefeld 2003-08-26 19:20:23 UTC
I am not sure whether this really is a duplicate: Stefan knows that
the hyperlink function actually will not be transported to the PDF. As
I see, he accepts that, but his problem is that the text with the
hyperlink in the PDF will look like and pretends to be a hyperlink
without being one.

IMHO the reporter requested a possibility to display that text without
hyperlink as "normal Text" in the PDF (and not blue / underlined).

I remember that there is an option in the "Stylist" to adapt how
hyperlinks should be displayed in the document (and so in the PDF),
but that is not very flexible.

Would you please think about this comment and then do what you think
that it is senseful?

Rainer
Comment 5 ssyz 2003-08-27 15:28:49 UTC
Even if it would actually be a hyperlink, its not usful to mark the 
text as "visited" (purple) when it was visited by the author(!) BEFORE 
he exported the document.

to reproduce the effect: (1.1 RC3)
 - create a new text document
 - choose "insert -> hyperlink" from the menue
 - type a url (say "www.openoffice.org") as target
 - apply, close
 - click on the created hyperlink 
   -> your browser opens the target
   -> THE LINK in the document TURNS PURPLE
 - export the document to pdf
   -> there is a PURPLE (wannabe-)hyperlink in the pdf

The reader doesn't want to see that a link was visited by the author! 
Thats why i think its a defect, even if the hyperlinks in the pdf were 
implemented.

Stefan
Comment 6 h.ilter 2003-08-27 16:19:35 UTC
Reassigned to MMP
Comment 7 Rainer Bielefeld 2003-08-27 16:40:34 UTC
> The reader doesn't want to see that a link was visited by the author! 
> Thats why i think its a defect, even if the hyperlinks in the pdf were 
> implemented.


Important hint!
Comment 8 matthias.mueller-prove 2003-09-09 17:14:24 UTC
goog comment. stay tuned. (I just changed the summary)
Comment 9 matthias.mueller-prove 2003-09-26 16:52:44 UTC
summary text changed
Comment 10 matthias.mueller-prove 2003-10-27 18:46:54 UTC
Yes, cf. http://specs.openoffice.org/appwide/pdf_export/KickOffOct2003.sxw
Comment 11 matthias.mueller-prove 2004-03-17 14:22:38 UTC
MMP>CP: Thanks for taking over.
Comment 12 christof.pintaske 2004-05-25 18:44:05 UTC
targeted for 8 according to
http://specs.openoffice.org/appwide/pdf_export/PDFExport.sxw
Comment 13 Martin Hollmichel 2004-05-28 14:57:27 UTC
according to the announcement on releases
(http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=7503) this issue
will be re-targeted to OOo Later.
Comment 14 christof.pintaske 2004-08-05 10:33:53 UTC
*** Issue 32603 has been marked as a duplicate of this issue. ***
Comment 15 christof.pintaske 2004-09-10 14:09:20 UTC
cp->fme: as discussed with Thorsten Ziehm and AMA, we try to smooth the rough
edges in PDF export. It would be great if you could fix this one on CWS pdf02.
Having a different style for visited hyperlinks makes absolutely no sense in a
document that you exchange with others.

Sorry for the late notice, this one slipt through, please let me know if this
poses any problems.
Comment 16 frank.meies 2004-09-14 15:01:51 UTC
.
Comment 17 frank.meies 2004-09-20 13:00:44 UTC
Fixed in:

/cvs/sw/sw/source/core/text/atrstck.cxx,v  <--  atrstck.cxx
new revision: 1.19.280.1; previous revision: 1.19
Comment 18 frank.meies 2004-10-14 10:45:36 UTC
Ready for QA.
Comment 19 frank.meies 2004-10-14 10:46:26 UTC
.
Comment 20 frank.meies 2004-10-14 10:46:45 UTC
.
Comment 21 eric.savary 2004-10-14 16:21:29 UTC
verified in cws pdf02
Comment 22 eric.savary 2004-11-14 12:42:43 UTC
ok in src680m60
Comment 23 h.ilter 2005-01-03 10:24:48 UTC
*** Issue 39619 has been marked as a duplicate of this issue. ***
Comment 24 h.ilter 2007-06-12 14:18:03 UTC
*** Issue 78021 has been marked as a duplicate of this issue. ***
Comment 25 raindrops 2007-06-15 19:25:44 UTC
This problem is still not resolved: A visited link is still exported in pdf in
purple color. 

Reporting for 2.2.1 RC3.
Comment 26 Rainer Bielefeld 2007-06-15 19:54:25 UTC
But works for me with "2.2.0RC4  German version WIN XP: [680m14(Build9134)]" 
Comment 27 raindrops 2007-06-16 04:23:35 UTC
Created attachment 45978 [details]
Original is OK; but pdf shows "visited" color
Comment 28 raindrops 2007-06-16 04:46:15 UTC
I have attached a sample (this file was created by stripping the actual
problematic document). 

In this file, the headers contain links top previous/next chapters. You can see
that the visited links have turned brown in pdf; but they retain their original
color in the original odt file!

But I crosschecked this by creating a new odt file and converting it into pdf;
and found no problems. (I tried to insert

So I conclude that the problem is conditional; and somehow my sample file
happens to trap that condition. But then the question is, what is this condition? :|

Comment 29 raindrops 2007-06-16 04:46:32 UTC
I have attached a sample (this file was created by stripping the actual
problematic document). 

In this file, the headers contain links top previous/next chapters. You can see
that the visited links have turned brown in pdf; but they retain their original
color in the original odt file!

But I crosschecked this by creating a new odt file and converting it into pdf;
and found no problems.

So I conclude that the problem is conditional; and somehow my sample file
happens to trap that condition. But then the question is, what is this condition? :|

Comment 30 Rainer Bielefeld 2007-06-16 06:34:45 UTC
I also tested internal links in an own document - no problem with "2.2.0RC4 
German version WIN XP: [680m14(Build9134)]": problem not reproducible.
"TrialDoc.odt" from raindrops' test kit shows an other problem on my PC: visited
links will not change colour.

@raindrops: 
- your OS / Platform / OOo source are?
- Can you reproduce the problem with 'rainerstestkit.zip'?
- Can you reproduce the problem with an own document similar to "mynewtest.odt"
- If not, any idea what might cause the problems with "TrialDoc.odt"?
Comment 31 Rainer Bielefeld 2007-06-16 06:39:38 UTC
Created attachment 45979 [details]
Test kit, but I don't believe that it will bring new insight to 'comments from raindrops Sat Jun 16 03:46:32 +0000 2007'
Comment 32 raindrops 2007-06-16 14:33:26 UTC
raindrops -> rainerbielefeld

Sorry-- Forgot to mention that part! Actually your observation is correct; and
that is supposed to happen by design: I have set the font style as "Default"
(with some additional modifications, such as bold+blue color). I didn't want my
hyperlinks to be the traditional underlined blue. (In fact, the middle part of
the header has yet another hyperlink, with RED color.)

But that makes it worse: How can OOo provide an unintended format in a converted
pdf?

***
My PC: Win XP Sp-2
My OOo Version: when I reported this problem it was 2.2.1 RC3; but now it is
dev2.3 SRC680_m216. Both versions have the same behavior. 

I cannot reproduce the problem with another fresh document. (I tried inserting
the "modified default" hyperlink in various ways: text, table, in header and in
a table in a header.) 

I had another problem with your sample: I changed format of your first link to
blue, bold, non-underlined (like my document). That converted well into pdf. But
then I changed the link color to green. If I convert this document into pdf,
this link shows blue! (Did you mean this??)

I am attaching the document...
Comment 33 raindrops 2007-06-16 14:36:39 UTC
Created attachment 45983 [details]
Change the Link1 color, click and then convert to pdf!