office-viewer-xxxx
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

说明

原理

docx 渲染器,原理是将 docx 里的 xml 格式转成 html

相对于 Canvas 渲染,这个实现方案比较简单,最终页面也可以很方便复制,但无法保证和原始 docx 文件展现一致,因为有部分功能难以在 HTML 中实现,比如图文环绕效果。

已知不支持的功能

参考资料

日常开发可以使用 OOXML viewer 插件查看

开发过程啊参考了

Readme

Keywords

Package Sidebar

Install

npm i office-viewer-xxxx

Weekly Downloads

3

Version

0.2.1

License

Apache 2.0

Unpacked Size

15 kB

Total Files

3

Last publish

Collaborators

  • whyloveyou3