Whenever I try to add a self-made "UNO RDB Type Library", as an Extension, the attempt always fails with this message:
(com.sun.star.uno.RuntimeException) { { Message = "com.sun.star.DeploymentException: an error occured during file opening", Context = (com.sun.star.uno.XInterface) @0 } }
I recompile and merge into a registry file the following test IDL type definition (which can be added just fine as an extension to Openoffice 3.2):
Code: Select all
#ifndef __names_nick_openoffice_xpythoncomponents_idl__
#define __names_nick_openoffice_xpythoncomponents_idl__
module names { module nick { module openoffice {
interface XOwnArray
{
[attribute] any Values;
};
interface XArgument
{
[attribute] double target;
[attribute] double init;
[attribute] double size;
[attribute] long nitt;
[attribute] sequence<double> x;
[attribute] sequence<double> f;
[attribute] short side;
[attribute] short mode;
[attribute] double lastx;
};
interface XFirst
{
[attribute] any thing;
any thingplus23( );
};
interface XFirstFull
{
[attribute] any thing;
any thingplus23( );
};
// I think this is needed for "Full" Java (using uno-skeletonmaker) - but NOT Python - Implementation
// service SFirstFull: XFirstFull {
//
// };
}; }; };
#endif
Code: Select all
idlc -w -cid -I /usr/share/idl/openoffice $1.idl
if [ $? -ne 0 ]
then
exit
fi
rm -f $1.rdb
regmerge -v $1.rdb /UCR $1.urd
rm -f $1.urd
Code: Select all
Compiling: PythonOOComponents.idl
merging registry "PythonOOComponents.urd" under key "/UCR" in registry "PythonOOComponents.rdb".
always yields the error I show at the start of this post.
Anybody know if a change has crept in between 3.2 and 3.3 to cause this? I cannot find any new in documenation on the IDL or using the "idlc" and "regmerge" tools as I show above.
Thanks, Nick