protobi / js-xlsx

XLSX / XLSM / XLSB (Excel 2007+ Spreadsheet) / ODS parser and writer
http://oss.sheetjs.com/js-xlsx
Other
826 stars 416 forks source link

Release #4

Closed knownasilya closed 8 years ago

knownasilya commented 9 years ago

Would love some release tags or release on npm (or both).

pietersv commented 9 years ago

@knownasilya I may not have gotten the release tags right, tutoring welcome.

I've published this fork to npm and bower at least until it's merged back in the main project:

To make this work there are two branches, master and beta:

Any problems with this branch you can report to https://github.com/protobi/js-xlsx/issues.

knownasilya commented 9 years ago

Nice!

I may not have gotten the release tags right, tutoring welcome.

If you have added tags, you can do git push --tags to push them to github.

krunal1988 commented 9 years ago

@pietersv Really awesome stuff with extending styling.

Two questions i have if you can help me on it: 1) Is is possible to write in already formatted and styled xlsx file ? 2) Is is possible to manage the column width while writing in the file ?

azukaar commented 9 years ago

@krunal1988 : 1 - Each cell hold differents attributes, for exemple cell.f is the formulae contained in the cell, whereas cell.s is the style. You are free to modify the content without altering the style.

2 - Most definitly, yes. See this property here : (not 100% sure it's the right one though) image

morficus commented 8 years ago

Any plans to publish this to npm? Since it's a fork from the SheetJS repo, you would need to change some of the info in package.json

knownasilya commented 8 years ago

It is, see the second comment above.

pietersv commented 8 years ago

Actually it is on npm and bower. This was noted on https://github.com/SheetJS/js-xlsx/issues/128#issuecomment-111651740 . I held off adding it to the README.md on this fork so as not to interfere with a pull request back to the main SheetJS/js-xlsx project.

npm install xlsx-style
bower install js-xlsx-style#beta

To make this work there are two branches, master and beta:

master is intended to merge back with SheetJS/js-xlsx and until then fetch upstream changes. This does not run make dist and its package.json is the same as the original repo. beta is what is published to npm and bower. This does run make dist so you can use the minified files, and its package.json points to a new project name (js-xlsx-style) and version number. Any problems with this branch you can report to https://github.com/protobi/js-xlsx/issues.

morficus commented 8 years ago

ah, so it is! I just read through the comments on that issue. Thanks :-)