Marie
b02d13cd40
Set BOM as optional on CSV writer ( #265 )
2016-07-07 15:21:41 +02:00
rlukasz
aa25678a83
Update RowIterator.php ( #263 )
2016-07-04 11:31:03 +02:00
Adrien Loison
192659cb24
Update README.md ( #256 )
2016-06-19 20:20:49 -07:00
madflow
e30bc37448
First stab at #135 - Add borders ( #200 )
...
Fixes #135
Added border support for ODS and XLSX files.
Updated README.
2016-06-18 23:36:10 -07:00
Adrien Loison
1891c0b053
Fix XLSX reading when shared strings is missing the uniqueCount attribute ( #255 )
...
Use "count" attribute as a fallback
2016-06-16 10:06:11 -07:00
madflow
a43c13a36f
Fix #252 ( #253 )
2016-06-14 10:02:01 -07:00
Adrien Loison
dc31d6e8c2
Update .scrutinizer.yml ( #248 )
2016-06-09 10:52:01 -07:00
Adrien Loison
8edd8e2401
Clear previous output when openToBrowser() called ( #243 )
...
If any character has been outputted before, the generated file will be corrupted.
2016-06-08 13:53:41 -07:00
madflow
cd38ba093e
Fix #245 ( #246 )
2016-06-08 09:50:00 -07:00
Pavel Zyukin
70c81e809f
Add the ability to pass an array with various keys to addRows() ( #240 )
2016-06-03 08:09:37 -07:00
Adrien Loison
1d3a9f939c
Convert escapers to singletons ( #239 )
2016-05-30 13:55:21 -07:00
Ingmar Runge
efebfb2bc2
CellValueFormatterTest: fix expectations for 32bit PHP ( #234 )
2016-05-30 10:25:30 -07:00
Adrien Loison
251c0bebc1
Adding open_file_in_zip() helper function to XMLReader ( #238 )
2016-05-29 23:22:57 -07:00
Adrien Loison
03866a6604
Support XLSX with prefixed XML files ( #237 )
...
While the standard is not to have prefixes, some XLSX files have XML files containing a prefix.
Microsoft has a tool that generates such files: https://msdn.microsoft.com/en-us/library/office/gg278316.aspx
2016-05-29 22:16:59 -07:00
Adrien Loison
2ed30321b4
ODS Writer should accept associative arrays ( #232 )
2016-05-25 19:59:18 -07:00
Adrien Loison
2c80b1f23a
XLSX Reader should add a space between text nodes ( #229 )
...
When a cell contains multiple text nodes, the cell value is currently obtained by concatenating the value of each text node.
Instead, values should still be concatenated but a space should be added in between.
2016-05-23 14:15:48 -07:00
Adrien Loison
a24e794177
Update README.md ( #228 )
...
Fixed the amount of memory used by Spout, as it used to take into account the memory used by PHPUnit.
2016-05-23 13:36:07 -07:00
Adrien Loison
104cd9b811
Option to return formatted dates instead of PHP objects ( #226 )
...
When reading spreadsheets, Spout should be able to return formatted dates, as shown when opened with Excel for instance.
It currently only returns DateTime/DateInterval objects, making it impossible to read + write, as the Writer does not accept objects.
2016-05-20 16:08:35 -07:00
Adrien Loison
a6a6b158de
Pin PHPUnit version to keep support for PHP5.4 ( #227 )
2016-05-20 16:00:22 -07:00
madflow
2d923c7e46
Fix issue #218 ( #222 )
2016-05-20 09:32:47 -07:00
Adrien Loison
b4724906c4
Add support for cells formatted as time ( #224 )
...
Cells formatted as "time" have values between 0 and 1. These values used to be considered as invalid.
Note: this uses what was started in #202
2016-05-19 13:10:47 -07:00
Adrien Loison
bb20d2e6bb
Update Scrutinizer dependency and code coverage ( #223 )
2016-05-19 11:25:00 -07:00
Adrien Loison
b8fd789ac0
Retrieve XLSX sheets in order of appearance ( #220 )
...
Instead of relying on the ID, sheets should be retrieved in the order they appear in the file.
Workbook.xml describes the correct order.
This allows the reader to read data in the correct order when sheets have been manually moved after creation.
2016-05-19 10:37:48 -07:00
Adrien Loison
5a7c2c1262
Handle General number format as non date ( #221 )
...
If the number format is set to General (id = 0), do no try to format the value as a date
2016-05-19 09:40:12 -07:00
Adrien Loison
e9cd7a397e
Merge pull request #199 from box/check_valid_resource_on_close
...
Check file handle is valid before manipulating it
v2.4.4
2016-04-12 11:03:15 -07:00
Adrien Loison
8bb42ebc23
Check file handle is valid before manipulating it
...
This fixes issues when something went wrong on reader/writer init and the developer wants to close the reader/writer.
The file handle may not be defined so we need to add a check for it, before actually using it.
2016-04-12 10:36:59 -07:00
Adrien Loison
71a6f6a937
Merge pull request #196 from madflow/trim-inline-strings
...
Fix #195
2016-04-09 13:20:48 -07:00
madflow
616925148e
Renamed xlsx file, #195
2016-04-07 08:58:54 +02:00
madflow
6f0f7c9690
Fix #195
2016-04-06 22:00:47 +02:00
Adrien Loison
b69e28050b
Merge pull request #187 from skeleton/issue-183
...
Fix line breaks on CSV reader
v2.4.3
2016-03-23 17:02:42 -07:00
skeleton
d6e8fe4b54
Fix line breaks on CSV reader
2016-03-23 23:26:49 +01:00
Adrien Loison
e321f30c3b
Merge pull request #191 from box/close_file_pointer_when_done_writing
...
Writers did not close written file pointer
2016-03-23 10:45:42 -07:00
Adrien Loison
c31373fb1a
Writers did not close written file pointer
2016-03-23 10:21:27 -07:00
Adrien Loison
6c57125c0c
Merge pull request #189 from madflow/ods-missing-values
...
Fixes for #184
2016-03-21 10:24:38 -07:00
madflow
30837f869d
Coding style and typos
2016-03-20 08:46:30 +01:00
madflow
e60054f3c4
More explicit rule for ignoring empty placeholder cells in Excel ODS #184
2016-03-19 11:34:32 +01:00
madflow
3ee7099c95
Fix zeros treated as missing values #184
2016-03-19 11:34:32 +01:00
madflow
2b1160bb33
Tests for #184
2016-03-19 11:34:31 +01:00
Adrien Loison
049fd990b9
Merge pull request #188 from box/stream_wrapper_support
...
Custom stream wrapper support
2016-03-18 18:09:22 -07:00
Adrien Loison
d2ac54c578
Custom stream wrapper support
...
Added support for custom stream wrappers, such as "fly" or "s3".
Support is determined per reader.
2016-03-18 17:09:13 -07:00
Adrien Loison
0c90d102ef
Merge pull request #179 from lichunqiang/gitattributes
...
Add .gitattributes
2016-02-21 18:11:03 -08:00
lichunqiang
e39dcb3847
Add .gitattributes
2016-02-22 09:48:28 +08:00
Adrien Loison
10d1140a95
Merge pull request #175 from IlyaBakhlin/master
...
Fixing the boolean bug.
2016-02-15 16:43:30 -08:00
Ilya Bakhlin
48debbcbca
Simplifying the fix.
2016-02-15 22:11:04 +01:00
Ilya Bakhlin
f4d6fb87ee
Fixing the boolean bug.
2016-02-15 15:55:46 +01:00
Adrien Loison
771afcb5f1
Merge pull request #173 from sfichera/master
...
Support for variable EOL for CSV
v2.4.2
2016-02-14 00:20:48 -08:00
Sebastian Fichera
86e26632f6
Added test case for custom EOL characters...
2016-02-12 16:30:18 -06:00
Sebastian Fichera
8614f79da3
Minor fixes in order to be ok with naming conventions and code documentation...
2016-02-11 17:51:24 -06:00
Sebastian Fichera
4827e56cac
Added new public function usage to docs...
2016-02-11 17:15:48 -06:00
Sebastian Fichera
03e85ffc21
Added EOL configuration support while reading CSV files...
...
Enhancement for #172 issue…
2016-02-11 17:12:54 -06:00