Commit Graph

59 Commits

Author SHA1 Message Date
dd0a649c95 version bump 0.3.7: comments and coverage
- parsing comments (h/t @kinwahlai, @hmalphettes)
- XLSX.version now exposed in source
- code coverage
- updated SSF to 0.5.2
- updated tests/files
2014-01-21 23:58:26 -05:00
Hugues Malphettes
9efa4e2aae Update the range of the sheet when creating a cell for the content of its comments 2014-01-21 06:05:00 +07:00
Hugues Malphettes
5d43dffc79 Share the code for parsing the rich text and use it to parse the comments. 2014-01-18 21:45:49 +08:00
Hugues Malphettes
36f7080a68 Comments maybe contain an empty text tag 2014-01-18 16:29:51 +08:00
kinwah
59d9d9086b Support for parsing Comments
Comments parts listed in the [Content Types] are parsed.
Sheets's relationships are parsed.
Comments parts are correlated to their corresponding sheets parts.
Comments's contents are added to the ref'ed cells.
Rich text styling properties are currently ignored.

For example:
{
  "!ref": "A1:B3",
  "A1": {
    "v": 1,
    "t": "n"
  },
  "B1": {
    "v": "one",
    "t": "s",
    "r": "one",
    "c": [
      { "a": "Yegor Kozlov",
       "t": [ "Yegor Kozlov:",
              "\r\nfirst cell" ]
      }
    ]
  }
}
2014-01-16 10:30:01 +08:00
37753d8230 version bump 0.3.6: updating SSF
Addresses issue from LO Calc files generating invalid formats.

Link: https://github.com/SheetJS/js-xls/issues/24
2013-12-31 11:42:46 -05:00
afc4e281af version bump 0.3.5: updating SSF
- updated sheetnames tests
- updated ssf
2013-12-26 22:15:16 -05:00
e186e55341 version bump 0.3.4: updating SSF and related tests
version bump needed for npm
2013-12-16 11:38:10 -05:00
phola
02a0510c7b added check for module as well as require for node environment
see PR : https://github.com/SheetJS/js-xls/pull/23
2013-11-22 16:24:55 +00:00
7a3ca6a1ab added simple typescript reference file 2013-11-15 05:35:40 -08:00
0a70e1950f updated SSF dependency 2013-11-12 09:08:31 -08:00
b4f7030634 version bump 0.3.3: malformed xlsx parsing
Files that cannot be processed by Excel 2011 were removed from the suite
2013-11-12 08:29:55 -08:00
2cdd09f801 browser cleanup
utils should not be leaked
2013-11-09 13:21:03 -08:00
0b642080bf version bump 0.3.2: cleanup
- updated jszip to version 2 (20121106)
- added some .match guards (2)
- updated package.json
2013-11-06 00:09:23 -08:00
9e41edcbd2 cleaning up XLSX leak 2013-10-30 19:53:16 -07:00
fd6e3fa19b version bump 0.3.1: more cleanup
- xlsx2csv mirrors xls2csv options
- passes lint
- protection tag (1)
2013-10-30 15:42:27 -07:00
5d79aca2da version bump 0.2.8: range fix
Fixes #37
2013-10-28 13:28:17 -07:00
dd9ac7d97f Removed unnecessary console.error statements
Fixes #27

h/t Sebmaster for pointing this out
2013-10-10 02:53:15 -04:00
d85183c75f version bump 0.2.7-d: CSV generation issue
double-quotes are emitted as \"\"
2013-10-10 02:53:02 -04:00
81f89d6f4e version bump 0.2.7-c: basic html from sst
Very basic rendering.  Will ultimately be a separate component (to share code
with the more general formatting case)
2013-10-10 02:44:18 -04:00
55ba84d561 version bump 0.2.7-b: formatted string support
Mixed formatting stored in the shared string table.

