Skip to content

Commit 38628f0

Browse files
committed
ITST-16517: XLSX Reader cuts off leading zeros
- Update CHANGELOG.md and README.md
1 parent 5a7a9f9 commit 38628f0

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,37 @@
1+
### v.0.7.4 2019-05-07
2+
- Added the option to use alphabetical column names (A, B, AA, ZX) instead of numeric indexes in returned row contents, using the parameter "OutputColumnNames".
3+
- Fixed a bug that caused leading zeros in text cell content to get removed if the cell was set to text via an apostrophe prefix.
4+
5+
### v.0.7.3 2019-03-25
6+
- Fixed an issue that prevented empty rows from being properly output in all appropriate cases.
7+
8+
### v.0.7.2 2019-03-14
9+
- Fixed an issue that caused format parsing to cease working for some files.
10+
11+
### v.0.7.1 2019-02-27
12+
- New configuration parameters to control automatic re-formatting of found Date/Time values: forceDateFormat, forceTimeFormat, forceDateTimeFormat
13+
- Improved handling of potential errors when working with subdirectories of the configured temporary directory
14+
- Fixed composer.json lacking ext-xmlreader requirement
15+
16+
### v.0.7.0 2019-02-05
17+
- Improved support for different XLSX file generators:
18+
- Improved awareness of XML namespaces.
19+
- Improved support for newer OOXML editions:
20+
- Namespace URIs from newer versions of the OOXML standard are now recognized and handled accordingly.
21+
- Dropped requirement for SimpleXMLElement.
22+
- Minor improvements in handling used document resources.
23+
24+
### v.0.6.3 2018-12-04
25+
- Bugfix: Check if current row, that is to be read, is also the one which the read() function takes, return empty row if not.
26+
27+
### v.0.6.2 2018-11-20
28+
- Bugfix: differentiate between internal sheet ID and positioning ordering of the sheet within the document
29+
130
### v.0.6.1 2018-05-16
231
- Removed unneccessary test files.
332
- Minor code quality improvements.
433

534
### v.0.6.0 2018-05-01
6-
735
- Added option 'SkipEmptyCells' in order to consider or not possible empty values in cells.
836
- Added option 'CustomFormats' to define and overwrite format values.
937
- Ensure deletion of temporary files after run.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,16 @@ foreach ($sheets as $index => $sheet_data) {
7777
$reader->close();
7878
```
7979

80-
As extra configuration options we have:
80+
Extra configuration options available when constructing a new Reader() object:
8181
- TempDir: provided temporary directory (used for unzipping all files like Styles.xml, Worksheet.xml...) must be writable and accessible by the XLSX Reader.
8282
- SkipEmptyCells: will skip empty values within any cell. If an entire row does not contain any value, only one empty (NULL) entry will be returned.
8383
- ReturnDateTimeObjects: will not return formatted date-time strings, DateTime objects instead.
8484
- SharedStringsConfiguration: explained in "Notes about library performance".
8585
- CustomFormats: matrix that will overwrite any format read by the parser. Array format must match the BUILT-IN formats list documented by Microsoft.
86+
- ForceDateFormat: A date format that will be used for all date values read from the document.
87+
- ForceTimeFormat: A time format that will be used for all time values read from the document.
88+
- ForceDateTimeFormat: A datetime format that will be used for all datetime values read from the document.
89+
- OutputColumnNames: If true, read data will be returned using alphabetical column indexes (A, B, AA, ZX, ...) instead of numeric indexes.
8690

8791
If a sheet is changed to the same that is currently open, the position in the file still reverts to the beginning, so as to conform
8892
to the same behavior as when changed to a different sheet.

0 commit comments

Comments
 (0)