Adrien Loison
7f8b95b2f3
Expose Sheet::isActive() to provide info about the last active sheet ( #405 )
2017-04-15 21:40:19 +02:00
Adrien Loison
3128f86769
Remove max line length when reading CSV files ( #399 )
2017-03-28 13:55:06 +02:00
Adrien Loison
3a330debb3
Move ReaderCommonOptions class to Common folder ( #343 )
2016-10-18 16:55:05 -07:00
Adrien Loison
752f4bf64e
Add ReaderOptions for all readers ( #338 )
...
Instead of passing every single option down the chain
2016-10-17 22:41:36 -07:00
Adrien Loison
5ef5647558
Make getConcreteSheetIterator() protected ( #334 )
2016-10-17 10:26:37 -07:00
Adrien Loison
0978d340f0
Option to keep empty rows ( #331 )
...
* Add option to preserve empty rows when reading an XLSX file
* Add option to preserve empty rows when reading a CSV file
* Add option to preserve empty rows when reading an ODS file
2016-10-17 10:20:02 -07:00
Hastegan
30aa1b87e2
Fix boolean notation in PHPDoc ( #314 )
2016-09-16 15:12:58 -07:00
rlukasz
aa25678a83
Update RowIterator.php ( #263 )
2016-07-04 11:31:03 +02:00
Adrien Loison
1d3a9f939c
Convert escapers to singletons ( #239 )
2016-05-30 13:55:21 -07:00
skeleton
d6e8fe4b54
Fix line breaks on CSV reader
2016-03-23 23:26:49 +01: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
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
03e85ffc21
Added EOL configuration support while reading CSV files...
...
Enhancement for #172 issue…
2016-02-11 17:12:54 -06:00
Adrien Loison
8b666fc6cd
Fix PHPDoc to work with Augmented Types
2015-11-05 15:48:26 -08: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
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
f8c39287ad
Added @api tag for documentation
2015-09-04 11:43:01 -07:00
Adrien Loison
8a3b895afc
Fix CSV reader when last line is empty
...
If the last line was empty, it would create an infinite loop...
2015-07-29 10:17:51 -07:00
Adrien Loison
5e1cfbfdbd
Attempt to convert the non UTF-8 strings to UTF-8
2015-07-27 20:59:12 -07:00
Adrien Loison
d946f12951
Support for multiple BOMs depending on the selected encoding
2015-07-27 09:36:55 -07:00
Adrien Loison
1ba10ed2b0
Add wrappers around XMLReader and SimpleXMLElement to improve error handling
2015-07-27 00:49:43 -07:00
Adrien Loison
37d87a8a27
Fix various problems
2015-07-27 00:23:18 -07:00
Adrien Loison
c52dd7bde8
Remove old reader files
2015-07-26 23:53:17 -07:00
Adrien Loison
ae3ee357ff
Moved readers to iterators
...
Instead of the hasNext() / next() syntax, readers now implements the PHP iterator pattern.
It allows readers to be used with a foreach() loop.
All readers now share the same structure (CSV is treated as having exactly one sheet):
- one concrete Reader
- one SheetIterator, exposed by the Reader
- one or more Sheets, returned at every iteration
- one RowIterator, exposed by the Sheet
Introducing the concept of sheets for CSV may be kind of confusing but it makes Spout way more consistent.
Also, this confusion may be resolved by creating a wrapper around the readers if needed.
-- This commit does not delete the old files, not change the folder structure for Writers. This will be done in another commit.
2015-07-26 23:53:17 -07:00