Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
Hello Jurgen, I'm sorry abt the odf file. I thought that ODF was opendocument format and is the parent format for all the opendocument formats. But, Now i checked it. it is formula file. On Tue, Sep 10, 2013 at 8:56 PM, Jürgen Schmidt wrote: > On 9/10/13 5:22 PM, Rajath Shashidhara wrote: > > He

Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Jürgen Schmidt
On 9/10/13 5:22 PM, Rajath Shashidhara wrote: > Hello, > > should I explicitly set the mimetype as odf? no you can't do that, it depends on the file. It's not always an odf file. What comes next after the transfer? Maybe it is necessary to prepare the final save first and wait for further info ..

Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
Hello, should I explicitly set the mimetype as odf? On Tue, Sep 10, 2013 at 8:51 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Jurgen, > Yes I have debugged the calls. > FIrst, the ucb tries to queryContent for the object name specified through > the save dialog. > Then, if

Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
Hello Jurgen, Yes I have debugged the calls. FIrst, the ucb tries to queryContent for the object name specified through the save dialog. Then, if it fails. It obtains the parent content. Then Issues a "transfer" command. But, the only information it provides is a TransferInfo object. WHich just con

Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Jürgen Schmidt
On 9/10/13 5:08 PM, Rajath Shashidhara wrote: > Hello, > > When I create a new Document and save it from dialog on a cmis repository, > I need the media type of the file. > > In the back end what happens is, when a new document is created in > OpenOffice, it is stored in a temp file on the harddi

MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
Hello, When I create a new Document and save it from dialog on a cmis repository, I need the media type of the file. In the back end what happens is, when a new document is created in OpenOffice, it is stored in a temp file on the harddisk. So, when I save it from the save dialog on a cmis reposi