Hello,
I'm currently trying to generate a help for a pretty big .docx file.
But somehow even thought the chmprocessor seems to regognize internal links, they are not in the chm file.
I've traced it down to the following issue:
The internal Links in the document were created as cross references. Not as Hyperlinks.
I've attached a demo file that demonstrates this.
The first link (Test2) has been created with Hyperlink->current Document. This one works.
The second link has been created as a cross-reference with the checkbox "create Hyperlink" checked. This one is not recognized as a link :(
Can you please add support for cross-references as links?
kind regards,
Haynes
Hello. Your test is right, and it has no easy solution.
The application saves the word as filtered html (file > save as > type = HTML, filtered) and then creates the CHM from that HTML.
MS Word don't create links for cross references when you save filtered HTML (not filtered HTML is not HTML standard). I have been searching and it seems there is no option for that (http://answers.microsoft.com/en-us/office/forum/office_2010-word/cross-references-revert-to-plain-text-when-saved/79819d49-0906-4784-a428-e44a1f35ccfc)
Probably, the application could do the cross references replacement manually before save as HTML, but I'm not planning to do it, sorry.
I'll document this limitation.
https://groups.google.com/d/msg/microsoft.public.word.vba.general/1nW_TNO3gnw/sYhQywnvfmMJ could be a start