Word XML到HTML(带样式)
I have a word template (msword 2010) that I inject variables into using PHPWord, and would like to convert that into a PDF.
My thought process is to convert the word document into xml (which I have done), then turn that xml into styled html.
So far I have managed to replace the xml elements that represent line breaks and paragraphs, but am wondering if there is some code somewhere that will convert the other xml elements into styled html. I know it is unlikely to be perfect, but something close would be good.
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
1条回答
为你推荐
- Word XML到HTML(带样式)
- xml
- html
- php
- 1个回答
- windows系统使用OpenOffice进行Word转Html出现中文乱码,怎么没解决?
- java
- intellij-idea
- 1个回答
- java怎么由html生成word,保留html样式
- java
- velocity
- word
- html5
- 2个回答