[Semi OT] OO SDK and Eclipse: how to add API reference

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Semi OT] OO SDK and Eclipse: how to add API reference

Tobias Krais
Hi ML,

may be some of you use Eclipse for UNO developement. Well, I have to,
but I don't know, how to to add the API reference to my Eclipse as
decribed on page 33 of the OO Dev Guide. Can you help me?

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [Semi OT] OO SDK and Eclipse: how to add API reference

Laurent Godard-3
Hi Tobias

> may be some of you use Eclipse for UNO developement. Well, I have to,
> but I don't know, how to to add the API reference to my Eclipse as
> decribed on page 33 of the OO Dev Guide. Can you help me?
>

Cedric did a great job regarding Eclipse integration
are you ware of it ?

http://api.openoffice.org/source/browse/api/ooeclipseintegration/
http://cedric.bosdonnat.free.fr/ooeclipseintegration/
http://blogs.nuxeo.com/sections/blogs/cedric_bosdonnat/2005_11_29_ooeclipse-integration

laurent

--
Laurent Godard <[hidden email]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Antwort: [dev] [Semi OT] OO SDK and Eclipse: how to add API reference

Tobias Hildebrandt
In reply to this post by Tobias Krais




Hi Tobias,

 You just have to follow these steps:

1) create a new project
2) right-click your project in the package explorer (on the left), select
"properties"
3) select "java build paths", then "libraries"
4) click on "add external jars"
5) select the api-jars, which can be found at
openofficedirectory/program/classes

That should work. If you still have problems with that, don`t hesitate to
ask again.






                                                                           
             Tobias Krais                                                  
             <tuxmail-spam@bat                                            
             s.ch>                                                      An
                                        [hidden email]                
             19.01.2006 10:01                                        Kopie
                                                                           
                                                                     Thema
              Bitte antworten           [dev] [Semi OT] OO SDK and        
                    an                  Eclipse: how to add API reference  
             [hidden email]                                            
                     g                                                    
                                                                           
                                                                           
                                                                           
                                                                           




Hi ML,

may be some of you use Eclipse for UNO developement. Well, I have to,
but I don't know, how to to add the API reference to my Eclipse as
decribed on page 33 of the OO Dev Guide. Can you help me?

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[SOLVED] Re: [dev] Antwort: [dev] [Semi OT] OO SDK and Eclipse: how to add API reference

Tobias Krais
Hi Tobias,

> 1) create a new project
> 2) right-click your project in the package explorer (on the left), select
> "properties"
> 3) select "java build paths", then "libraries"
> 4) click on "add external jars"
> 5) select the api-jars, which can be found at
> openofficedirectory/program/classes

OK, I did this, but I tought there are additional steps needed as for
the integration in NetBeans.

The methods are suggested now very correctly. Thanks.

Greetings, Tobias

> may be some of you use Eclipse for UNO developement. Well, I have to,
> but I don't know, how to to add the API reference to my Eclipse as
> decribed on page 33 of the OO Dev Guide. Can you help me?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[SOLVED] Re: [dev] [Semi OT] OO SDK and Eclipse: how to add API reference

Tobias Krais
In reply to this post by Laurent Godard-3
Hi Laurent,

>> may be some of you use Eclipse for UNO developement. Well, I have to,
>> but I don't know, how to to add the API reference to my Eclipse as
>> decribed on page 33 of the OO Dev Guide. Can you help me?

> Cedric did a great job regarding Eclipse integration
> are you ware of it ?
>
> http://api.openoffice.org/source/browse/api/ooeclipseintegration/
> http://cedric.bosdonnat.free.fr/ooeclipseintegration/
> http://blogs.nuxeo.com/sections/blogs/cedric_bosdonnat/2005_11_29_ooeclipse-integration

up to now I was not aware of it. I just installed it and I really like
it. Cedric did really great work. By time I will find out all the features.

Thanks for the links.

Greetings,

Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [SOLVED] Re: [dev] [Semi OT] OO SDK and Eclipse: how to add API reference

Cédric Bosdonnat
Hi Tobias,

Selon Tobias Krais <[hidden email]>:

> > Cedric did a great job regarding Eclipse integration
> > are you ware of it ?
> >
> > http://api.openoffice.org/source/browse/api/ooeclipseintegration/
> > http://cedric.bosdonnat.free.fr/ooeclipseintegration/
> >
>
http://blogs.nuxeo.com/sections/blogs/cedric_bosdonnat/2005_11_29_ooeclipse-integration
>
> up to now I was not aware of it. I just installed it and I really like
> it. Cedric did really great work. By time I will find out all the features.
>
> Thanks for the links.

I think that there's still a lot of work to do on it... Having developped UNO
components in C++ and Java during the year, make me understand that there are
some problems in my plugin... I'll try to find time to make it better.

However, you can already have the IDL file editor for the syntax highlighting ;)
And each remark is welcome.

Cedric



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Java] get content of text table - cell

Tobias Hildebrandt




Hi,

i`ve got a problem concerning texttables:

I iterate through a texttable in Writer, and get a Cell - object for every
cell the table contains.
For every cell, I want to read its content in a String and replace its
content with another String afterwards. The contents are simple texts.
The problem: a call of the method "Cell.getFormula()" always returns an
empty String.
But a call of the method "Cell.setFormula(String)" works without problems,
even when I call the method getFormula() again after I inserted a String,
the inserted String is being returned.
I have no idea how to retrieve the original cell content, as there is no
such thing as a .getText() - method...

Any hints?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Antwort: [dev] [solved] [Java] get content of text table - cell

Tobias Hildebrandt




Ok fellows, I solved it by myself, by casting the Cell into a XText -
object:

XText xCellText = (XText)UnoRuntime.queryInterface(XText.class, Cell);

Then I can simply call:

xCellText.getString();



                                                                           
             Tobias                                                        
             Hildebrandt                                                  
             <Tobias.Hildebran                                          An
             [hidden email]>          [hidden email]                
                                                                     Kopie
             20.01.2006 15:39                                              
                                                                     Thema
                                        [dev] [Java] get content of text  
              Bitte antworten           table - cell                      
                    an                                                    
             [hidden email]                                            
                     g                                                    
                                                                           
                                                                           
                                                                           








Hi,

i`ve got a problem concerning texttables:

I iterate through a texttable in Writer, and get a Cell - object for every
cell the table contains.
For every cell, I want to read its content in a String and replace its
content with another String afterwards. The contents are simple texts.
The problem: a call of the method "Cell.getFormula()" always returns an
empty String.
But a call of the method "Cell.setFormula(String)" works without problems,
even when I call the method getFormula() again after I inserted a String,
the inserted String is being returned.
I have no idea how to retrieve the original cell content, as there is no
such thing as a .getText() - method...

Any hints?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]