[api-dev] Welcome aboard

2008-07-16 Thread Juergen Schmidt
Hi, i would like to welcome philhibbs, samrit, rbharat, eldeeb and geoff_stiles as our newest project members! Let me encourage you to subscribe to the dev@api.openoffice.org mailing list http://api.openoffice.org/servlets/ProjectMailingListList and take a look at the web page and wiki

Re: [api-dev] Implementing UNO service as singleton

2008-07-16 Thread Stephan Bergmann
Marcin Miłkowski wrote: Hi again, Stephan wrote: I do not understand your first part (about classpath), but multiple instances are of course still generated when you use com.sun.star.comp.loader.FactoryHelper.createComponentFactory in __getComponentFactory. You have to return your own

[api-dev] Selecting, Reading, and Entering Text

2008-07-16 Thread Hal Vaughan
I recorded a macro to select text, copy it to the keyboard, then to enter a new character. In the long run, I'm going to want a macro that selects the character before the cursor, then reads in that character so I can use it to compare to something else. When I'm done, I'd delete that

[api-dev] Re: [Spam] [api-dev] Selecting, Reading, and Entering Text

2008-07-16 Thread Fernand Vanrie
Hal Vaughan wrote: I recorded a macro to select text, copy it to the keyboard, then to enter a new character. In the long run, I'm going to want a macro that selects the character before the cursor, then reads in that character so I can use it to compare to something else. When I'm done, I'd

Re: [api-dev] Implementing UNO service as singleton

2008-07-16 Thread Marcin Miłkowski
Hi, Stephan Bergmann pisze: == class SingletonFactory implements XSingleComponentFactory { private Object instance = null; public Object createInstanceWithArgumentsAndContext(Object[] arg0, XComponentContext arg1) throws com.sun.star.uno.Exception { if (instance == null) {

Re: [api-dev] Table of Content Hyperlink problem

2008-07-16 Thread Nicole Scholz
Thanks for the fast answer! I changed the replacement statement to: LevelFormat~xIndexAccess~xIndexReplace~replaceByIndex(1, propsToc) but unfortunately I get this error: method [REPLACEBYINDEX], method not found or error (exception) executing method! Perhaps I have forgotten to link

Re: [api-dev] Table of Content Hyperlink problem

2008-07-16 Thread Rony G. Flatscher
Hi, Nicole Scholz wrote: Thanks for the fast answer! I changed the replacement statement to: LevelFormat~xIndexAccess~xIndexReplace~replaceByIndex(1, propsToc) but unfortunately I get this error: method [REPLACEBYINDEX], method not found or error (exception) executing method!

Re: [api-dev] Selecting, Reading, and Entering Text

2008-07-16 Thread Andrew Douglas Pitonyak
I do not have time to test this, so... Hal Vaughan wrote: I recorded a macro to select text, copy it to the keyboard, then to enter a new character. In the long run, I'm going to want a macro that selects the character before the cursor, then reads in that character so I can use it to