Bug 688853 - images with hyperlinks
Summary: images with hyperlinks
Status: NOTIFIED INVALID
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 8.54
Hardware: PC Windows XP
: P4 normal
Assignee: Ralph Giles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 07:46 UTC by Mark Wakelin
Modified: 2008-12-19 08:31 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wakelin 2006-08-29 07:46:26 UTC
 
Comment 1 Mark Wakelin 2006-08-29 07:47:28 UTC
when converting MS word document with images and these images have hyperlinks, 
these hyperlinks are not available in PDF
Comment 2 Alex Cherepanov 2006-08-29 10:26:15 UTC
Ghostscript doesn't process MS Word documents directly.
There is a piece of software that converts the MS Word cocument to PostScript
file first. Please attach the intermediate PostScript file to this bug report.
Comment 3 Hin-Tak Leung 2006-08-29 15:23:44 UTC
Adobe Distiller generated pdf contains hyperlinks because of
two conditions:

(1) Adobe Distiller installs a set of word VBA macros
called PDFMaker into M$ Word, which pre-processes the word documents during 
distilling to insert the relevant pdfmarks marking the url's, etc 
into the postscript stream, so that Distiler can use them.
(same apply to internal links such as section headers, table of contents)
(2) to get the internal links such as toc/section reference, footnotes
correct, you have to structure your word documents strictly with
the relevant styles. 

The open-source equivalent to (1) is http://ghostword.sourceforge.net/ 
or http://www.schmitz-huebsch.net/gs4word/ -
unless you are using ghostword, gs4word or PDFMaker, this bug is 
probably invalid.

Openoffice also does pdf export keeping hyperlinks, etc.

Comment 4 Mark Wakelin 2006-08-31 01:17:21 UTC
I have downloaded GhostWORD and have used it succesfully to switch on and off 
the pdf with Hidden Hyper Links, etc. This is great..

However.. what is the ghostscript parameter to switch this on and off, as i 
have written my own module, and would rather use this than ghostword.

Any help would be greatly appreciated !
Thanks
Mark Wakelin
Comment 5 Hin-Tak Leung 2006-08-31 04:42:53 UTC
AFAIK there is no simple way of switching pdfmarks on and off from 
ghostscript, although if you redefine the pdfmark operator to 
empty with something like this:
 
globaldict
   begin
   /pdfmark /cleartomark load def
   end

You might be able to get rid of all pdfmark operations (internal 
cross-references, etc at toc's or indices, hyperlinks).

This bug is invalid, I gather?
Comment 6 Ralph Giles 2006-09-18 20:32:36 UTC
The original bug is invalid, so I guess now it's a support request. :-)

Mark, you might also look at PrimoPDF.com, which has document converter built on
top of Ghostscript. It's a free (AFPL) download as an advertisement for their
advanced and server products, and will probably do a better job than any custom
thing we could hack together.

I'll leave it at that.