Re: [api-dev] Copy/insert a DialogLibrary into a WriterDocument

2006-10-12 Thread Fernand Vanrie
OK: Found i a bit more about how Libraries are stored in a doc whe gave a LibraryContainer with inside a ModuleConTainer and a Dialogcontainer When using Xray on a doc with BasicModules and a dialog i get acces to the ModuleContainer an can copy the modules but i get a nul object for the

Re: [api-dev] Copy/insert a DialogLibrary into a WriterDocument

2006-10-12 Thread Andreas Bregas
Hi Fernand, I can copy/install a Basiclibrary from one Doc to a other Doc!!! But: i can not copy/install the BasicDialogs of the same library ??? I can get the Dialoglibrary of the current document (= DialogLibraries) You can? I'm surprised, because this should be the problem.

Re: [api-dev] Calc: Switch DesignMode On/Off

2006-10-12 Thread Mathias Bauer
Frank Schönheit - Sun Microsystems Germany wrote: Hi Mathias, I'm a little bit unclear about an API for the design mode. First IMHO this isn't an API that you would expect to have at the model. It looks like something UI related. Maybe we can see this as a view setting? Where is it stored

Re: [api-dev] Copy/insert a DialogLibrary into a WriterDocument

2006-10-12 Thread Fernand Vanrie
Andreas, Thanks for the reply, doe it also explains: When using Xray on a doc with BasicModules and a dialog i get acces to the ModuleContainer an can copy the modules but i get a nul object for the DialogContainer. xray oTemplate.getLibraryContainer.getbyname(Standard).getModulecontainer