<small id='PM639'></small><noframes id='PM639'>

        <bdo id='PM639'></bdo><ul id='PM639'></ul>
    1. <tfoot id='PM639'></tfoot>
    2. <i id='PM639'><tr id='PM639'><dt id='PM639'><q id='PM639'><span id='PM639'><b id='PM639'><form id='PM639'><ins id='PM639'></ins><ul id='PM639'></ul><sub id='PM639'></sub></form><legend id='PM639'></legend><bdo id='PM639'><pre id='PM639'><center id='PM639'></center></pre></bdo></b><th id='PM639'></th></span></q></dt></tr></i><div id='PM639'><tfoot id='PM639'></tfoot><dl id='PM639'><fieldset id='PM639'></fieldset></dl></div>

        <legend id='PM639'><style id='PM639'><dir id='PM639'><q id='PM639'></q></dir></style></legend>

        PHP 在不丢失样式和图像的情况下将 Word 文件转换为 HTML

        时间:2023-07-16

              <bdo id='CQTrT'></bdo><ul id='CQTrT'></ul>
                <legend id='CQTrT'><style id='CQTrT'><dir id='CQTrT'><q id='CQTrT'></q></dir></style></legend>
                  <tbody id='CQTrT'></tbody>
              • <small id='CQTrT'></small><noframes id='CQTrT'>

                1. <tfoot id='CQTrT'></tfoot>
                2. <i id='CQTrT'><tr id='CQTrT'><dt id='CQTrT'><q id='CQTrT'><span id='CQTrT'><b id='CQTrT'><form id='CQTrT'><ins id='CQTrT'></ins><ul id='CQTrT'></ul><sub id='CQTrT'></sub></form><legend id='CQTrT'></legend><bdo id='CQTrT'><pre id='CQTrT'><center id='CQTrT'></center></pre></bdo></b><th id='CQTrT'></th></span></q></dt></tr></i><div id='CQTrT'><tfoot id='CQTrT'></tfoot><dl id='CQTrT'><fieldset id='CQTrT'></fieldset></dl></div>

                3. 本文介绍了PHP 在不丢失样式和图像的情况下将 Word 文件转换为 HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  是否有将word文件转换为HTML而不丢失格式的API?

                  Is there an API for converting word files to HTML without losing the format?

                  谷歌文档 API 可以用于此吗?

                  Can the google documents API be used for this?

                  我尝试了 saaspose,但返回的结果始终是服务器错误.

                  I tried saaspose but the returning result is always a server error.

                  对我不起作用的解决方案:

                  Solutions that did not work for me:

                  • 在 php 中将 MS Word 文档转换为 html

                  推荐答案

                  我花了一些时间来研究这个问题,我发现的最佳解决方案是安装 unoconv 在服务器上,并使用 PHP 通过系统调用与其交互.

                  I've spent a bit of time loking into this, and the best solution that I've found was to install unoconv on the server, and using PHP to interface with it through system calls.

                  我很想为此找到一个很好的原生 PHP 解决方案,但不幸的是我找不到.

                  I would have loved to find a good native PHP solution for this, but unfortunately I couldn't.

                  编辑自从最初回答这个问题以来,我遇到了一个 Web 服务,它提供了一个用于转换文档的 API.我还没有对它进行非常彻底的测试,但它在将 Word 转换为 HTML 时似乎确实产生了不错的结果:CloudConvert.

                  Edit Since originally answering this, I've come across a web service which presents an API for converting documents. I haven't tested it very thoroughly but it does seem to produce decent results at converting Word to HTML: CloudConvert.

                  这篇关于PHP 在不丢失样式和图像的情况下将 Word 文件转换为 HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使用 PHP 转换 Microsoft Word 特殊字符 下一篇:在 PHP 中高质量的 PDF 到 Word 转换?

                  相关文章

                4. <i id='KW5CR'><tr id='KW5CR'><dt id='KW5CR'><q id='KW5CR'><span id='KW5CR'><b id='KW5CR'><form id='KW5CR'><ins id='KW5CR'></ins><ul id='KW5CR'></ul><sub id='KW5CR'></sub></form><legend id='KW5CR'></legend><bdo id='KW5CR'><pre id='KW5CR'><center id='KW5CR'></center></pre></bdo></b><th id='KW5CR'></th></span></q></dt></tr></i><div id='KW5CR'><tfoot id='KW5CR'></tfoot><dl id='KW5CR'><fieldset id='KW5CR'></fieldset></dl></div>
                  <legend id='KW5CR'><style id='KW5CR'><dir id='KW5CR'><q id='KW5CR'></q></dir></style></legend><tfoot id='KW5CR'></tfoot>
                      • <bdo id='KW5CR'></bdo><ul id='KW5CR'></ul>

                      <small id='KW5CR'></small><noframes id='KW5CR'>