Creating singleton UNO components in C++

Stephan Bergmann sbergman at
Wed Nov 2 08:10:56 UTC 2016

On 11/02/2016 02:52 AM, Dennis Francis wrote:
> Thanks a lot Stephan. Works fine now after
> implementing component_getImplementationEnvironment
> and component_getFactory instead of mentioning environment and
> constructor in .components xml file.

Indeed, constructor attributes in .component files are an internal-only 
feature for the time being, too.  (If there's enough demand, we could 
think about making them official features, but it's always easier to 
maintain code that makes as little promises as necessary.)

More information about the LibreOffice mailing list