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.

There's only example code in Java in Developer's Guide book and OOo Wiki.
Could anybody give me some hint about how to save a document which is opened by XComponentLoader::loadComponentFromURL() in cpp language.

Best regards

--
===========================================
Yuelin Zhuang   --   Testing 3, RedFlag2000
MSN :                 [email protected]
E-mail:          [email protected]
===========================================


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

Reply via email to