Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
Hello, I'm thinking of adding checkin and checkout as ucp commands. Is it permitted to add my own ucb commands? -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani

Re: Adding my own ucb commands

2013-07-01 Thread Jürgen Schmidt
On 7/1/13 5:29 PM, Rajath Shashidhara wrote: Hello, I'm thinking of adding checkin and checkout as ucp commands. Is it permitted to add my own ucb commands? sure and it make sense of course but you focus on a simple open and save of documents first. Sorry I have found the time today to

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
Hello Juergen, My I use my own client application I am able to open and save documents. I'd like to know the ucb commands that are executed when open is clicked. Also, How exactly can I debug why my code is not working when using the open dialog? On Mon, Jul 1, 2013 at 9:28 PM, Jürgen Schmidt

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
Hello Juergen, I have changed my implementation for open command for document. Now I'm using InputStreamToXInputStreamAdapter from the api. But, now the readBytes() method now gives a null pointer exception. Here is the stack trace: com.sun.star.uno.RuntimeException: [jni_uno bridge error] UNO

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
Hello Juergen, When I upload a .odt file which contains Hello World as the only content and use open command, I get scrambled output. Is it a problem? Also I'm using the my own implementation of XInputStream rather than InputStreamToXInputStreamAdapter. Is that a problem? Still no luck with