After converting a Word document to PDF using Adobe Acrobat Pro 9.9.3, I open the created PDF and want to highlight the hyperlinks in the document so that the user could see that there's something clickable.
In general, this works fine, but there's strange stuff in the TOC of the document (the TOC was created in Word):
See what I mean? I added a blue border around each hyperlink. But where do these hyperlinks after the chapter number come from? They point to the same place where also the chapter numbers point to.
Relevant PDF creation settings are:
- convert Word headings to hyperlinks
- convert Word styles to hyperlinks
De-selecting convert Word styles to hyperlinks doesn't change anything.
Obviously this is caused by my styles for the TOC, but I can not figure out, what it is...
After playing around with the formatting of my TOC styles, I figured out that it only happens, when my selected font size of a style is smaller than 12pt. Maybe this helps anyone to provide me an answer. I refuse to believe that changing the font size of the TOC entries results in different hyperlinks...
I had a look on the styles used in the resulting TOC:
Green marks text formatted as
hyperlink, red marks text being formatted as
toc-style-1 (or whatever this may be called in an english Word). I think, this might be a cause but I'm giving up now, waiting for the brave guy that understands what's going on.
Answering questions asked by Arjan in his comments:
- In Word, the whole line is clickable
- The dots are visible in the PDF. They are defined to be the filling mark between the heading title and the page number
- Yes, the dots are clickable in the PDF.
- The relevant hyperlink covers the whole line from beginning of chapter title until the end of the line number
- If I change the numbering of my chapters from using tabs between number and text to spaces between number and text, the hyperlink in the TOC changes: it now covers all the line from start of chapter number until end of page number. But there's still such a hyperlink fragment after the TOC entry.
- When I copy the line from PDF, the dots are just dots.