Random fixes
This commit is contained in:
parent
1d38bb00c5
commit
7615acf398
@ -16,7 +16,7 @@ abstract class AbstractMultiSheetsWriter extends AbstractWriter
|
|||||||
protected $shouldCreateNewSheetsAutomatically = true;
|
protected $shouldCreateNewSheetsAutomatically = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Common\WorkbookInterface The workbook representing the file to be written
|
* @return Common\Internal\WorkbookInterface The workbook representing the file to be written
|
||||||
*/
|
*/
|
||||||
abstract protected function getWorkbook();
|
abstract protected function getWorkbook();
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ abstract class AbstractMultiSheetsWriter extends AbstractWriter
|
|||||||
$externalSheets = [];
|
$externalSheets = [];
|
||||||
$worksheets = $this->getWorkbook()->getWorksheets();
|
$worksheets = $this->getWorkbook()->getWorksheets();
|
||||||
|
|
||||||
/** @var Common\WorksheetInterface $worksheet */
|
/** @var Common\Internal\WorksheetInterface $worksheet */
|
||||||
foreach ($worksheets as $worksheet) {
|
foreach ($worksheets as $worksheet) {
|
||||||
$externalSheets[] = $worksheet->getExternalSheet();
|
$externalSheets[] = $worksheet->getExternalSheet();
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ class Workbook extends AbstractWorkbook
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Maximum number of rows a ODS sheet can contain
|
* Maximum number of rows a ODS sheet can contain
|
||||||
* @see http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx
|
* @see https://ask.libreoffice.org/en/question/8631/upper-limit-to-number-of-rows-in-calc/
|
||||||
*/
|
*/
|
||||||
protected static $maxRowsPerWorksheet = 1048576;
|
protected static $maxRowsPerWorksheet = 1048576;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user