| View previous topic :: View next topic |
| Author |
Message |
Koldo General User

Joined: 11 Dec 2008 Posts: 5
|
Posted: Thu Dec 11, 2008 11:40 pm Post subject: C++ program. XComponentLoader.hpp not found |
|
|
Hello all
I am trying to handle OpenOffice from an external C++ program but after googling for days I did not find documentation enough basic for me.
Could you send me links or references to books were I could find basic instructions to:
- Install SDK for C++
- Program a program for something as simple as opening a new file in Calc, fill some cells and save the file.
Best regards
Koldo
Last edited by Koldo on Tue Dec 16, 2008 11:38 pm; edited 2 times in total |
|
| Back to top |
|
 |
Koldo General User

Joined: 11 Dec 2008 Posts: 5
|
Posted: Tue Dec 16, 2008 1:57 am Post subject: XComponentLoader.hpp not found |
|
|
Hello all
After many efforts I am trying to compile a demo but the compiler does not find include file: 'com/sun/star/frame/XComponentLoader.hpp'.
I have seen that cppumaker does not do that folder and file.
Is there a way to get that file?. Perhaps changing in any way the file types.rdb?.
Best regards
Koldo |
|
| Back to top |
|
 |
itskumaranand Newbie

Joined: 02 Feb 2011 Posts: 3
|
Posted: Wed Feb 02, 2011 2:30 am Post subject: DocumentLoader.Hpp is created with the following command. |
|
|
DocumentLoader.Hpp is created with the following command.
cppumaker -Gc -BUCR -O<includes_path> <ooffice_path>\URE\misc\types.rdb <ooffice_path>\Basis\program\offapi.rdb
i think you used
cppumaker -BUCR -O <oo_sdk_path>\includecpp <office_programm_dir>\types.rdb |
|
| Back to top |
|
 |
Koldo General User

Joined: 11 Dec 2008 Posts: 5
|
Posted: Thu Feb 03, 2011 12:01 am Post subject: Re: DocumentLoader.Hpp is created with the following command |
|
|
| itskumaranand wrote: | DocumentLoader.Hpp is created with the following command.
cppumaker -Gc -BUCR -O<includes_path> <ooffice_path>\URE\misc\types.rdb <ooffice_path>\Basis\program\offapi.rdb
i think you used
cppumaker -BUCR -O <oo_sdk_path>\includecpp <office_programm_dir>\types.rdb |
Hello itskumaranand
Thank you for your answer.
I will try it, although I did this post 2 years ago.
Do you know where is there a simple description about handling OpenOffice from C or C++? |
|
| Back to top |
|
 |
itskumaranand Newbie

Joined: 02 Feb 2011 Posts: 3
|
|
| Back to top |
|
 |
Koldo General User

Joined: 11 Dec 2008 Posts: 5
|
Posted: Thu Feb 03, 2011 11:33 pm Post subject: Re: DocumentLoader.Hpp is created with the following command |
|
|
Thank you again. I will try it! |
|
| Back to top |
|
 |
SergeM Super User

Joined: 09 Sep 2003 Posts: 3211 Location: Troyes France
|
|
| Back to top |
|
 |
Koldo General User

Joined: 11 Dec 2008 Posts: 5
|
|
| Back to top |
|
 |
|