Andrzej Wytyczak-Partyka wrote:
May be I've found another possible problem ...
Did you copied the TabBrowse.xcs file into your office installation ?
It's required by these framework-libs.
I will send you a package (as private email), where you will find all
needed files.
Please make sure, that you:
- copied all libfw*.so to your program dir
- registered libfwk/libfwl/libfwm files using the regcomp tool
- copied TabBrowse.xcs to <inst>/share/registry/schema/org/openoffice/Office
and TabBrowse.xcu to <inst>/share/registry/data/org/openoffice/Office
- rebuilded your SDK component using the newest IDL files
- and make further sure, that your component was realy updated by the
package manager
I did all that, but still I had the runtime exception thrown by
m_xTabFactory = Reference< XInterface > (m_xServiceManager->createInstance(
::rtl::OUString::createFromAscii("com.sun.star.frame.TabWindowFactory")),UNO_QUERY_THROW);
> I'll try to implement the XFrameActionListener now.
I switched back to the libraries you've sent me earlier and it works fine.
I already have the XFrameActionListener and I can succesfully retrieve
the UIElement upon the COMPONENT_ATTACHED event. I'll try to get the
XTopWindow now...