@@ -511,6 +527,46 @@ can subject the caller to security exploits.
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -773,7 +829,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -812,7 +868,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -850,7 +906,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -977,7 +1033,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -1015,7 +1071,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -1053,7 +1109,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -1096,7 +1152,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -1137,7 +1193,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1180,7 +1236,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1222,7 +1278,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1261,7 +1317,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1299,7 +1355,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1337,7 +1393,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1376,7 +1432,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1463,7 +1519,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -1516,7 +1572,7 @@ they can override this method.
@@ -1578,7 +1634,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -1634,7 +1690,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -1666,6 +1722,56 @@ can subject the caller to security exploits.
+
+
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
Return values
self
@@ -1686,7 +1792,7 @@ can subject the caller to security exploits.
@@ -1734,7 +1840,7 @@ can subject the caller to security exploits.
@@ -1787,7 +1893,7 @@ Set to false (the default) to discard charts.
@@ -1827,7 +1933,7 @@ Set to false (the default) to discard charts.
@@ -1876,7 +1982,7 @@ Set to false (the default) to discard charts.
@@ -1929,7 +2035,7 @@ Set to false (the default) to discard charts.
@@ -1981,7 +2087,7 @@ Set to false (the default) to discard charts.
@@ -2030,7 +2136,7 @@ Set to false (the default) to discard charts.
@@ -2081,7 +2187,7 @@ Set to false (the default) to discard charts.
@@ -2178,7 +2284,7 @@ Set to false (the default) to discard charts.
@@ -2216,7 +2322,7 @@ Set to false (the default) to discard charts.
@@ -2261,7 +2367,7 @@ Set to false (the default) to discard charts.
@@ -2407,6 +2513,7 @@ Set to false (the default) to discard charts.
- $allowExternalImages
+ - $createBlankSheetIfNoneRead
- $fileHandle
- $ignoreRowsWithNoCells
- $includeCharts
@@ -2440,6 +2547,7 @@ Set to false (the default) to discard charts.
- load()
- loadIntoExisting()
- setAllowExternalImages()
+ - setCreateBlankSheetIfNoneRead()
- setIgnoreRowsWithNoCells()
- setIncludeCharts()
- setLoadAllSheets()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff5.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff5.html
index 6381f1ffe..3114ac705 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff5.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff5.html
@@ -757,6 +757,14 @@
- Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+ -
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+- Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
-
$data
@@ -1244,6 +1252,14 @@ section 2.5.15.
: void
+ -
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+- Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
-
setEncryptionPassword()
@@ -4963,6 +4979,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -6121,7 +6177,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6199,7 +6255,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6549,7 +6605,7 @@ refers to a shared formula.
@@ -6670,7 +6726,7 @@ refers to a shared formula.
@@ -6753,7 +6809,7 @@ refers to a shared formula.
@@ -6829,7 +6885,7 @@ refers to a shared formula.
@@ -6867,7 +6923,7 @@ refers to a shared formula.
@@ -7022,7 +7078,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -7063,7 +7119,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -7120,7 +7176,7 @@ which satisfies Phpstan.
@@ -7163,7 +7219,7 @@ which satisfies Phpstan.
@@ -7205,7 +7261,7 @@ which satisfies Phpstan.
@@ -7244,7 +7300,7 @@ which satisfies Phpstan.
@@ -7282,7 +7338,7 @@ which satisfies Phpstan.
@@ -7376,7 +7432,7 @@ which satisfies Phpstan.
@@ -7414,7 +7470,7 @@ which satisfies Phpstan.
@@ -7550,7 +7606,7 @@ which satisfies Phpstan.
@@ -7713,7 +7769,7 @@ section 2.5.15.
@@ -7794,6 +7850,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -7905,7 +8011,7 @@ can subject the caller to security exploits.
@@ -7958,7 +8064,7 @@ Set to false (the default) to discard charts.
@@ -7998,7 +8104,7 @@ Set to false (the default) to discard charts.
@@ -8047,7 +8153,7 @@ Set to false (the default) to discard charts.
@@ -8100,7 +8206,7 @@ Set to false (the default) to discard charts.
@@ -8152,7 +8258,7 @@ Set to false (the default) to discard charts.
@@ -8201,7 +8307,7 @@ Set to false (the default) to discard charts.
@@ -8405,7 +8511,7 @@ Set to false (the default) to discard charts.
@@ -8611,7 +8717,7 @@ Set to false (the default) to discard charts.
@@ -8649,7 +8755,7 @@ Set to false (the default) to discard charts.
@@ -8694,7 +8800,7 @@ Set to false (the default) to discard charts.
@@ -8742,7 +8848,7 @@ Set to false (the default) to discard charts.
@@ -8931,7 +9037,7 @@ Excel File Format"
@@ -8981,7 +9087,7 @@ OpenOffice documentation: 2.5.2.
@@ -9031,7 +9137,7 @@ OpenOffice documentation: 2.5.2.
@@ -9087,7 +9193,7 @@ OpenOffice documentation: 2.5.2.
@@ -9206,7 +9312,7 @@ Excel File Format"
@@ -9244,7 +9350,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9279,7 +9385,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9948,7 +10054,7 @@ Excel File Format"
@@ -10101,7 +10207,7 @@ Excel File Format"
@@ -10683,7 +10789,7 @@ Excel File Format"
@@ -11154,7 +11260,7 @@ Excel File Format"
@@ -11224,7 +11330,7 @@ Excel File Format"
@@ -11259,7 +11365,7 @@ Excel File Format"
@@ -12184,6 +12290,7 @@ Excel File Format"
$baseCell
$cellNotes
$codepage
+ $createBlankSheetIfNoneRead
$data
$dataSize
$definedname
@@ -12258,6 +12365,7 @@ Excel File Format"
readBIFF5CellRangeAddressList()
setAllowExternalImages()
setCodepage()
+ setCreateBlankSheetIfNoneRead()
setEncryptionPassword()
setIgnoreRowsWithNoCells()
setIncludeCharts()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff8.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff8.html
index 4fdc4e626..02e673a65 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff8.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-Biff8.html
@@ -757,6 +757,14 @@
Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
$data
@@ -1235,6 +1243,14 @@ section 2.5.15.
: void
+
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
setEncryptionPassword()
@@ -5007,6 +5023,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -6165,7 +6221,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6243,7 +6299,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6593,7 +6649,7 @@ refers to a shared formula.
@@ -6714,7 +6770,7 @@ refers to a shared formula.
@@ -6797,7 +6853,7 @@ refers to a shared formula.
@@ -6873,7 +6929,7 @@ refers to a shared formula.
@@ -6911,7 +6967,7 @@ refers to a shared formula.
@@ -7066,7 +7122,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -7107,7 +7163,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -7164,7 +7220,7 @@ which satisfies Phpstan.
@@ -7207,7 +7263,7 @@ which satisfies Phpstan.
@@ -7249,7 +7305,7 @@ which satisfies Phpstan.
@@ -7288,7 +7344,7 @@ which satisfies Phpstan.
@@ -7326,7 +7382,7 @@ which satisfies Phpstan.
@@ -7420,7 +7476,7 @@ which satisfies Phpstan.
@@ -7458,7 +7514,7 @@ which satisfies Phpstan.
@@ -7594,7 +7650,7 @@ which satisfies Phpstan.
@@ -7706,7 +7762,7 @@ section 2.5.15.
@@ -7787,6 +7843,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -7898,7 +8004,7 @@ can subject the caller to security exploits.
@@ -7951,7 +8057,7 @@ Set to false (the default) to discard charts.
@@ -7991,7 +8097,7 @@ Set to false (the default) to discard charts.
@@ -8040,7 +8146,7 @@ Set to false (the default) to discard charts.
@@ -8093,7 +8199,7 @@ Set to false (the default) to discard charts.
@@ -8145,7 +8251,7 @@ Set to false (the default) to discard charts.
@@ -8194,7 +8300,7 @@ Set to false (the default) to discard charts.
@@ -8398,7 +8504,7 @@ Set to false (the default) to discard charts.
@@ -8604,7 +8710,7 @@ Set to false (the default) to discard charts.
@@ -8642,7 +8748,7 @@ Set to false (the default) to discard charts.
@@ -8687,7 +8793,7 @@ Set to false (the default) to discard charts.
@@ -8735,7 +8841,7 @@ Set to false (the default) to discard charts.
@@ -9251,7 +9357,7 @@ Excel File Format"
@@ -9301,7 +9407,7 @@ OpenOffice documentation: 2.5.2.
@@ -9351,7 +9457,7 @@ OpenOffice documentation: 2.5.2.
@@ -9407,7 +9513,7 @@ OpenOffice documentation: 2.5.2.
@@ -9526,7 +9632,7 @@ Excel File Format"
@@ -9564,7 +9670,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9599,7 +9705,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -10268,7 +10374,7 @@ Excel File Format"
@@ -10421,7 +10527,7 @@ Excel File Format"
@@ -11003,7 +11109,7 @@ Excel File Format"
@@ -11474,7 +11580,7 @@ Excel File Format"
@@ -11544,7 +11650,7 @@ Excel File Format"
@@ -11579,7 +11685,7 @@ Excel File Format"
@@ -12504,6 +12610,7 @@ Excel File Format"
$baseCell
$cellNotes
$codepage
+ $createBlankSheetIfNoneRead
$data
$dataSize
$definedname
@@ -12577,6 +12684,7 @@ Excel File Format"
readBIFF8CellRangeAddressList()
setAllowExternalImages()
setCodepage()
+ setCreateBlankSheetIfNoneRead()
setEncryptionPassword()
setIgnoreRowsWithNoCells()
setIncludeCharts()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ConditionalFormatting.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ConditionalFormatting.html
index d27c4c882..0a54a4bf8 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ConditionalFormatting.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ConditionalFormatting.html
@@ -757,6 +757,14 @@
Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
$data
@@ -1233,6 +1241,14 @@ Returns either an array of worksheet names (the list of worksheets that should b
: void
+
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
setEncryptionPassword()
@@ -4971,6 +4987,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -6129,7 +6185,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6207,7 +6263,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6557,7 +6613,7 @@ refers to a shared formula.
@@ -6678,7 +6734,7 @@ refers to a shared formula.
@@ -6761,7 +6817,7 @@ refers to a shared formula.
@@ -6837,7 +6893,7 @@ refers to a shared formula.
@@ -6875,7 +6931,7 @@ refers to a shared formula.
@@ -7030,7 +7086,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -7071,7 +7127,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -7128,7 +7184,7 @@ which satisfies Phpstan.
@@ -7171,7 +7227,7 @@ which satisfies Phpstan.
@@ -7213,7 +7269,7 @@ which satisfies Phpstan.
@@ -7252,7 +7308,7 @@ which satisfies Phpstan.
@@ -7290,7 +7346,7 @@ which satisfies Phpstan.
@@ -7384,7 +7440,7 @@ which satisfies Phpstan.
@@ -7422,7 +7478,7 @@ which satisfies Phpstan.
@@ -7558,7 +7614,7 @@ which satisfies Phpstan.
@@ -7668,7 +7724,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -7749,6 +7805,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -7860,7 +7966,7 @@ can subject the caller to security exploits.
@@ -7913,7 +8019,7 @@ Set to false (the default) to discard charts.
@@ -7953,7 +8059,7 @@ Set to false (the default) to discard charts.
@@ -8002,7 +8108,7 @@ Set to false (the default) to discard charts.
@@ -8055,7 +8161,7 @@ Set to false (the default) to discard charts.
@@ -8107,7 +8213,7 @@ Set to false (the default) to discard charts.
@@ -8156,7 +8262,7 @@ Set to false (the default) to discard charts.
@@ -8408,7 +8514,7 @@ Set to false (the default) to discard charts.
@@ -8614,7 +8720,7 @@ Set to false (the default) to discard charts.
@@ -8652,7 +8758,7 @@ Set to false (the default) to discard charts.
@@ -8697,7 +8803,7 @@ Set to false (the default) to discard charts.
@@ -8745,7 +8851,7 @@ Set to false (the default) to discard charts.
@@ -8934,7 +9040,7 @@ Excel File Format"
@@ -8984,7 +9090,7 @@ OpenOffice documentation: 2.5.2.
@@ -9034,7 +9140,7 @@ OpenOffice documentation: 2.5.2.
@@ -9156,7 +9262,7 @@ OpenOffice documentation: 2.5.2.
@@ -9326,7 +9432,7 @@ Excel File Format"
@@ -9364,7 +9470,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9399,7 +9505,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -10068,7 +10174,7 @@ Excel File Format"
@@ -10221,7 +10327,7 @@ Excel File Format"
@@ -10803,7 +10909,7 @@ Excel File Format"
@@ -11274,7 +11380,7 @@ Excel File Format"
@@ -11344,7 +11450,7 @@ Excel File Format"
@@ -11379,7 +11485,7 @@ Excel File Format"
@@ -12304,6 +12410,7 @@ Excel File Format"
$baseCell
$cellNotes
$codepage
+ $createBlankSheetIfNoneRead
$data
$dataSize
$definedname
@@ -12377,6 +12484,7 @@ Excel File Format"
operator()
setAllowExternalImages()
setCodepage()
+ setCreateBlankSheetIfNoneRead()
setEncryptionPassword()
setIgnoreRowsWithNoCells()
setIncludeCharts()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-DataValidationHelper.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-DataValidationHelper.html
index 1996a8b9e..8ab68dae7 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-DataValidationHelper.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-DataValidationHelper.html
@@ -757,6 +757,14 @@
Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
$data
@@ -1239,6 +1247,14 @@ Returns either an array of worksheet names (the list of worksheets that should b
: void
+
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
setEncryptionPassword()
@@ -4971,6 +4987,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -6129,7 +6185,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6207,7 +6263,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6557,7 +6613,7 @@ refers to a shared formula.
@@ -6678,7 +6734,7 @@ refers to a shared formula.
@@ -6809,7 +6865,7 @@ refers to a shared formula.
@@ -6885,7 +6941,7 @@ refers to a shared formula.
@@ -6923,7 +6979,7 @@ refers to a shared formula.
@@ -7078,7 +7134,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -7119,7 +7175,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -7176,7 +7232,7 @@ which satisfies Phpstan.
@@ -7219,7 +7275,7 @@ which satisfies Phpstan.
@@ -7261,7 +7317,7 @@ which satisfies Phpstan.
@@ -7300,7 +7356,7 @@ which satisfies Phpstan.
@@ -7338,7 +7394,7 @@ which satisfies Phpstan.
@@ -7432,7 +7488,7 @@ which satisfies Phpstan.
@@ -7470,7 +7526,7 @@ which satisfies Phpstan.
@@ -7606,7 +7662,7 @@ which satisfies Phpstan.
@@ -7716,7 +7772,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -7797,6 +7853,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -7908,7 +8014,7 @@ can subject the caller to security exploits.
@@ -7961,7 +8067,7 @@ Set to false (the default) to discard charts.
@@ -8001,7 +8107,7 @@ Set to false (the default) to discard charts.
@@ -8050,7 +8156,7 @@ Set to false (the default) to discard charts.
@@ -8103,7 +8209,7 @@ Set to false (the default) to discard charts.
@@ -8155,7 +8261,7 @@ Set to false (the default) to discard charts.
@@ -8204,7 +8310,7 @@ Set to false (the default) to discard charts.
@@ -8456,7 +8562,7 @@ Set to false (the default) to discard charts.
@@ -8662,7 +8768,7 @@ Set to false (the default) to discard charts.
@@ -8700,7 +8806,7 @@ Set to false (the default) to discard charts.
@@ -8745,7 +8851,7 @@ Set to false (the default) to discard charts.
@@ -8793,7 +8899,7 @@ Set to false (the default) to discard charts.
@@ -8982,7 +9088,7 @@ Excel File Format"
@@ -9032,7 +9138,7 @@ OpenOffice documentation: 2.5.2.
@@ -9082,7 +9188,7 @@ OpenOffice documentation: 2.5.2.
@@ -9138,7 +9244,7 @@ OpenOffice documentation: 2.5.2.
@@ -9257,7 +9363,7 @@ Excel File Format"
@@ -9295,7 +9401,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9375,7 +9481,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -10044,7 +10150,7 @@ Excel File Format"
@@ -10197,7 +10303,7 @@ Excel File Format"
@@ -10779,7 +10885,7 @@ Excel File Format"
@@ -11250,7 +11356,7 @@ Excel File Format"
@@ -11320,7 +11426,7 @@ Excel File Format"
@@ -11355,7 +11461,7 @@ Excel File Format"
@@ -12280,6 +12386,7 @@ Excel File Format"
$baseCell
$cellNotes
$codepage
+ $createBlankSheetIfNoneRead
$data
$dataSize
$definedname
@@ -12354,6 +12461,7 @@ Excel File Format"
operator()
setAllowExternalImages()
setCodepage()
+ setCreateBlankSheetIfNoneRead()
setEncryptionPassword()
setIgnoreRowsWithNoCells()
setIncludeCharts()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ListFunctions.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ListFunctions.html
index 6ee5fab5f..c65e28363 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ListFunctions.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-ListFunctions.html
@@ -757,6 +757,14 @@
Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
$data
@@ -1227,6 +1235,14 @@ Returns either an array of worksheet names (the list of worksheets that should b
: void
+
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
setEncryptionPassword()
@@ -4960,6 +4976,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -6118,7 +6174,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6196,7 +6252,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6546,7 +6602,7 @@ refers to a shared formula.
@@ -6667,7 +6723,7 @@ refers to a shared formula.
@@ -6750,7 +6806,7 @@ refers to a shared formula.
@@ -6826,7 +6882,7 @@ refers to a shared formula.
@@ -6864,7 +6920,7 @@ refers to a shared formula.
@@ -7019,7 +7075,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -7060,7 +7116,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -7117,7 +7173,7 @@ which satisfies Phpstan.
@@ -7160,7 +7216,7 @@ which satisfies Phpstan.
@@ -7202,7 +7258,7 @@ which satisfies Phpstan.
@@ -7241,7 +7297,7 @@ which satisfies Phpstan.
@@ -7279,7 +7335,7 @@ which satisfies Phpstan.
@@ -7373,7 +7429,7 @@ which satisfies Phpstan.
@@ -7411,7 +7467,7 @@ which satisfies Phpstan.
@@ -7547,7 +7603,7 @@ which satisfies Phpstan.
@@ -7609,7 +7665,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -7690,6 +7746,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -7801,7 +7907,7 @@ can subject the caller to security exploits.
@@ -7854,7 +7960,7 @@ Set to false (the default) to discard charts.
@@ -7894,7 +8000,7 @@ Set to false (the default) to discard charts.
@@ -7943,7 +8049,7 @@ Set to false (the default) to discard charts.
@@ -7996,7 +8102,7 @@ Set to false (the default) to discard charts.
@@ -8048,7 +8154,7 @@ Set to false (the default) to discard charts.
@@ -8097,7 +8203,7 @@ Set to false (the default) to discard charts.
@@ -8301,7 +8407,7 @@ Set to false (the default) to discard charts.
@@ -8619,7 +8725,7 @@ Set to false (the default) to discard charts.
@@ -8657,7 +8763,7 @@ Set to false (the default) to discard charts.
@@ -8702,7 +8808,7 @@ Set to false (the default) to discard charts.
@@ -8750,7 +8856,7 @@ Set to false (the default) to discard charts.
@@ -8939,7 +9045,7 @@ Excel File Format"
@@ -8989,7 +9095,7 @@ OpenOffice documentation: 2.5.2.
@@ -9039,7 +9145,7 @@ OpenOffice documentation: 2.5.2.
@@ -9095,7 +9201,7 @@ OpenOffice documentation: 2.5.2.
@@ -9214,7 +9320,7 @@ Excel File Format"
@@ -9252,7 +9358,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9287,7 +9393,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9956,7 +10062,7 @@ Excel File Format"
@@ -10109,7 +10215,7 @@ Excel File Format"
@@ -10691,7 +10797,7 @@ Excel File Format"
@@ -11162,7 +11268,7 @@ Excel File Format"
@@ -11232,7 +11338,7 @@ Excel File Format"
@@ -11267,7 +11373,7 @@ Excel File Format"
@@ -12192,6 +12298,7 @@ Excel File Format"
$baseCell
$cellNotes
$codepage
+ $createBlankSheetIfNoneRead
$data
$dataSize
$definedname
@@ -12264,6 +12371,7 @@ Excel File Format"
load()
setAllowExternalImages()
setCodepage()
+ setCreateBlankSheetIfNoneRead()
setEncryptionPassword()
setIgnoreRowsWithNoCells()
setIncludeCharts()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-LoadSpreadsheet.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-LoadSpreadsheet.html
index 4d68b17a2..bf61fd280 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-LoadSpreadsheet.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls-LoadSpreadsheet.html
@@ -757,6 +757,14 @@
Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
$data
@@ -1227,6 +1235,14 @@ Returns either an array of worksheet names (the list of worksheets that should b
: void
+
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
setEncryptionPassword()
@@ -4953,6 +4969,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -6111,7 +6167,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6189,7 +6245,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6539,7 +6595,7 @@ refers to a shared formula.
@@ -6660,7 +6716,7 @@ refers to a shared formula.
@@ -6743,7 +6799,7 @@ refers to a shared formula.
@@ -6819,7 +6875,7 @@ refers to a shared formula.
@@ -6857,7 +6913,7 @@ refers to a shared formula.
@@ -7012,7 +7068,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -7053,7 +7109,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -7110,7 +7166,7 @@ which satisfies Phpstan.
@@ -7153,7 +7209,7 @@ which satisfies Phpstan.
@@ -7195,7 +7251,7 @@ which satisfies Phpstan.
@@ -7234,7 +7290,7 @@ which satisfies Phpstan.
@@ -7272,7 +7328,7 @@ which satisfies Phpstan.
@@ -7366,7 +7422,7 @@ which satisfies Phpstan.
@@ -7404,7 +7460,7 @@ which satisfies Phpstan.
@@ -7540,7 +7596,7 @@ which satisfies Phpstan.
@@ -7602,7 +7658,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -7683,6 +7739,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -7794,7 +7900,7 @@ can subject the caller to security exploits.
@@ -7847,7 +7953,7 @@ Set to false (the default) to discard charts.
@@ -7887,7 +7993,7 @@ Set to false (the default) to discard charts.
@@ -7936,7 +8042,7 @@ Set to false (the default) to discard charts.
@@ -7989,7 +8095,7 @@ Set to false (the default) to discard charts.
@@ -8041,7 +8147,7 @@ Set to false (the default) to discard charts.
@@ -8090,7 +8196,7 @@ Set to false (the default) to discard charts.
@@ -8294,7 +8400,7 @@ Set to false (the default) to discard charts.
@@ -8556,7 +8662,7 @@ Set to false (the default) to discard charts.
@@ -8594,7 +8700,7 @@ Set to false (the default) to discard charts.
@@ -8639,7 +8745,7 @@ Set to false (the default) to discard charts.
@@ -8687,7 +8793,7 @@ Set to false (the default) to discard charts.
@@ -8876,7 +8982,7 @@ Excel File Format"
@@ -8926,7 +9032,7 @@ OpenOffice documentation: 2.5.2.
@@ -8976,7 +9082,7 @@ OpenOffice documentation: 2.5.2.
@@ -9032,7 +9138,7 @@ OpenOffice documentation: 2.5.2.
@@ -9151,7 +9257,7 @@ Excel File Format"
@@ -9189,7 +9295,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9224,7 +9330,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9893,7 +9999,7 @@ Excel File Format"
@@ -10046,7 +10152,7 @@ Excel File Format"
@@ -10628,7 +10734,7 @@ Excel File Format"
@@ -11099,7 +11205,7 @@ Excel File Format"
@@ -11169,7 +11275,7 @@ Excel File Format"
@@ -11204,7 +11310,7 @@ Excel File Format"
@@ -12129,6 +12235,7 @@ Excel File Format"
$baseCell
$cellNotes
$codepage
+ $createBlankSheetIfNoneRead
$data
$dataSize
$definedname
@@ -12201,6 +12308,7 @@ Excel File Format"
load()
setAllowExternalImages()
setCodepage()
+ setCreateBlankSheetIfNoneRead()
setEncryptionPassword()
setIgnoreRowsWithNoCells()
setIncludeCharts()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls.html
index a8fbce9d0..330b0f2b8 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xls.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xls.html
@@ -756,6 +756,14 @@
Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
$data
@@ -1226,6 +1234,14 @@ Returns either an array of worksheet names (the list of worksheets that should b
: void
+
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
setEncryptionPassword()
@@ -4945,6 +4961,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -6103,7 +6159,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6181,7 +6237,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -6531,7 +6587,7 @@ refers to a shared formula.
@@ -6652,7 +6708,7 @@ refers to a shared formula.
@@ -6735,7 +6791,7 @@ refers to a shared formula.
@@ -6811,7 +6867,7 @@ refers to a shared formula.
@@ -6849,7 +6905,7 @@ refers to a shared formula.
@@ -7004,7 +7060,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -7045,7 +7101,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -7102,7 +7158,7 @@ which satisfies Phpstan.
@@ -7145,7 +7201,7 @@ which satisfies Phpstan.
@@ -7187,7 +7243,7 @@ which satisfies Phpstan.
@@ -7226,7 +7282,7 @@ which satisfies Phpstan.
@@ -7264,7 +7320,7 @@ which satisfies Phpstan.
@@ -7358,7 +7414,7 @@ which satisfies Phpstan.
@@ -7396,7 +7452,7 @@ which satisfies Phpstan.
@@ -7532,7 +7588,7 @@ which satisfies Phpstan.
@@ -7594,7 +7650,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -7675,6 +7731,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -7786,7 +7892,7 @@ can subject the caller to security exploits.
@@ -7839,7 +7945,7 @@ Set to false (the default) to discard charts.
@@ -7879,7 +7985,7 @@ Set to false (the default) to discard charts.
@@ -7928,7 +8034,7 @@ Set to false (the default) to discard charts.
@@ -7981,7 +8087,7 @@ Set to false (the default) to discard charts.
@@ -8033,7 +8139,7 @@ Set to false (the default) to discard charts.
@@ -8082,7 +8188,7 @@ Set to false (the default) to discard charts.
@@ -8286,7 +8392,7 @@ Set to false (the default) to discard charts.
@@ -8492,7 +8598,7 @@ Set to false (the default) to discard charts.
@@ -8530,7 +8636,7 @@ Set to false (the default) to discard charts.
@@ -8575,7 +8681,7 @@ Set to false (the default) to discard charts.
@@ -8623,7 +8729,7 @@ Set to false (the default) to discard charts.
@@ -8812,7 +8918,7 @@ Excel File Format"
@@ -8862,7 +8968,7 @@ OpenOffice documentation: 2.5.2.
@@ -8912,7 +9018,7 @@ OpenOffice documentation: 2.5.2.
@@ -8968,7 +9074,7 @@ OpenOffice documentation: 2.5.2.
@@ -9087,7 +9193,7 @@ Excel File Format"
@@ -9125,7 +9231,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9160,7 +9266,7 @@ When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used in
@@ -9829,7 +9935,7 @@ Excel File Format"
@@ -9982,7 +10088,7 @@ Excel File Format"
@@ -10564,7 +10670,7 @@ Excel File Format"
@@ -11035,7 +11141,7 @@ Excel File Format"
@@ -11105,7 +11211,7 @@ Excel File Format"
@@ -11140,7 +11246,7 @@ Excel File Format"
@@ -12065,6 +12171,7 @@ Excel File Format"
$baseCell
$cellNotes
$codepage
+ $createBlankSheetIfNoneRead
$data
$dataSize
$definedname
@@ -12137,6 +12244,7 @@ Excel File Format"
load()
setAllowExternalImages()
setCodepage()
+ setCreateBlankSheetIfNoneRead()
setEncryptionPassword()
setIgnoreRowsWithNoCells()
setIncludeCharts()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-XlsBase.html b/classes/PhpOffice-PhpSpreadsheet-Reader-XlsBase.html
index 430a5b36b..5b2f8fc7b 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-XlsBase.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-XlsBase.html
@@ -737,6 +737,14 @@
Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'.
+
+ $createBlankSheetIfNoneRead
+
+ : bool
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
$fileHandle
@@ -958,6 +966,14 @@ possibly without parsing the whole file to a Spreadsheet object.
: void
+
+ setCreateBlankSheetIfNoneRead()
+
+ : self
+
+Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
setIgnoreRowsWithNoCells()
@@ -3979,6 +3995,46 @@ For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE
+
+
+
+ $createBlankSheetIfNoneRead
+
+
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+
+ protected
+ bool
+ $createBlankSheetIfNoneRead
+ = false
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 63
+ 69
@@ -4241,7 +4297,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -4280,7 +4336,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -4318,7 +4374,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -4361,7 +4417,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -4444,7 +4500,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -4520,7 +4576,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -4558,7 +4614,7 @@ Identifies whether the Reader should read data values for all cells, or should i
@@ -4713,7 +4769,7 @@ If false (the default) it will ignore any charts defined in the workbook file.
@@ -4754,7 +4810,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -4797,7 +4853,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -4839,7 +4895,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -4878,7 +4934,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -4916,7 +4972,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -5010,7 +5066,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -5048,7 +5104,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -5097,7 +5153,7 @@ Returns either an array of worksheet names (the list of worksheets that should b
@@ -5150,7 +5206,7 @@ they can override this method.
@@ -5212,7 +5268,7 @@ IReader::LOAD_WITH_CHARTS - Include any charts that are defined in the loaded fi
@@ -5293,6 +5349,56 @@ can subject the caller to security exploits.
+
+
+
+ setCreateBlankSheetIfNoneRead()
+
+
+
+
+
+ Create a blank sheet if none are read,
+possibly due to a typo when using LoadSheetsOnly.
+
+
+ public
+ setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead) : self
+
+
+
+
+
+ Parameters
+
+ -
+ $createBlankSheetIfNoneRead
+ : bool
+
+ -
+
+
+
+
+
+
+
+
+
+
BaseReader.php
:
- 103
+ 109
@@ -5356,7 +5462,7 @@ can subject the caller to security exploits.
@@ -5409,7 +5515,7 @@ Set to false (the default) to discard charts.
@@ -5449,7 +5555,7 @@ Set to false (the default) to discard charts.
@@ -5498,7 +5604,7 @@ Set to false (the default) to discard charts.
@@ -5551,7 +5657,7 @@ Set to false (the default) to discard charts.
@@ -5603,7 +5709,7 @@ Set to false (the default) to discard charts.
@@ -5652,7 +5758,7 @@ Set to false (the default) to discard charts.
@@ -5904,7 +6010,7 @@ Set to false (the default) to discard charts.
@@ -5952,7 +6058,7 @@ Set to false (the default) to discard charts.
@@ -5990,7 +6096,7 @@ Set to false (the default) to discard charts.
@@ -6035,7 +6141,7 @@ Set to false (the default) to discard charts.
@@ -6590,6 +6696,7 @@ function will automatically find out where the Unicode string ends.
- $allowExternalImages
- $codepage
+ - $createBlankSheetIfNoneRead
- $fileHandle
- $ignoreRowsWithNoCells
- $includeCharts
@@ -6626,6 +6733,7 @@ function will automatically find out where the Unicode string ends.
- load()
- setAllowExternalImages()
- setCodepage()
+ - setCreateBlankSheetIfNoneRead()
- setIgnoreRowsWithNoCells()
- setIncludeCharts()
- setLoadAllSheets()
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ColumnAndRowAttributes.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ColumnAndRowAttributes.html
index ebf2e75cf..a7ade1618 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ColumnAndRowAttributes.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ColumnAndRowAttributes.html
@@ -123,7 +123,7 @@
@@ -203,7 +203,7 @@
@@ -254,7 +254,7 @@
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ConditionalStyles.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ConditionalStyles.html
index 34938201d..4ef9f9246 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ConditionalStyles.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx-ConditionalStyles.html
@@ -120,7 +120,7 @@
@@ -200,7 +200,7 @@
@@ -265,7 +265,7 @@
@@ -299,7 +299,7 @@
diff --git a/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx.html b/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx.html
index 4b45e674c..45f6cc897 100644
--- a/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx.html
+++ b/classes/PhpOffice-PhpSpreadsheet-Reader-Xlsx.html
@@ -175,6 +175,14 @@