lucasaba/h2open-xml
最新稳定版本:0.0.6
Composer 安装命令:
composer require lucasaba/h2open-xml
包简介
Simple PHP script which take HTML code and transform it into OpenXML Code. (for Docx)
README 文档
README
Porting of https://archive.codeplex.com/?p=h2openxml
H2OXML : HTML to OpenXML Converter
Simple PHP script which take HTML code and transform it into OpenXML Code. (for Docx)
This is the very first version. I coded this because i wanted to put text from a WYSIWYG editor into a .docx document.
WHAT H2OXML CAN DO
For now it can deals with :
Bold, italic and underlined text Bulleted lists ... Many more can be done (the wysiwyg editor had only simple functions)
HOW TO USE IT
Load the script .../HTMLtoOpenXML.php';
Then if your html code is in the variable $html, use this function:
HTMLtoOpenXML::getInstance()->fromHTML($article)
You will obtain a string formated in OpenXML.
统计信息
- 总下载量: 113
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-05-01