使用Office Javascript API如何在Windows默认浏览器(IE,Edge,Chrome等)中打开URL [英] Using Office Javascript API how to open a URL in Windows default browser (IE, Edge, Chrome etc.)
问题描述
使用 Office.js
WORD加载项,我们希望根据需要格式化HTML,然后在Windows默认浏览器(IE,Edge,Chrome等)中显示它。格式化不是问题,而是我们如何在Windows默认浏览器上显示它 - 我们过去常常在 Office
VSTO加载项。
namwam,
我假设您要使用JavaScript在浏览器中呈现Word文档。
如果是这样,请查看以下链接以供参考:
如何使用Ja在浏览器中呈现Word文档(.doc,.docx) vaScript?
希望它可以帮到你。
最好的问候,
Yuki
After getting HTML string from the content of MS WORD using Office.js Add-in for WORD, we want to format the HTML based on needs and then display it in Windows default browser(IE, Edge, Chrome etc.). Formatting is not an issue but how we can display it on the Windows default browser - something we used to do in Office VSTO Add-In.
Hi namwam,
I assume that you want to render a Word document in the browser using JavaScript.
If so, please review the following link for reference:
How do I render a Word document (.doc, .docx) in the browser using JavaScript?
Hopefully it helps you.
Best Regards,
Yuki
这篇关于使用Office Javascript API如何在Windows默认浏览器(IE,Edge,Chrome等)中打开URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!