Re: How to create hyperlink to a caption for foérm Word exported HTML
- From: "Bob Buckland ?:-\)" <75214.226(At Beautiful Downtown)compuserve.com>
- Date: Wed, 16 Jul 2008 13:45:00 -0700
Hi Jan,
As Stefan mentioned in the reply to your previous message, Word fields that use a built in hyperlink switch ( \h) don't necessarily
retain the link behavior when converting to HTML. This hasn't really changed much since Word started supporting conversion to HTML
in Word v6, other than the Table of Contents field supporting the linking.
You can select a cross ref in the document and apply a Word hyperlink field to to it if you have a bookmark or heading as a target,
or but part of what you're working on may depend on how much the web page is supposed to look like the Word document, it may hold a
few surprises for you in that area as well.
It may be possible to use a macro (Stefan or one of the other folks may be able to help with tackling that) to convert the xrefs to
hyperlinks.
Another approach that may work for you is to use the Office 2007 save as PDF feature and then a 3rd party PDF-to-HTML converter, if
your project doesn't let you use PDF. The PDF add-in will keep the xrefs.
You may need to try a few different ones to see if you can find one that supports all of the formatting you need. Many of the ones
I tried some time ago didn't do particularly well . A number of the simpler ones, such as the one built in to G-mail, or Adobe's
email PDF2HTML@xxxxxxxxx converter will strip out graphics, as these tools were in part designed for the use with screen reading
software.
There are also Doc to HTML converters you may want to try as well to see if you can find one that would eliminate the PDF 'middle'
step.
Another possibility would be to try working with Save to XML in Word and apply an XML2HTML transform that would need to be written
to be able to handle {NoteRef} fields from Word.
You mentioned DreamWeaver. If I recall it does offer a .DOC to HMTL conversion capability.
===================
<<"Jan Kratochvil" <JanKratochvil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:39B4765C-853A-436A-93F3-217AD6DDD05E@xxxxxxxxxxxxxxxx
Now I am staying in front of this problem:
I have a task to create from a large Word document a HTML document with all
the links which are now working in normal DOC file, e. g. cross-referneces
and links to the image captions (through cross-references).
AFAIK it is not posible, if I save the DOC file as HTML or HTM file from
Word, to get functional cross-reference. Cross-references are lost in taht
file.
1/ So I must go now trough the whole document and compare the functional
cross-reference links and replace them in the HTML file with HYPERLINKs.
2/ And what about captions - they was in DOC as well functional through
cross-references?
I do not know how to create in a Word created HTML file the HYPERLINKs for
capptions.
One possibility, I can imagen would be to create the hyperlinks in external
HTML editor like Dremaweaver, but it wil be troublesome and it takes much
time.
--
Regards
Jan Kratochvil
WIN XP Pro SP2, Office 2007 SP 1 >> >>
--
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*
.
- Follow-Ups:
- Re: How to create hyperlink to a caption for foérm Word exported H
- From: Jan Kratochvil
- Re: How to create hyperlink to a caption for foérm Word exported H
- Prev by Date: Re: can PDF files be combined?
- Next by Date: Re: Filtered HTML only partially does the job. Can I save that in
- Previous by thread: Re: Filtered HTML only partially does the job. Can I save that in ASC
- Next by thread: Re: How to create hyperlink to a caption for foérm Word exported H
- Index(es):
Relevant Pages
|