Re: [api-dev] How to reload current opened document via API

2009-06-08 Thread Mathias Bauer
bvoll...@informatik.uni-bremen.de wrote: Quoting Mathias Bauer nospamfor...@gmx.de: Benjamin Vollmer wrote: Hello, I work on an extension where in some cases the opened document is updated externally. So I have to reload my document. In a snippet I found this way: PropertyValue[]

Re: [api-dev] Macro ODB documents

2009-06-08 Thread Mathias Bauer
Frank Schönheit - Sun Microsystems Germany wrote: Hi Mathias, I still think that defining ThisComponent as the component from which the macro was invoked (as opposed to the component which the macro is embedded into) was the better choice, and causes less hassle. Finally, this means that

Re: [api-dev] Macro ODB documents

2009-06-08 Thread Mathias Bauer
Frank Schönheit - Sun Microsystems Germany wrote: This was one design decision we had to make when Base was created in the current form. Finally, the decision for SDI was because of technical constraints, since OOo doesn't have an infrastructure for MDI. Chosing SDI in favor of MDI was not

Re: [api-dev] Macro ODB documents

2009-06-08 Thread Frank Schönheit - Sun Microsystems Germany
Hi Mathias, This was one design decision we had to make when Base was created in the current form. Finally, the decision for SDI was because of technical constraints, since OOo doesn't have an infrastructure for MDI. Chosing SDI in favor of MDI was not because we didn't have an

Re: [api-dev] Macro ODB documents

2009-06-08 Thread Frank Schönheit - Sun Microsystems Germany
Hi Mathias, This is forbidden already: The Run Macro dialog lists the global macros, plus the ones from the current document, nothing else. You still can execute the macros from Tools-Macro-Organize. Ah, right. I thought that was forbidden, too. I remember having seen some error dialog when

Re: [api-dev] Problems with clearContents in OO 3.1 (XP and W2K)

2009-06-08 Thread Niklas Nebel
On 06/06/09 08:49, Bart Aimar wrote: I am only a normal user and often confused from issues... but te issue 101869 relate FIXED (Fixed in CWS calc311fixes (for 3.1.1) and calc50 (for 3.2) ). Still I'm not expert about developper versions... but I have installed OOo-dev 3.2.0 DEV300m49 (build

Re: [api-dev] How to reload current opened document via API

2009-06-08 Thread bvollmer
Quoting Mathias Bauer nospamfor...@gmx.de: bvoll...@informatik.uni-bremen.de wrote: Unfortunately the solution with .uno:Reload does not work anymore since OO.org 3.1 was released. Under Windows I cannot update the opened document externally because it is locked. I need a workaround with close