duanjingsen7904 2012-08-01 11:02
浏览 177
已采纳

使用word文档作为模板并替换[关闭]内的标签

I've looked everywhere but have found nothing, I've got a word document importer on my website and my client would like to import a word document with tags like %Test1 and these would be replaced by a PHP script and exported in a .doc format.

I've no idea how to go about doing this, so pointers or examples would be greatly appreciated ;)

  • 写回答

1条回答 默认 最新

  • dpmpa26468 2012-08-01 11:04
    关注

    I've found a great library to do just this: PHPWord.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?