如何从终端保存并关闭运行的libreoffice call实例? 我正在开发与Excel / libreoffice计算集成的跨平台.NET应用程序。我目前正在研究打开.xls文件的功能,允许用户对其进行编辑,然后保存和

问题描述 投票:0回答:0
启动计算后,我想保存并关闭文档。关闭它没有问题。但是我不知道如何保存它。使用终端或C#代码进行操作。

地,当我自己创建过程时,我知道有关它的所有信息(pid,title等)

我试图使用
ProcessStartInfo

var startInfo = new ProcessStartInfo
{
    FileName = "libreoffice",
    Arguments = $"--calc {filePath} --single-window-app",
};

但是它给了我

uno

    

soffice --headless --invisible --norestore "vnd.sun.star.ServiceManager" "com.sun.star.frame.Desktop" ".uno:SaveAll"

    

c# .net linux libreoffice-calc
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.