Francis Jones wrote:
This looks like a bug on the Windows version:
Input: C:\tmp\test\1234.odt
Output from ConvertToURL(): file:///C:/tmp/test/1234.odt
There are 3 fwd slashes before the drive specifier, but there should
only be 2.
No, 3 slashes are correct as Tom already pointed out
If I give it a filename like C:\tmp\test\1234.odt, then it produces as
a URL file:///C:/tmp/test/1234.odt.
That's correct:
file:// ... the protocol part
/ ... root of your filesystem
Is that right? There are 3 slashes after file:; I had thought it
should be file://C:/tmp/test/1234.odt
Tom Schindl wrote:
If I give it a filename like C:\tmp\test\1234.odt, then it produces as
a URL file:///C:/tmp/test/1234.odt.
That's correct:
file:// ... the protocol part
/ ... root of your filesystem
Is that right? There are 3 slashes after file:; I had thought it
should be
Francis Jones wrote:
Peter Eberlein wrote:
Hi,
Tom Schindl schrieb:
Hi,
if you don't show us the error you are getting we are lost. But if need
a example of how one can convert documents this codesnippet does exactly
that. You simply have to code the loop fetching all documents in a
Peter Eberlein wrote:
Hi,
Tom Schindl schrieb:
Hi,
if you don't show us the error you are getting we are lost. But if need
a example of how one can convert documents this codesnippet does exactly
that. You simply have to code the loop fetching all documents in a given
directory.
Tom Schindl wrote:
Francis Jones wrote:
Peter Eberlein wrote:
Hi,
Tom Schindl schrieb:
Hi,
if you don't show us the error you are getting we are lost. But if need
a example of how one can convert documents this codesnippet does exactly
that. You simply have to code the loop fetching all
Hi,
Thanks for the info Peter. Then we should add this to the snippet how I
can one access from within UNO the actual OO-Version?
In the meanwhile I'll add a comment.
Tom
Peter Eberlein wrote:
Hi,
Tom Schindl schrieb:
Hi,
if you don't show us the error you are getting we are lost.