TextDocument
OpenOffice.org で作成した UNO をディスク上のファイルに保存したいと考えています。これを行う最善の方法は何ですか?
編集:これは私が最終的に使用したC#コードです。document
ですXTextDocument
。
protected void Save (string path)
{
string url = "file://" + path;
PropertyValue [] propertyValues = {
new PropertyValue {
Name = "FilterName",
Value = new Any ("writer8")
}
};
((XStorable) document).storeAsURL (url, propertyValues);
}