(com.sun.star.uno.RuntimeException) { { Message = "com.sun.star.DeploymentException: an error occured during file opening", Context = (com.sun.star.uno.XInterface) @0 } }
I am running on an AntiX M11 system with the following version of libreoffice:
LibreOffice 3.4.3
OOO340m1 (Build:302)
Debian package 1:3.4.3-3
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
Here is the script that generates the rdb file from the above code:
Code: Select all
idlc -w -cid -I /usr/share/idl/libreoffice $1.idl
if [ $? -ne 0 ]
then
exit
fi
rm -f $1.rdb
regmerge -v $1.rdb /UCR $1.urd
rm -f $1.urd
The messages from the script do not indicate any problem:
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.
I would like to get this to work in libreoffice. Anybody know how?
Thanks, Nick