RE: [api-dev] Re: the meaning of "="

2008-02-11 Thread John Sisson
The great resource for OO-Basic programming is Andrew Pitonyak's "OpenOffice.org Macros Explained". In there is a lot of help on all aspects of ooBasic programming including String functions such as split() which along with trim() seems appropriate to your task. Thanx - John S -Original Messag

[api-dev] Re: the meaning of "="

2008-02-11 Thread Jonathan Kaye
Steffen Grund wrote: > Hello, > > I am not the Basic expert here, but wouldn't something like this work? > > While Position <> > Position = Instr(i, ProcessString, " ") > etc. etc. etc. > Wend > > and just initialize Position before, so it does not have the exit value? > >

Re: [api-dev] New intermediate version 1.1.1 of the OpenOffice.org API plugin available

2008-02-11 Thread Wouter van Reeven
Hi Jürgen, On Mon, Feb 11, 2008 at 04:42:02PM +0100, Juergen Schmidt wrote: > i have promised it for last Friday but i wanted to do some clean up > first, sorry for the delay ;-) > > I have put a new intermediate version 1.1.1 of the OpenOffice.org API > plugin on the API project page > (http:

Re: [api-dev] Re: [NOT SOLVED] [api-dev] [C++] TextEmbeddedObject for inserting spreadsheet into swriter

2008-02-11 Thread Ariel Constenla-Haile
Hi Andre, Peter, *, Peter Eberlein escribió: Hi Andre, Andre Heine schrieb: Ok, the next problem... Am Montag, 11. Februar 2008 15:37 schrieb Andre Heine: Am Montag, 11. Februar 2008 13:41 schrieb Andre Heine: Reference object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"), UNO

Re: [api-dev] Re: [NOT SOLVED] [api-dev] [C++] TextEmbeddedObject for inserting spreadsheet into swriter

2008-02-11 Thread Peter Eberlein
Peter Eberlein schrieb: Hi Andre, Andre Heine schrieb: Ok, the next problem... Am Montag, 11. Februar 2008 15:37 schrieb Andre Heine: Am Montag, 11. Februar 2008 13:41 schrieb Andre Heine: Reference object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"), UNO_QUERY); Using XTextC

Re: [api-dev] Re: [NOT SOLVED] [api-dev] [C++] TextEmbeddedObject for inserting spreadsheet into swriter

2008-02-11 Thread Peter Eberlein
Hi Andre, Andre Heine schrieb: Ok, the next problem... Am Montag, 11. Februar 2008 15:37 schrieb Andre Heine: Am Montag, 11. Februar 2008 13:41 schrieb Andre Heine: Reference object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"), UNO_QUERY); Using XTextContent for XTextEmbeddedO

Re: [api-dev] the meaning of "="

2008-02-11 Thread Steffen Grund
Hello, I am not the Basic expert here, but wouldn't something like this work? While Position <> Position = Instr(i, ProcessString, " ") etc. etc. etc. Wend and just initialize Position before, so it does not have the exit value? -Steffen Jonathan Kaye wrote: Johnny Rosenberg

[api-dev] New intermediate version 1.1.1 of the OpenOffice.org API plugin available

2008-02-11 Thread Juergen Schmidt
Hi, i have promised it for last Friday but i wanted to do some clean up first, sorry for the delay ;-) I have put a new intermediate version 1.1.1 of the OpenOffice.org API plugin on the API project page (http://api.openoffice.org/Projects/NetBeansIntegration/org-openoffice-extensions.nbm).

[api-dev] Re: [NOT SOLVED] [api-dev] [C++] TextEmbeddedObject for inserting spreadsheet into swriter

2008-02-11 Thread Andre Heine
Ok, the next problem... Am Montag, 11. Februar 2008 15:37 schrieb Andre Heine: > Am Montag, 11. Februar 2008 13:41 schrieb Andre Heine: > > Reference > > object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"), > > UNO_QUERY); > > Using XTextContent for XTextEmbeddedObject will work for

[api-dev] Re:[SOLVED] [api-dev] [C++] TextEmbeddedObject for inserting spreadsheet into swriter

2008-02-11 Thread Andre Heine
Hello all, Am Montag, 11. Februar 2008 13:41 schrieb Andre Heine: > Reference > object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"), > UNO_QUERY); Using XTextContent for XTextEmbeddedObject will work for me. Now, I can see a spreadsheet in my writer component... Thx && greetings.

[api-dev] the meaning of "="

2008-02-11 Thread Jonathan Kaye
Johnny Rosenberg wrote: Hi Johnny and Ariel, Thanks to both of you. Your advice was extremely helpful and I've been able to carry on a fair bit until hitting the next obstacle. The contextual help available in the Macro editor really speeds things up and the methods that Johnny suggests are also

Re: [api-dev] XDispatchProviderInterceptor - menu entries stay disabled ...

2008-02-11 Thread Oliver Brinzing
Hi Carsten, > What you have found is an optimization for the menu implementation. > Status updates are not very cheap and the current states of the menu > entries are not visible to the user. The menu contains about 300 entries > and can have a significant performance impact for status updates.

[api-dev] [C++] TextEmbeddedObject for inserting spreadsheet into swriter

2008-02-11 Thread Andre Heine
Hello all, I'm trying to insert my generated XSpreadsheet into an swriter component: -- Reference oowriter = this->createComponent( "private:factory/swriter" ); Reference fac(oowriter,UNO_QUERY); Reference object(fac->createInstance("com.sun.star.text.TextEmbeddedObject"), U

Re: [api-dev] XDispatchProviderInterceptor - menu entries stay disabled ...

2008-02-11 Thread Carsten Driesner
Tobias Krais schrieb: Hi Carsten, > Is it possible to start an update manually for a certain toolbar? Or is the only solution to change the menus transient as described in this snippet: http://codesnippets.services.openoffice.org/Office/Office.RemoveIterativeAndTransientMenubarItems.snip? H