将HTML和Javascript嵌入到Word 2010文档中. [英] Embed HTML and Javascript into Word 2010 document.

查看:76
本文介绍了将HTML和Javascript嵌入到Word 2010文档中.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否以及然后如何将HTML和javascript嵌入到Word 2010文档中,以便例如根据外部文件的内容更改字体. HTML和javascript当然不会显示在word文档中,只是潜伏在打开文档或单击文档中的某些项目时运行.例如,

有人吗?

I''d like to know if, and then how, to embed HTML and javascript into a Word 2010 document so as to for instance change a font depending on contents of an external file. The HTML and javascript of course will not show in the word document, thll just be lurking and will run when the document is opened or when some item in the document is clicked, say.

Anybody?

推荐答案

您可以使用 PHPDocX 将HTML嵌入文字中剥离所有javascript.
You may embed HTML in word using PHPDocX but that would strip al the javascript.


这篇关于将HTML和Javascript嵌入到Word 2010文档中.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