docx4j.net

    1熱度

    2回答

    當從DOCX轉換爲HTML你可以指定任何圖像 org.docx4j.Docx4J.toHTML(wordMLPackage, imageDirPath, imageTargetUri, fos2); 輸出路徑和所得到的html文件通過文件的引用的圖像: <img height="22" id="rId7" src="..cc6bcedf-2770-45ad-8e81-610bbd8746cei

    0熱度

    1回答

    我已經從Nuget安裝了docx4j.NET3.0.1 vs vs2012。 當我嘗試使用庫這一呼籲 WordprocessingMLPackage.load(inputS, ""); 我收到此錯誤: System.TypeInitializationException: The type initializer for 'org.docx4j.openpackaging.packages.