請幫助任何在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.
我需要插入「新建文本文檔中的第一線」
任何解決方案?
你找到答案嗎? –