Page 1 of 1

Including uno to .net app

Posted: Tue Mar 11, 2025 2:14 pm
by sausage_mouse
Hello I'm really new to OpenOffice. I'm working on cross-platform .net app that is integrated with LibreOffice calc. And I want to save the calc tab via pid / title from c# code. And I don't know how to include uno packages to my .cs file:

Code: Select all

using uno;
using uno.util;
using unoidl.com.sun.star.uno;
using unoidl.com.sun.star.frame;
using unoidl.com.sun.star.beans;
gives me errors. And i dont know how to unclude them since uno is not presented at nuget.org. Thank you

Re: Including uno to .net app

Posted: Sat Mar 22, 2025 12:15 pm
by ms777
Hi,

I would recommend to upgrade from OpenOffice 3.1 (or update your footer)

.NET Framework integration with LO works fine. With .NET Standard there are still some bugs. See e.g.https://bugs.documentfoundation.org/sho ... ?id=159125 and the bugs contained https://bugs.documentfoundation.org/sho ... ?id=163072, https://bugs.documentfoundation.org/sho ... ?id=165585, and https://bugs.documentfoundation.org/sho ... ?id=165608

I am not sure if these bugs have high priority in the LO developer team ...

Good luck,

ms777

Re: Including uno to .net app

Posted: Sat Mar 22, 2025 12:18 pm
by sausage_mouse
Thank you. But I still dont understand how to use this integrationn in my project