<div class="gmail_quote">2010/11/3 Cédric Bosdonnat <span dir="ltr">&lt;<a href="mailto:cedric.bosdonnat.ooo@free.fr">cedric.bosdonnat.ooo@free.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Knut,<br>
<div class="im"><br>
On Fri, 2010-10-29 at 23:30 +0200, Knut Olav Bøhmer wrote:<br>
&gt; I would be very happy if someone could take a look at<br>
&gt; the attached patch, and maybe improve it.<br>
<br>
</div>First I couldn&#39;t reproduce the original problem neither with Word 97 nor<br>
Word 2007+. It seems that Word perfectly handles the &quot;/&quot; as directory<br>
separator (at least in the HYPERLINK fields). Could you provide<br>
documents to help me reproduce it?<br></blockquote><div><br></div><div>Yes, it looks like the &#39;/&#39; and &#39;\&#39; was not the problem. The problem is that Libo/OOo sets an attribute that tells MS Office that the hyperlink is absolute, not relative. But the path is still relative. </div>
<div>I&#39;ll provide a patch today. </div><div><br></div><div>I&#39;ll make a new patch soon.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt; Libo/OOo exports hyperlinks with / as directory separator. MS Office<br>
&gt; does not understand that kind of paths, so / has to be rewritten to \<br>
&gt;<br>
&gt;<br>
&gt; Description is here:<br>
&gt; <a href="http://qa.openoffice.org/issues/show_bug.cgi?id=115297" target="_blank">http://qa.openoffice.org/issues/show_bug.cgi?id=115297</a><br>
<br>
</div>Hum... That patch doesn&#39;t seem to harm anybody, but I&#39;ll push it after<br>
having understood the problem ;)<br>
<br>
I discovered another problem that may be related to your troubles:<br>
relative hyperlinks with spaces in their path can&#39;t be opened. The<br>
reason is that the space character is transformed into a %20 in the<br>
HYPERLINK value... which word doesn&#39;t understand as a space but as the<br>
&quot;%20&quot; string.<br>
<br>
Could you check that you don&#39;t fall into that problem? If you&#39;re<br>
interested in fixing those doc path problems, then that one should be<br>
easy for you given the nice patch you already provided ;)<br>
<br>
Regards,<br>
--<br>
Cedric<br>
<br>
<br>
<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Knut Olav Bøhmer<br>