お待ち頂きまして、ありがとうございます。 以下のコード例を使用して、Windows 10およびUbuntuオペレーティングシステムでAspose.Words for Java 18.10の最新バージョンを使用してシナリオをテストしました。 我々は共通の問題を発見していない。 Aspose.Words for Java 18.10を使用してください。 私たちはあなたの親切な参照のためにこの投稿と出力文書を添付しました。
Docs.zip (20.0 KB)
ご回答いただき、ありがとうございました。
此方は以下の環境で試しました、ご提示いただいたHTML(Docs.zip (20.0 KB))を変換できません。
OS情報:
windows:Windows7(6.1.7601)
Linux :Red Hat Enterprise Linux Server release 6.4(Santiago)
ASPOSEのバージョン情報:
Aspose.Words for Java 18.10
変更対象ワードファイル:
word.zip (289.0 KB)
質問:
①
ソース:
Document doc = new Document(MyDir + "input.docx");
doc.save(MyDir + "18.10.html”);
変換結果:result1.zip (23.7 KB)
問題点:
trouble1.png (62.3 KB)
②
ソース:
Document doc = new Document(MyDir + "input.docx”);
HtmlSaveOptions options = new HtmlSaveOptions();
options.setExportListLabels(ExportListLabels.BY_HTML_TAGS);
doc.save(MyDir + "18.10.html", options);
変換結果:result2.zip (45.3 KB)
問題点:
trouble2.png (54.2 KB)
長くなり、申し訳ございませんが、問題点を再度ご確認いただければと思います。
English version:
Thanks for your answer.But we can’t get the same result(Docs.zip (20.0 KB)).We have tried in the environment below.
OS :
windows:Windows7(6.1.7601)
Linux :Red Hat Enterprise Linux Server release 6.4(Santiago)
ASPOSE:
Aspose.Words for Java 18.10
Word file:
word.zip (289.0 KB)
Here is the source code and the troubles we got:
1.
Source:
Document doc = new Document(MyDir + "input.docx");
doc.save(MyDir + "18.10.html”);
Convert result:result1.zip (23.7 KB)
Trouble:
trouble1.png (62.3 KB)
2.
Source:
Document doc = new Document(MyDir + "input.docx”);
HtmlSaveOptions options = new HtmlSaveOptions();
options.setExportListLabels(ExportListLabels.BY_HTML_TAGS);
doc.save(MyDir + "18.10.html", options);
Convert result:result2.zip (45.3 KB)
Trouble:
trouble2.png (54.2 KB)
Thanks for your patience to read this long article. Can you check this issue agin please?
以上、よろしくお願い致します。