Comments (3)
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
// 第三个参数 False 即为关闭 ZIP64
$fileObject = $excel->constMemory('tutorial01.xlsx', NULL, false);
$fileHandle = $fileObject->getHandle();
$format = new \Vtiful\Kernel\Format($fileHandle);
$boldStyle = $format->bold()->toResource();
$fileObject->setRow('A1', 10, $boldStyle) // 写入数据前设置行样式
->header(['name', 'age'])
->data([['viest', 21]])
->output();
尝试关闭了可以吗?
from php-ext-xlswriter.
$config = ['path' => './tests']; $excel = new \Vtiful\Kernel\Excel($config); // 第三个参数 False 即为关闭 ZIP64 $fileObject = $excel->constMemory('tutorial01.xlsx', NULL, false); $fileHandle = $fileObject->getHandle(); $format = new \Vtiful\Kernel\Format($fileHandle); $boldStyle = $format->bold()->toResource(); $fileObject->setRow('A1', 10, $boldStyle) // 写入数据前设置行样式 ->header(['name', 'age']) ->data([['viest', 21]]) ->output();
尝试关闭了可以吗?
同样问题,亲测开启不行,关闭后可行
from php-ext-xlswriter.
应该只有 WPS 无法打开 zip64 的文件吧,Office 和 其他的办公软件都是正常的。
from php-ext-xlswriter.
Related Issues (20)
- 没有找到单元格设置内容颜色功能? HOT 1
- Undocumented cell cache and non-deterministic functions
- 写入图片不支持webp
- 是不是不能修改现有的excel文件 HOT 1
- 使用内存模式导出,导出过程中CPU很高 HOT 2
- setColumn doesn't change column width if called with explicit null format
- 导出的文件wps能打开,excel打不开 HOT 3
- 当文件名中包含英文冒号时临时文件无法创建 HOT 5
- wps能打开,excel打不开
- 有没有只读的打开方式?
- 【bug】问题比较严重,导出时候丢失部分列 HOT 3
- insertFormula issue
- 读取文件2m以上出现 找不到文件错误
- Does it support excel file to html convertion HOT 1
- Windows DLL available to download
- 如何在程序中获取PHP-Xlswriter的异常码 HOT 1
- 能文档备注一下,支持插入哪些格式的图片吗? HOT 1
- cygwin php7.4 can't build with this extension
- 能否将读写API统一
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-ext-xlswriter.