Hi, It's not possible to create a DDE link from Calc to Writer with relative paths.
Thanks for bugreport Steps to reproduce: 0. Opens existing ods file in Calc, select something there and press Ctrl-C 1. Start Writer, press Ctrl-Shift-V, select "DDE link" 2. in Writer do Edit->Links. For example there is /home/s/file1.ods. Try variant file1.ods and ./file1.ods Expected: it will work Actually: complains that link can not be established reproduced in 3.3.4 and 3.5.4 on Fedora 64 bit IMHO problem was in 3.2.1 Workaround: use ~/../.. (tilda, used for user folder, .. used for parent folder), for example in my case /home/s/file1.ods may replaced to ~/../../home/s/file1.ods and it works correctly.
Hi, FYI: I found a better workaround prepending URL prefix file: before relative path. So you can write file:../foobar.ods instead of ../foobar.ods (Googled from discussion under http://openoffice.blogs.com/openoffice/2006/06/pasting_openoff.html) Regards -- Zito
Thanks for additional workaround. I will use it
Yes workaround works fine, but a relative path isn't still generated with libo 3.6.4 (windows seven)
Hi, Same problem with 3.6.4 : I have to specify "file:".
Doesn't work on 4b2 !
@ cébé Thanks for additional testing Sorry, but "Version" is most old version of LO where bug is reproduced. Not current version. Changing back to 3.3.4 and platform to All
Each time I try to make this file: link (replacing the absolute link), I have an error message. But if I click on "Refresh" (I don't know if it's Refresh : it's Actualiser in french), datas are refreshed. Moreover, this trick doesn't work with internal link. As I want to use datas from calc document, I copy entire array from Calc to Writer with DDE paste. After that, I "DDE copy" some data in the same Writer document to have my own layout (not an table !). In DDE links table, this kind of link is written as : __DdeLink__7337_1235083230. It's ok, it works. But, as usual, file reference is absolute and here, if I try file:, it doesn't work.
This bug is still in 4.1 & 4.2 dev. Nowadays, many peoples work in different places, with different computers. So having the ability to use relative path in all LO feature is a must have feature. Of course workaround works fine, but we can't tell users to go into Edit/Links and modify all DDE path to be relative. This workaround is only for advanced users
DDE Link from calc to writer are still not stored as relative links as it should be to conform with the option "store relative path FS" LO 4.3.1.1
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.