Re: [api-dev] Assign to Save)-as) events behaviour

2006-09-08 Thread Paolo Mantovani
Hi Mathias, First of all, thanks for useful information and suggestions Please, see my comments in line Alle 08:50, giovedì 7 settembre 2006, Mathias Bauer ha scritto: [] Although an official support is actually missing, with a creative ;-) use of the createUnoListener() function it's

[api-dev] Disabling Commands at runtime depending on context

2006-09-08 Thread Jimmy
Now that I finally got my DisptachInterceptor running (thanks to Mathias), I'd like my application to have the following behaviour: Depending on the cursor context I'd like to enable or gray-out commands. 1.) How can I fire an event whenever the context of the cursor changes. For example the

[api-dev] Problem: rtf files haven't header and footer.

2006-09-08 Thread aloizio
Hi everybody, I am trying to merge a lot of RTF documents into only one rtf document. The problem happens when some rtf files have header and footer. They don't appear in the final merged document. Why the header and footer do not appear in merged document? Should I set any parameter of

Re: [api-dev] Disabling Commands at runtime depending on context

2006-09-08 Thread Jimmy
Alright, got a first hint and solved question Nr.1 with a XSelectionChangeListener. This only leaves question 2 open :) Jimmy schrieb: Now that I finally got my DisptachInterceptor running (thanks to Mathias), I'd like my application to have the following behaviour: Depending on the cursor

Re: [api-dev] Disabling Commands at runtime depending on context

2006-09-08 Thread Carsten Driesner
Jimmy wrote: 2.) How can I gray-out and enable commands at runtime? I got my DispatchInterceptor to gray out commands when initiated but how can I change the behaviour at runtime? Do I have to write more than one DispatchProviderInterceptor and release and register them all the time depending

[api-dev] [EMAIL PROTECTED] TOPIC: Contributing

2006-09-08 Thread Michael Hoennig
Dear OpenOffice.org community, This is the 2-weekly announcement of current issues regarding the OOo API project which I want to hightlight to the community. *** = *** Todays Issue: Contributing to the OOo API Project ***

Re: [api-dev] How can I concatenate a stream word collection

2006-09-08 Thread Andrew Douglas Pitonyak
I was never able to insert one document into another using a stream... I can open a document using certain types of streams (Never from a stream obtained from a database), but not insert (note that I use Basic). aloizio wrote: Hi I am able to store a document like a stream into database