[Libreoffice] Patch to fix bug in exporting relative hyperlinks to MS Word 97/2000/XP
Cédric Bosdonnat
cedric.bosdonnat.ooo at free.fr
Wed Nov 3 03:19:50 PDT 2010
Hi Knut,
On Fri, 2010-10-29 at 23:30 +0200, Knut Olav Bøhmer wrote:
> I would be very happy if someone could take a look at
> the attached patch, and maybe improve it.
First I couldn't reproduce the original problem neither with Word 97 nor
Word 2007+. It seems that Word perfectly handles the "/" as directory
separator (at least in the HYPERLINK fields). Could you provide
documents to help me reproduce it?
> Libo/OOo exports hyperlinks with / as directory separator. MS Office
> does not understand that kind of paths, so / has to be rewritten to \
>
>
> Description is here:
> http://qa.openoffice.org/issues/show_bug.cgi?id=115297
Hum... That patch doesn't seem to harm anybody, but I'll push it after
having understood the problem ;)
I discovered another problem that may be related to your troubles:
relative hyperlinks with spaces in their path can't be opened. The
reason is that the space character is transformed into a %20 in the
HYPERLINK value... which word doesn't understand as a space but as the
"%20" string.
Could you check that you don't fall into that problem? If you're
interested in fixing those doc path problems, then that one should be
easy for you given the nice patch you already provided ;)
Regards,
--
Cedric
More information about the LibreOffice
mailing list