定制 rkorebrits/htmltoopenxml 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rkorebrits/htmltoopenxml

最新稳定版本:0.1.9

Composer 安装命令:

composer require rkorebrits/htmltoopenxml

包简介

Convert HTML to OpenOfficeXML

关键字:

README 文档

README

Forked from https://github.com/ffmad/HTMLtoOpenXML

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.

INSTALLATION

composer require rkorebrits/htmltoopenxml

WHAT H2OXML CAN DO

For now it can deal with :

  • Paragraphs
  • Bold, italic and underlined text (<strong|b|em|i|u>)
  • Bullet lists

Many more can be done (the wysiwyg editor had only simple functions)

HOW TO USE IT

$parser = new HTMLtoOpenXML\Parser();

$ooXml = $parser->fromHTML($html);

统计信息

  • 总下载量: 108.94k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 3
  • Forks: 31
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2018-04-20