Re: [api-dev] Migrating simple bootstrap to OOo3

2008-09-30 Thread Matthias B.
All that's really needed is the classes/ subtree of the 3.0 SDK. We're building our own program with the 2.4 SDK and the classes/ from 3.0 and it bootstraps fine with 2.4 and 3.0. I've uploaded the classes to http://wollmux.forge.osor.eu/classes.tar.gz Matthias

Re: [api-dev] Migrating simple bootstrap to OOo3

2008-09-30 Thread Tobias Krais
Hi Matthias, thanks for the classes. All that's really needed is the classes/ subtree of the 3.0 SDK. We're building our own program with the 2.4 SDK and the classes/ from 3.0 and it bootstraps fine with 2.4 and 3.0. I've uploaded the classes to These classes work for me in Linux with OOo

Re: [api-dev] Migrating simple bootstrap to OOo3

2008-09-30 Thread Tobias Krais
Hi Juergen, you can find a SDK under http://distribution.openoffice.org/mirrors/#mirrors - select one of the mirrors and search under .../contrib/rc/3.0.0rc2 Sorry that it is so complicate and i promise that we will provide an easier mechanism in the near future. I always have the same

Re: [api-dev] Migrating simple bootstrap to OOo3

2008-09-30 Thread Matthias B.
On Tue, Sep 30, 2008 at 12:29 PM, Tobias Krais [EMAIL PROTECTED] wrote: Exception in thread main java.lang.UnsatisfiedLinkError: C:\Dokumente und Eins tellungen\twc\Lokale Einstellungen\Temp\unowinreg7421.dll: Diese Anwendung konnt e nicht gestartet werden, weil die Anwenungskonfiguration

Re: [api-dev] Migrating simple bootstrap to OOo3

2008-09-30 Thread Tobias Krais
Hi Matthias, thanks for your answer. Exception in thread main java.lang.UnsatisfiedLinkError: C:\Dokumente und Einstellungen\twc\Lokale Einstellungen\Temp\unowinreg7421.dll: Diese Anwendung konnt e nicht gestartet werden, weil die Anwenungskonfiguration nicht korrekt ist. As you can see

Re: [api-dev] Migrating simple bootstrap to OOo3

2008-09-30 Thread Tobias Krais
Hi Stephan, is that the recently introduced com/sun/star/lib/loader/Loader$Drain.class is not included. my SDK 2.4.1 does not come with this file. I do not have an Release candidate SDK installed (where can I get it?). Since when does the new class come along? The Simple Bootstrap

[api-dev] Get Selected Text in the actual TextDocument

2008-09-30 Thread Joel Cordeiro
Hi, does anyone could help me about how to get the selected text in the actual TextDocument (Writer)? How does we cast the returned object in the method getCurrentSelection() ? Or there is another way? If possible, a simple example would be really nice.. Regards, Joel Filipe Antunes Cordeiro

Re: [api-dev] Get Selected Text in the actual TextDocument

2008-09-30 Thread Rony G. Flatscher
Joel Cordeiro wrote: does anyone could help me about how to get the selected text in the actual TextDocument (Writer)? How does we cast the returned object in the method getCurrentSelection() ? Or there is another way? If possible, a simple example would be really nice.. You could look-up

[api-dev] Some interesting OOo macros, many based on Andrew Pitonyaks great Basic examples ...

2008-09-30 Thread Rony G. Flatscher
Hi there, from time to time students work on creating/transcribing OOo macros for the different document types using an end-user developer (EUD) programming/scripting language named ooRexx. As ooRexx uses the Java bridge, those macros/examples may proof helpful for others, creating macros in

Re: [api-dev] Get Selected Text in the actual TextDocument

2008-09-30 Thread Fernand Vanrie
Joel Cordeiro wrote: in basic oDocument = ThisComponent if oDocument.getCurrentSelection.SupportsService(com.sun.star.text.TextRanges) then oSelections = oDocument.getCurrentSelection sSelection = oSelections.getByIndex(0).getString() elseif