Ultimately there will be a function to convert to HTML, but in the interim this
extracts plaintext and populates the right fields
2013-10-10 02:44:18 -04:00
247fd22c06 jshint passes 2013-10-10 02:44:18 -04:00
c5c3eebb09 LICENSE clarification; get_formulae function
To avoid future confusion, any code shared between this and the XLS project
relate to concepts discussed in ECMA-376 and hence fall within the purview of
this project's license.  A similar note should appear in the license for the
other projects.
2013-10-10 02:44:18 -04:00
5341a85f55 version bump 0.2.6: IE10 Drag and Drop support 2013-10-10 02:44:18 -04:00
1dc777f521 version bump 0.2.5: IE fix
IE apparently doesn't like [^], so the checks have been replaced with [^\u2603]
(eliminating ☃ the unicode snowman)
2013-10-10 02:44:18 -04:00
6716857483 shielding csv parser from unsupported formats 2013-10-10 02:44:18 -04:00
d54b9eaa71 version bump 0.2.4: CSV unwind JS escaping 2013-10-10 02:44:18 -04:00
e3301e1ff1 version bump 0.2.3: refactoring
- internally renamed count->Count and uniqueCount->Unique like xlsjs
- factored out xml bool parsing
2013-10-10 02:44:18 -04:00
8fc0f91395 Fixed xml parsing of '0' in date1904 2013-10-10 02:44:18 -04:00
a0b73e3d4f Version bump 0.2.1: date1904 support
date1904 flag now propagated to SSF
2013-10-10 02:44:18 -04:00
0d8fedfe1f added 'e' format from SSF 2013-10-10 02:44:18 -04:00
f47eafea77 minor cleanup 2013-10-10 02:44:18 -04:00
1071d03040 Corrected spec error in format code 14 2013-10-10 02:44:18 -04:00
cebc377e06 version bump 0.2.0: formatting
- Basic Format Code support (fixes #17)
- basic inlineStr parsing

note that the SSF stuff will ultimately rest in a separate repo
2013-10-10 02:44:18 -04:00
e556483faa more spec references 2013-10-10 02:44:18 -04:00
3925e53476 cleanup and spec references 2013-10-10 02:44:17 -04:00
3d0315358a whitespace cleanup 2013-10-10 02:44:17 -04:00
7d7d26a9cd fixing empty string regression
h/t @nathanathan
2013-10-10 02:44:17 -04:00
Nathan Breit
cd2cd0ba0d Fixing accidental detection of require.js as common js
I changed to code to check for common js by looking for exports and module instead. Also, would it be possible to require fs inside the function where it's used?
2013-10-10 02:44:17 -04:00
f1aa13dfaf version bump 0.1.5: proper parsing of strings
Note that CHAR actually appears to do different things in OSX and Windows ...

Need to build a separate codepage converter
2013-10-10 02:44:17 -04:00
ce9e211760 xml preserve space regex 2013-10-10 02:44:17 -04:00
d5da2eb017 version bump 0.1.4
- Handle 'e' error cells (sticking the actual error code in .err, .v undefined)
- Added quot and apos to encodings
2013-10-10 02:44:17 -04:00
91266af9aa Google Docs Sheet order incompatibility
Fixes #13.

Google Docs does not emit worksheet information, and furthermore does not follow
the sheet order as prescribed in the `[Content-Types].xml` metadata.  This
workaround forces it to treat the sheet list in Workbook as the map to the files
`xl/worksheets/sheet##.xml` even though the rIds are different.
2013-10-10 02:44:17 -04:00
28873fc0b5 version bump 0.1.2: Unicode Support
Motivated by inquiry regarding Hebrew support
2013-10-10 02:44:17 -04:00
378991cb30 Fixing one-off error in imputing range with gdocs
Fixes #9

Note: Google Docs does not generate a 'spans' attribute, but opening and saving
with Excel appears to resolve the issue.
2013-10-10 02:44:17 -04:00
c960dca068 updated json output to reflect number headers 2013-10-10 02:44:17 -04:00
83f7112ceb fixed xml parsing issue with singleton formula 2013-10-10 02:44:17 -04:00
49c3d865b8 Named Ranges silently ignored
Fixes #4

This is not the final fix -- the named ranges should be parsed
2013-10-10 02:44:17 -04:00
b275e4d4b5 Boolean value parsing 2013-10-10 02:44:17 -04:00
Nathan Breit
ba7b24a5d6 Adding ability to handle numbers and bools 2013-10-10 02:44:17 -04:00