Ingmar Runge
4407cffeff
XLSX Date Support / Test + Fix for years beyond 2037
...
This also fixes years < 1902 on 32-bit PHP systems.
2015-12-17 08:52:15 +01:00
Adrien Loison
8d27b3097d
Merge pull request #154 from box/fix_font_color_check
...
Fix hasSetFontColor check
2015-12-08 10:35:49 -08:00
Adrien Loison
2c6cb1ffe5
Fix hasSetFontColor check
2015-12-08 10:31:16 -08:00
Adrien Loison
22daea5f9a
Merge pull request #153 from box/improve_zip_for_mime_detection
...
Improve ZIP interface for better mime detection
2015-12-05 19:13:47 -08:00
Adrien Loison
ed0e8f79cc
Improve ZIP interface for better mime detection
...
The ZipHelper interface is now more generic and allow single files to be added.
It supports adding uncompressed files (for PHP7+), which is required to have the mime detection magic work with ODS files.
Also fixed a few issues with the created ODS file (thanks to https://odf-validator.rhcloud.com/ )
2015-12-05 18:06:13 -08:00
Adrien Loison
44d72d8245
Merge pull request #152 from box/proper_mime_type_detection
...
Proper mime type detection for XLSX files
2015-12-05 00:30:28 -08:00
Adrien Loison
728dd3b399
Proper mime type detection for XLSX files
...
Heuristics to detect proper mime type for XLSX files expect to see
certain files at the beginning of the XLSX archive. The order in which
the XML files are added therefore matters.
Specifically, "[Content_Types].xml" should be added first, followed by the
files located in the "xl" folder (at least 1 file).
2015-12-05 00:20:40 -08:00
Adrien Loison
05a9a1b60a
Merge pull request #146 from box/update_perf_tests_doc
...
Update README.md
2015-11-13 10:36:40 -08:00
Adrien Loison
a76624a721
Update README.md
2015-11-13 10:14:10 -08:00
Adrien Loison
90cbb7b5a6
Merge pull request #145 from box/speed_up
...
Various speed improvements
2015-11-12 14:09:52 -08:00
Adrien Loison
f55520661e
Various speed improvements
2015-11-12 13:55:25 -08:00
Adrien Loison
cb5dae22e4
Merge pull request #143 from box/xlsx_skip_empty_cells_on_write
...
[XLSX] Skip empty cells on write
2015-11-10 17:26:26 -08:00
Adrien Loison
2f6193ce20
[XLSX] Skip empty cells on write
...
Since cells are referenced by their coordinates (A2, B4...), it is not necessary to write empty cells.
This will reduce the final size of the generated XML and therefore XLSX file.
2015-11-10 17:17:54 -08:00
Adrien Loison
582da8403d
Merge pull request #139 from box/fix_phpdoc
...
Fix PHPDoc to work with Augmented Types
v2.3.2
2015-11-05 15:52:56 -08:00
Adrien Loison
8b666fc6cd
Fix PHPDoc to work with Augmented Types
2015-11-05 15:48:26 -08:00
Adrien Loison
f8aab6eefd
Merge pull request #138 from box/increase_entropy_uniqid
...
Increase entropy of uniqid
2015-11-05 10:44:47 -08:00
Adrien Loison
c4c6dddb20
Increase entropy of uniqid
...
This is to avoid conflicts if two folders are being created at the exact same time.
2015-11-05 10:40:19 -08:00
Adrien Loison
6c97141679
Merge pull request #133 from philipbrown/patch-1
...
Update README.md
2015-10-27 11:44:01 -07:00
Philip Brown
9c8cc05364
Update README.md
2015-10-27 18:34:58 +00:00
Adrien Loison
2a9400dfca
Merge pull request #131 from box/better_date_support_xlsx
...
Better date support
2015-10-23 16:26:00 -07:00
Adrien Loison
8ef6bdac62
Better date support
...
Although Excel has a Date type, older Excel versions use numeric values to store dates.
The value represents the number of days since Jan 1st, 1900.
The only way to tell if the value is a number or a date is to look at the styles.xml and check if the cell has date formatting.
2015-10-23 16:04:38 -07:00
Adrien Loison
46c246e6a4
Merge pull request #130 from box/highlight_xlsx_over_csv
...
Highlight XLSX over CSV in documentation
2015-10-23 11:00:04 -07:00
Adrien Loison
8fd606ae4f
Highlight XLSX over CSV in documentation
2015-10-23 10:52:12 -07:00
Adrien Loison
6767386daf
Merge pull request #128 from box/increase_max_read_bytes_for_csv
...
Increase max read bytes per line for CSV
2015-10-22 13:39:18 -07:00
Adrien Loison
3395d3abb3
Increase max read bytes per line for CSV
...
Specify a bigger value than the default one to support long lines.
2015-10-22 10:54:12 -07:00
Adrien Loison
d1c4d563c1
Merge pull request #126 from box/fix_xmlreader_open_issue_windows
...
Fix "Cannot open file" issue with XMLReader::open on Windows
v2.3.1
2015-10-15 10:41:12 -07:00
Adrien Loison
01cc8b3da0
Fix "Cannot open file" issue with XMLReader::open on Windows
...
This occurred when using relative paths. Using realpath() solves this issue.
2015-10-15 09:19:47 -07:00
Adrien Loison
45980195cd
Merge pull request #121 from box/add_test_for_empty_csv
...
Fix infinite loop for CSV with all lines empty
2015-10-05 21:15:11 +02:00
Adrien Loison
a1a1077677
Fix infinite loop for CSV with all lines empty
...
Only occured with multiline CSV files
2015-10-05 21:10:41 +02:00
Adrien Loison
16d0290a17
Merge pull request #115 from box/add_api_phpdoc
...
Added @api tag for documentation
2015-09-04 12:52:32 -07:00
Adrien Loison
f8c39287ad
Added @api tag for documentation
2015-09-04 11:43:01 -07:00
Adrien Loison
118810de22
Merge pull request #114 from box/remove_duplicate_method
...
Remove duplicated method
2015-09-04 11:42:52 -07:00
Adrien Loison
3720c9ea1c
Remove duplicated method
2015-09-04 11:37:44 -07:00
Adrien Loison
6124528161
Merge pull request #113 from box/all_ods_cell_types
...
Support all ODS cell types
v2.3.0
2015-09-02 14:30:19 -07:00
Adrien Loison
818ec2488c
Support all ODS cell types
...
Including:
- date / time
- currency
- percentage
- void
And improved support for boolean
2015-09-02 14:03:38 -07:00
Adrien Loison
aa7978146f
Merge pull request #112 from box/cell_formatters
...
Moved cell value formatting logic into formatters
2015-09-02 00:21:25 -07:00
Adrien Loison
d6e707c5fe
Moved cell value formatting logic into formatters
2015-09-02 00:12:59 -07:00
Adrien Loison
03ae367fb3
Update composer.json
2015-09-02 00:11:36 -07:00
Adrien Loison
ac48dce334
Merge pull request #110 from box/ods_documentation
...
ODS documentation
2015-09-01 23:23:10 -07:00
Adrien Loison
e147c580ca
ODS documentation
2015-09-01 23:11:07 -07:00
Adrien Loison
7615acf398
Random fixes
2015-09-01 23:04:57 -07:00
Adrien Loison
1d38bb00c5
Merge pull request #108 from box/remove_xml_indentation
...
Remove XML indentation
2015-09-01 12:52:34 -07:00
Adrien Loison
79d947a6b3
Merge pull request #107 from box/remove_is_inside_row
...
Remove unused isInsideRowTag
2015-09-01 11:30:48 -07:00
Adrien Loison
dd3cc5bf47
Remove XML indentation
2015-09-01 11:24:13 -07:00
Adrien Loison
0a5be41c53
Remove unused isInsideRowTag
2015-09-01 10:59:33 -07:00
Adrien Loison
d2ba6d884c
Merge pull request #106 from box/ods_reader
...
ODS Reader
2015-09-01 10:57:59 -07:00
Adrien Loison
e4154dfdc3
ODS Reader
...
Spout can now read ODS files.
It's on par with the XLSX reader. The only difference is that the row iterator cannot be rewound.
It supports the different output formats from LibreOffice and Excel, skipping extra rows/cells if needed.
2015-09-01 10:53:49 -07:00
Adrien Loison
3f0016f753
Merge pull request #103 from box/use_number_columns_repeated
...
Use number-columns-repeated in ODS writer
2015-08-31 12:55:37 -07:00
Adrien Loison
bc009a3241
Use number-columns-repeated in ODS writer
...
The number-columns-repeated usage may reduce the size of the outputted XML file by merging repeated values together.
2015-08-31 12:03:28 -07:00
Adrien Loison
0f8e7a8f58
Merge pull request #102 from box/improve_ods_writer
...
Improve ODS Writer
2015-08-31 10:02:06 -07:00