262 Commits

Author SHA1 Message Date
Adrien Loison
41a449f245 Merge pull request #12 from box/fix_dir_separator_bug_on_windows
Fix DIRECTORY_SEPARATOR bug occurring on Windows
2015-04-03 21:17:49 -07:00
Adrien Loison
39c72a91b4 Fix DIRECTORY_SEPARATOR bug occurring on Windows
Fixes #3:
The sheetN.xml files location is dynamically retrieved when parsing
[Content_Types].xml. In this file, the location is like "/xl/worksheets/sheet1.xml".

Because the zip stream wrapper expects the zip entry name to be like
"xl/worksheets/sheet1/xml" (without the first "/"), this first "/"
needs to be trimmed. It was trimmed using:
  ltrim($this->dataXmlFilePath, DIRECTORY_SEPARATOR);
which obvisously does not work on Windows platform where DIRECTORY_SEPARATOR is "\".
Replacing DIRECTORY_SEPARATOR by '/' solves this issue.
2015-04-03 21:10:30 -07:00
Adrien Loison
4ca1fc5851 Merge pull request #8 from box/add_multiline_strings_support
Add support for multiline strings
2015-03-30 22:21:47 -07:00
Adrien Loison
419544a85f Update README.md 2015-03-27 17:05:17 -07:00
Adrien Loison
6e11a043c1 Add support for multiline strings
Escaped line feed characters in shared strings before processing them.
This makes every string remain on one single line and therefore allow
fast retrieval
Replaced usages of "\n" by PHP_EOL
Added test for multiline strings
2015-03-27 16:54:56 -07:00
Adrien Loison
c24cdbb9be Merge pull request #7 from box/document_utf8_use
Document the use of UTF-8 by default
2015-03-26 15:36:17 -07:00
Adrien Loison
18f6e64910 Document the use of UTF-8 by default 2015-03-26 15:13:47 -07:00
Adrien Loison
f7a682dbd6 Merge pull request #2 from box/bump_version_to_1_0_1
Bump version to 1.0.1
v1.0.1
2015-01-26 15:38:15 -08:00
Adrien Loison
7301fc47fb Bump version to 1.0.1 2015-01-26 15:37:39 -08:00
Adrien Loison
ce296f0662 Merge pull request #1 from box/add_support_empty_sheets
Add support for empty sheets
2015-01-26 11:28:26 -08:00
Adrien Loison
6bc9a18e9b Add support for empty sheets 2015-01-26 11:22:09 -08:00
Adrien Loison
5e199009e6 First external release v1.0.0 2015-01-15 18:14:07 -08:00