- Sheet::setRowOptions(), Sheet::setColOptions(), Sheet::setRowStyles() and Sheet::setColStyles() are deprecated
- Sheet::setRowStyle($rowNum, $style) - set style for row (or row range)
- Sheet::setRowStyleArray($rowStyle) - set styles for rows (or row range)
- Sheet::setRowDataStyle($rowNum, $style)
- Sheet::setRowDataStyleArray($rowStyle)
- Sheet::setColStyle($colLetter, $style) - set style for column (or column range)
- Sheet::setColStyleArray($colStyles) - set style for column (or column range)
- Sheet::setColDataStyle($colLetter, $style)
- Sheet::setColDataStyleArray($colStyles)
- Data validation (see Data validation)
- All methods of Style were extracted into class StyleManager (constants remained in the class Style)
- PHP extension 'intl' is desirable but not required
- Other refactoring
- $sheet->setTabColor($color);
- New Excel option - 'auto_convert_number';
- New Excel option - 'shared_string';
- New Excel option - 'locale';
- $sheet->addImage($cell, $path, ['hyperlink' => $url]);
- cell merge optimization
- Excel::setActiveSheet($name): Excel -- Set active (default) sheet by case-insensitive name
- Sheet::isName($name): bool -- Case-insensitive name checking
- Sheet::setPrintArea($range): Sheet
- Sheet::setPrintTopRows($rows): Sheet
- Sheet::setPrintLeftColumns($cols): Sheet
- Sheet::setPrintGridlines($bool): Sheet
- Support rich text in cells and notes
- Group/outline columns and rows
- Sheet::writeArray()
- New option 'temp_prefix' - custom prefix for temporary files
- upd: Improved column width calculation
- fix: Note shape
- fix: R1C1 in formulas
- Combo charts
- Custom colors
- Custom chart lines width
- Some methods have been renamed
- setDataSeriesTickLabels() => setCategoryAxisLabels()
- setXAxisLabel() => setCategoryAxisTitle()
- getXAxisLabel() => getCategoryAxisTitle()
- setYAxisLabel() => setValueAxisTitle()
- getYAxisLabel() => getValueAxisTitle()
Chart support!
The order of writing entries to the file has been changed so that the mimetype is determined correctly
Bug fixes and some improvements
New method
- Sheet::setActiveCell($cellAddress);
New methods
-
Sheet::pageMargins(array $margins)
-
Sheet::pageMarginLeft($value)
-
Sheet::pageMarginRight($value)
-
Sheet::pageMarginTop($value)
-
Sheet::pageMarginBottom($value)
-
Sheet::pageMarginHeader($value)
-
Sheet::pageMarginFooter($value)
-
Sheet::pagePaperSize($value)
-
Sheet::pagePaperHeight($value)
-
Sheet::pagePaperWidth($value)
-
Sheet::setColAutoWidth($col) - alias of Sheet::setColWidthAuto($col)
-
Sheet::setColMinWidth($col, $width)
-
Sheet::setColMinWidths(array $widths)
-
Sheet::setColVisible($col, bool $val)
-
Sheet::setColHidden($col)
-
Sheet::setRowVisible($rowNum, bool $val)
-
Sheet::setRowHidden($rowNum)
Deprecated
- Sheet::setPageOptions()
- Supports workbook and sheet protection with/without passwords (see Protection of workbook and sheets )
New methods for cells
- Sheet::applyUnlock()
- Sheet::applyHide()
- Sheet::applyNamedRange(string $name)
New methods
- Excel::sheet() is alias of Excel::getSheet()
- Sheet::cell($cellAddress) - Select a single cell or to cell range in the current row
- Area::cell($cellAddress) - Select a single cell or to cell range in the current row