php_excel / libxl : 如何使部分单元格文本加粗

php_excel / libxl : How to make part of the cell text bold

使用带有 RichText 个对象的 PHPExcel 库,可以为单元格文本的某些部分设置特定样式。

关于这个post给出了一个例子:PHPExcel - How to make part of the text bold

如何在 libxl 上使用 php 扩展名 php_excel based 执行此操作?

编辑:PHPExcel 和 php_excel 不同,第一个是 php 库,第二个是基于 libxl C 库的本机 php 扩展

lib不支持。这是 libXl 支持答案:

"unfortunately LibXL doesn't support more than one format in one cell."