Adrien Loison
a8f1fba854
Merge pull request #96 from box/throw_if_xlsx_setters_called_after_open
...
Throw if XLSX Writer configured after being opened
2015-08-24 10:55:59 -07:00
Adrien Loison
1812b4f996
Throw if XLSX Writer configured after being opened
2015-08-24 10:52:12 -07:00
Adrien Loison
b4ace972e7
Update README.md
v2.2.0
2015-08-22 19:39:43 -07:00
Adrien Loison
c428daff5a
Update README.md
2015-08-22 18:14:33 -07:00
Adrien Loison
5908443583
Update README.md
2015-08-22 18:13:36 -07:00
Adrien Loison
050672755d
Update README.md
2015-08-22 12:37:24 -07:00
Adrien Loison
e1928eb68a
Merge pull request #93 from box/font_color
...
Add support for font color
2015-08-21 21:04:32 -07:00
Adrien Loison
9467b5a810
Add support for font color
2015-08-21 20:58:21 -07:00
Adrien Loison
2699ffbcae
Merge pull request #92 from box/invalid_sheet_names_contd
...
Detection of invalid sheet name - continued
2015-08-21 16:51:02 -07:00
Adrien Loison
3559bc8834
Detection of invalid sheet name - continued
...
Invalid names can also be triggered by:
- character ":"
- single quote at the beginning of the name
- single quote at the end of the name
Introduced a StringHelper, wrapping multibyte strings functions
2015-08-21 16:44:13 -07:00
Adrien Loison
506d682e74
Merge pull request #91 from box/invalid_sheet_name_detection
...
Detection of invalid sheet name
2015-08-21 15:36:25 -07:00
Adrien Loison
7efab5576d
Detection of invalid sheet name
...
Based on Excel requirements:
- it should not be blank
- it should not exceed 31 characters
- it should not contain these characters: \ / ? * [ or ]
- it should be unique
2015-08-21 15:21:36 -07:00
Adrien Loison
366f121eb0
Update README.md
2015-08-21 10:58:11 -07:00
Adrien Loison
f8d0ac2682
Merge pull request #89 from box/fix_ios_issue
...
Fix OfficeImportErrorDomain issue on iOS
2015-08-20 20:32:41 -07:00
Adrien Loison
82377403ff
Fix OfficeImportErrorDomain issue on iOS
2015-08-20 20:28:34 -07:00
Adrien Loison
e0c84f77b1
Merge pull request #87 from box/use_travis_cache
...
Use Travis cache
2015-08-18 21:56:51 -07:00
Adrien Loison
b78227c370
Use Travis cache
...
This is to avoid re-downloading all dependencies for every build.
2015-08-18 21:52:25 -07:00
Adrien Loison
444308d42c
Merge pull request #84 from box/rename_strikethrough
...
Rename StrikeThrough to Strikethrough
v2.1.0
2015-08-13 23:18:26 -07:00
Adrien Loison
353d4e86a5
Merge pull request #83 from box/wrap_text_on_multiline_strings
...
Set wrap text style when multiline string encountered
2015-08-13 23:18:11 -07:00
Adrien Loison
f043f8d4d0
Rename StrikeThrough to Strikethrough
2015-08-13 23:09:43 -07:00
Adrien Loison
c8ddcf5441
Set wrap text style when multiline string encountered
...
Fixes #10
If a cell contains a multiline string, "wrap text" style option should
automatically be set.
2015-08-13 23:03:28 -07:00
Adrien Loison
4a346cef0c
Update README.md
...
Display style options as a table instead of bullet points
2015-08-13 23:02:37 -07:00
Adrien Loison
1c8934790d
Update README.md
...
Added "How to style a row" section
2015-08-13 20:33:37 -07:00
Adrien Loison
2a1925bc51
Merge pull request #82 from box/fix_double_equals
...
Replace == with ===
2015-08-10 19:21:18 -07:00
Adrien Loison
2183ff6738
Replace == with ===
2015-08-10 19:13:40 -07:00
Adrien Loison
380ee524a5
Merge pull request #80 from box/add_style_support
...
Add support for styling
2015-08-10 19:11:59 -07:00
Adrien Loison
21263a0730
Add support for styling
...
Added top level methods on the Writer:
- addRowWithStyle()
- addRowsWithStyle()
Added a style builder, to easily create new styles.
Each writer can specify its own default style and all styles will automatically inherit from it.
For now, the style properties supported are:
- bold
- italic
- underline
- strikethrough
- font size
- font name
- wrap text (alignment)
2015-08-07 20:39:17 -07:00
Adrien Loison
0104714cbd
Merge pull request #79 from jtreminio/master
...
getRowIterator() is on $sheet variable
2015-07-29 20:44:56 -07:00
Juan Treminio
611a091290
getRowIterator() is on $sheet variable
2015-07-29 22:04:47 -05:00
Adrien Loison
40a86c4b6c
Merge pull request #77 from box/fix_csv_reader_empty_last_line
...
Fix CSV reader when last line is empty
v2.0.1
2015-07-29 10:27:44 -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
e3f7ecfa64
Merge pull request #78 from box/fix_xml_reader_open_overriding
...
Fix XMLReader open() overriding
2015-07-29 10:17:34 -07:00
Adrien Loison
93d7aafe8b
Fix XMLReader open() overriding
...
This is to avoid a warning in PHP7 (and also because that's how it should be!)
2015-07-29 09:59:33 -07:00
Adrien Loison
dc53b6aa20
Update README.md
...
Change Travis badge from PNG to SVG
2015-07-27 22:26:36 -07:00
Adrien Loison
30aa8970d5
Update README.md
...
Bump "require" version in preparation of the 2.0.0 release
v2.0.0
2015-07-27 22:21:33 -07:00
Adrien Loison
2ec12dd16b
Merge pull request #76 from box/csv_multiple_encodings
...
Csv multiple encodings
2015-07-27 21:02:52 -07:00
Adrien Loison
fd84c6f1c8
Update README
2015-07-27 20:59:21 -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
03d1917080
Merge pull request #75 from box/xml_reader_wrappers
...
Add wrappers around XMLReader and SimpleXMLElement
2015-07-27 09:36:13 -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
be3932af18
Merge pull request #73 from box/iterators
...
Moved readers to iterators
2015-07-27 00:26:26 -07:00
Adrien Loison
37d87a8a27
Fix various problems
2015-07-27 00:23:18 -07:00
Adrien Loison
86a4c3790a
Adding more tests
2015-07-26 23:53:49 -07:00
Adrien Loison
2345a80784
Update README for iterators
2015-07-26 23:53:18 -07:00
Adrien Loison
15aab7902a
Factory should return Interface
2015-07-26 23:53:17 -07:00
Adrien Loison
c672558a18
Update Writer folder structure to match Reader new structure
2015-07-26 23:53:17 -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
Adrien Loison
322c3d0738
Merge pull request #74 from box/scrutinizer
...
Use Scrutinizer instead of Coveralls
2015-07-26 23:52:30 -07:00