摘要: canRead($filePath)){ $PHPReader = new PHPExcel_Reader_Excel5(); if(!$PHPReader->canRead($filePath)){ echo 'no Excel'; return ; } } $PHPExcel = $PHPReader->load($filePath... 阅读全文
posted @ 2016-07-07 15:41 YGCool 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 注意: 增加中间logo的时候, 嵌入的 logo 的 img 对象 <img src="">,直接传 logo 的 url 并没有用,会直接报错出来,必须用img标签的形式。 当 render 为 canvas 时, img.src 可为 非同域当 render 为 image 时, img.sr 阅读全文
posted @ 2016-07-07 15:39 YGCool 阅读(438) 评论(0) 推荐(0) 编辑
摘要: // ctrl+shift+n 查找文件// ctrl+j 插入活动代码提示// ctrl+alt+t 当前位置插入环绕代码// alt+insert 生成代码菜单 // ctrl+q 查看代码注释// ctrl+d 复制当前行// ctrl+y 删除当前行// shift+F6 重命名// ctr 阅读全文
posted @ 2016-07-07 10:51 YGCool 阅读(131) 评论(0) 推荐(0) 编辑