我希望能将通过OpenOffice.org UNO创建的保存到磁盘文件中。最好的方法是什么?
编辑:这是我最终使用的C#代码,是一个。
编辑:这是我最终使用的C#代码,是一个。
protected void Save (string path)
{
string url = "file://" + path;
PropertyValue [] propertyValues = {
new PropertyValue {
Name = "FilterName",
Value = new Any ("writer8")
}
};
((XStorable) document).storeAsURL (url, propertyValues);
}