Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-07 Thread Mathias Bauer
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

Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-07 Thread Tom Schindl
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

Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-07 Thread Francis Jones
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

Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-06 Thread Tom Schindl
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

Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-06 Thread Francis Jones
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.

Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-06 Thread Francis Jones
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

Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-05 Thread Tom Schindl
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.