Re: [dev] XStorable and copy/pasting text containing Microsoft Equation objects

2009-02-12 Thread Mikhail Voitenko
Hi Martin, The problem looks strange, the UI-source code that is used in case of dispatch saving does not really do anything special regarding the arguments if I remember correctly. And the arguments you send look correct. The error you have mentioned looks to be writer error

Re: [dev] OO 3.0, COM, loadComponentFromURL, readOnly ever .... :-(

2008-12-15 Thread Mikhail Voitenko
Hi Marten, As Mathias has written it would really help if you provide the code snippet related to parameters generation of the call. There is currently no known problem in this area, thus the scenario you are using should have a specific that let the problem be reproducible. And to detect

Re: [dev] OO 3.0, COM, loadComponentFromURL, readOnly ever .... :-(

2008-11-26 Thread Mikhail Voitenko
Hi Marten, It looks pretty like as if the document was locked. Strange enough you can still open it in UI office. The only possible scenario with such behavior that I currently see is that the script uses a different office instance ( at least different user configuration ) than the UI OOo

Re: [dev] File lock problem

2008-11-24 Thread Mikhail Voitenko
Hi Jakob, The file lock was temporary released during the saving was actually a bug in the OOo2.x system file locking implementation. I do not see a way to workaround the problem, except using UNO API to load the document. In this case you could register a listener that would be notified when

Re: [dev] Saving Documents

2008-04-04 Thread Mikhail Voitenko
location. I want the text on the document to be saved and the title of the document should change from Untitled1 document to the name of the document. What I am trying to do is probably exactly the same as the OOo build-in save function. Please advice. Thanks, Min Mikhail Voitenko wrote: Hi

Re: [dev] Saving Documents

2008-04-04 Thread Mikhail Voitenko
Hi Peter, I would strongly advise not to use getCurrentFrame(), especially in this context. The AddOn instance must use the own frame that is actually known. Yes, in most cases the current frame will be the frame the addon is related to, but not always. Best regards, Mikhail. Peter

Re: [dev] Saving Documents

2008-04-03 Thread Mikhail Voitenko
); System.out.println(\nDocument \ + sLoadUrl + \ saved under \ + sSaveUrl + \\n); } catch( Exception e ) { e.printStackTrace(System.err); System.exit(1); } } Mikhail Voitenko wrote: Hi, Which API are you

Re: [dev] Saving Documents

2008-04-02 Thread Mikhail Voitenko
Hi, Which API are you using currently to let the document be saved? Please describe the arguments you provide to the API ( if any ) as well. Best regards, Mikhail. yaungmin wrote: Here is detail information about the project that I am working on. I am using Java for this add-on program.

Re: [dev] OLE conversion sun build vs. the rest of the world [ Was RE: [dev] .Doc importer performance ]

2007-03-26 Thread Mikhail Voitenko
Hi Gregoire, Actually all the optimizations for the OLE object loading are commited to the OOo cvs tree. So the behavior should be just the same, although I do not know the details about how the other binaries are built. By the way, had all the office builds the same version OOo2.1? Can it be

Re: [dev] About encryption in OOo

2006-08-02 Thread Mikhail Voitenko
Hi Thomas, A stream is always compressed before encrypting by the package component. The checksum is generated based on the first 1024 bytes of the compressed stream data using SHA1 algorithm ( if the stream is smaller the whole stream is taken ). This is why it is named SHA1/1K. Hope that

Re: [dev] Styles not updating from linked template

2006-03-21 Thread Mikhail Voitenko
Hi Jean, The problems seems not to be reported till now. I have just submitted a new issue for the problem you have described: http://www.openoffice.org/issues/show_bug.cgi?id=63440 Thanks, Mikhail. Jean Hollis Weber wrote: If this is not the right list for this question, please let me know

Re: [dev] How can I embed OOo objects in a HTML documents?

2006-02-28 Thread Mikhail Voitenko
Hi Luiz, OOo ActiveX control was designed to be a fullwindow viewer embedded in MSIE browser. It was not designed to be used in HTML composition. Although it might work somehow, there is no official support for this feature currently. Regards, Mikhail. Luiz Siqueira wrote: I need to embed a