[api-dev] Navigator visible when opening document in hidden mode

2009-04-14 Thread Tobias Krais
Hi together, I detected a strange behaviour of OpenOffice.org (3.0.1 and older) while doing my unit tests. My tests first open a Global Document (.odm) and thus always open the document Navigator window. After closing the document there are two mysterious behaviours: 1. If I close the Global

Re: [api-dev] Navigator visible when opening document in hidden mode

2009-04-14 Thread Carsten Driesner
Tobias Krais wrote: Hi together, I detected a strange behaviour of OpenOffice.org (3.0.1 and older) while doing my unit tests. My tests first open a Global Document (.odm) and thus always open the document Navigator window. After closing the document there are two mysterious behaviours: 1. If

Re: [api-dev] Navigator visible when opening document in hidden mode

2009-04-14 Thread Tobias Krais
Hi Carsten, From my point of view point 2 looks like a bug. Point 1 is the defined behavior of docking windows. The visibility state of a docking windows is NOT stored dependent on the application module. Only toolbars and the status bar store their visibility state dependent on the

Re: [api-dev] regcomp fails with DocumentLoader example

2009-04-14 Thread Juergen Schmidt
Hi Maximilian, Maximilian Odendahl wrote: Hi, Compiling works fine, but then regcomp seems to hang forever, this is what I get: ---Register necessary runtime components in the DocumentLoader.rdb -/opt/openoffice.org/ure/bin/regcomp -register -r

Re: [api-dev] Getting my own toolbar via Java API

2009-04-14 Thread Carsten Driesner
Tobias Krais wrote: Hi together, I created a extension with a little Add-On toolbar. While I can access the bars OpenOffice.org delivers, e.g. the standard toolbar (private:resource/toolbar/standardbar) I wonder how I can get the toolbar of my extension. Can somebody help me with this? Hi

[api-dev] addTabpage UNO API

2009-04-14 Thread Yan Wu
Hi, I want to add some tabpage(s) to a UNO Dialog. Which UNO API(s) can be used to accomplish this? I referenced the example of MultiPage in the DevelopersGuide (sdk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/), but it looks like only containing one page. The

Re: [api-dev] Re: How to access the Storage of an opened OOo document?

2009-04-14 Thread Mikhail Voytenko
Hi Giuseppe, The document is working with the storage, that means that some parts of the storage are just locked by other components. This is why for example the substorages related to the embedded objects can not be opened. They are already opened by related components for editing and thus

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-14 Thread Mathias Bauer
Giuseppe Castagno wrote: Hi Mathias, Mathias Bauer wrote: Giuseppe Castagno wrote: Now my questions, keeping in mind that at a certain time I need to access the META-INF substorage to manipulate a custom file (read and write). Why do you need access to the META-INF? Everything in the

Re: [api-dev] OO Writer Extension

2009-04-14 Thread Mathias Bauer
Cristina Scheau wrote: Hi! I'm Cristina Scheau, a Computer Science student from Romania. I am new to Open Office API and intend to develop a XWiki(http://www.xwiki.orghttp://www.xwiki.org/xwiki/bin/view/Main/WebHome) Extension for OO Writer (this is my Gsoc proposal). My question is, there

Re: [api-dev] regcomp fails with DocumentLoader example

2009-04-14 Thread Maximilian Odendahl
Hi Juergen, the same, it works as expected on Solaris Intel. Keep in mind that you have to set UNO_PATH to the office program directory. For example UNO_PATH=/opt/openoffice.org3/program. Or soffice have to be in your PATH. bash-3.00# echo $UNO_PATH /opt/openoffice.org3/program bash-3.00#