【发布时间】:2018-06-08 15:50:37
【问题描述】:
我们以前使用 Excel,但现在开始使用电子表格,因为它是未来。 最近在我们的应用程序中,我必须做出改变,
这是我们的excel文件逻辑。
来自
var $excel_start_row_index=1;
var $excel_start_column_index=0;
到
var $excel_start_row_index=1;
var $excel_start_column_index=1;
因为我们没有显示一列。也许我认为它发生在我们当前的作曲家更新中。所以我看到了如何设置样式的其他一些变化,并且 applyFromArray 具有用于设置背景颜色的新样式数组。库中的这种更改也是为了启动单元格。
我明白了
namespace PhpOffice\PhpSpreadsheet\Worksheet;
/**
* Active cell. (Only one!).
*
* @var string
*/
private $activeCell = 'A1';
But where can I find the numerical representation of it? Like $activeColumn = 0 , $activeRow = 1. something like it.
这里“A”的等价物是0还是1。
在这里Github Issue See the second comment by Mark Baker 他说它在 PhpExcel 中以 0 开头。在 PhpSpreadsheet 中是一样的吗?
【问题讨论】:
标签: phpexcel phpoffice phpspreadsheet