Home > Backend Development > PHP Tutorial > php上传excel导出pdf~菜鸟求教,大神指点

php上传excel导出pdf~菜鸟求教,大神指点

WBOY
Release: 2016-06-02 11:29:11
Original
975 people have browsed it

pdfphpexcel

烦了我三个星期的需求:在线excel转pdf。
需求是把excel上传后经过php转为pdf,我开是利用了phpexcel,上传后再用tcpdf生成,但是phpexcel无法,或者说找不到获取列宽和行高的函数。然后就直接用phpexcel调用tcpdf的类库输出,但是就生成乱码 - -。
目前使用的环境是PHP5.4+linux+tengine
现在有几个问题,想请教各路大神:
1.phpexcel如何获取列宽和行高
2.如何生成pdf的时候不乱码
3.如果excel的内容太多如何移至下一页

不过如果有别的方法可以的话,也告诉我吧。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template