请帮助任何在C#中使用OpenOffice Writer文档的人。如何将HTML格式的文本插入到文档中?下面的代码:将html文本插入到带有C#的.odt OpenOffice文档中#
((unoidl.com.sun.star.text.XTextDocument)xComponent).getText().getStart().
setString("The <b>first line </b> in the newly created text document.\n\n");
刀片究竟The <b>first line </b> in the newly created text document.
我需要插入“新建文本文档中的第一线”
任何解决方案?
你找到答案吗? –