[api-dev] macro not working when OO started via Java API

2007-02-15 Thread Dominique De Munck
Hi, I'm using the Java bootstrap method to open a OO Writer document as described in: http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip However, when there are macros included in the document that I'm opening, the user gets no Alert that the document contains

Re: [api-dev] macro not working when OO started via Java API

2007-02-15 Thread Mathias Bauer
Dominique De Munck schrieb: Hi, I'm using the Java bootstrap method to open a OO Writer document as described in: http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip However, when there are macros included in the document that I'm opening, the user

Re: [api-dev] macro not working when OO started via Java API

2007-02-15 Thread Dominique De Munck
your assumption was right! I did search in the developer docs on this, but got a bit lost. Thanx a lot ! for the record, this is how I did it: PropertyValue[] myProperties = new PropertyValue[3]; myProperties[0] = new PropertyValue(); myProperties[0].Name = Hidden;

Re: [api-dev] macro not working when OO started via Java API

2007-02-15 Thread Jim Watson
On 16/02/2007, at 12:39 AM, Mathias Bauer wrote: Dominique De Munck schrieb: Hi, I'm using the Java bootstrap method to open a OO Writer document as described in: http://codesnippets.services.openoffice.org/Office/ Office.BootstrapOpenOffice.snip However, when there are macros included