SlumberMan wrote:

> Mathias Bauer and All
>> SlumberMan wrote:
>>
>>   
>>> Hi, All
>>> I try to use com::sun::star::frame::XStorable interface in a cpp source 
>>> file, which is written by myself.
>>> I add the line "using namespace com::sun::star::frame;" at top and try 
>>> to invoke a reference of XStorable by the following line:
>>> Reference < XStorable > xSave ( xComponent, UNO_QUERY );
>>> But the compiler says that, error: ‘XStorable’ was not declared in this 
>>> scope.
>>>     
>>
>> You didn't mention that you included <com/sun/star/frame/XStorable.hpp>
>> in your file. Perhaps you forgot to do that?
>>
>>   
> Yes, I missed this line. I didn't find it in directory 
> */opt/openoffice/basis-link/sdk/include* at first.
> And now I figure out that it is in 
> *~/opneoffice.org3.1_sdk/LINUXexample.out/inc* directory.
> I have a little wonder why put these apart.

The SDK does not come with these header files, they are built from the
included idl files. And as everything that is built, they end up in the
output directory.

Regards,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.


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

Reply via email to