Read + write style information to .xlsx #263
Open
protobi wants to merge 104 commits from
protobi/master into master
pull from: protobi/master
merge into: sheetjs:master
sheetjs:master
sheetjs:sankhavaramsaitulasiram/feat-fix-2752
sheetjs:maybeswapnil/issue2737
sheetjs:gh-pages
sheetjs:scottysseus/2560_2
sheetjs:ivan-trusov/fix-basedate
sheetjs:nandanv2702/issue_1300
sheetjs:ThomasChan/master
sheetjs:grantfayvor/master
sheetjs:tom-groves/bug-1105/rounding-error
sheetjs:mgreter/master
A collective series of changes that allows style information to be read from and written to xlsx files. This should not affect .xls or .xlsb files.
Submitting a pull request so that the option to merge the changes exists. Am open to additional steps to harmonize this with the rest of the lib if required.
@protobi check your email.
We're gonna squash, so don't worry about the commit log for the moment. Taking a quick scan at the changed files (https://github.com/SheetJS/js-xlsx/pull/263/files?diff=unified click on "changed files"):
Files now removed from the repo, these had earlier been inadvertently added.
This is awesome!
@protobi are you able to mention in the docs that you need to put cell styles inside the
sproperty before being encoded? I was having hard time figuring out why my styles weren't showing up.@rclai Thanks for beta testing the docs and providing that feedback. Will edit this docs later this week.
👍 this was a great help to find thanks @protobi . Modifying without changing styling was a must have for my project.
any chance this will be merged?
how exciting, renewed activity means this has finally has a chance of being pulled in i hope
We're slowly picking changes. The first commit, credited to @protobi, fills out some holes in the xml style parsing. It won't show up in the github UI as a merge but it will credit you as a contributor.
Instead of hardcoding the specific property overrides, the writer now takes a
Propskey in the options object and uses those instead of the workbook properties. It's explained in the README, but it boils down to the following changes:"title""Title""subject""Subject""description""Comments""keywords""Keywords""creator""Author"The mapping from the XLSX name to the CSF name is in the
CORE_PROPSvariable inbits/33_coreprops.js.the theme override is now passed with the
themeXLSXoption.themeXmlis ambiguous since multiple formats use xml-based themes, so calling itthemeXLSXmakes it clear we are talking about pass-through XLSX-style themes.Can anyone send me the codes to convert excel(xlsx) file to json file in java script with explanation to vedantkumar05@gmail.com
@SheetJSDev ,when this PR will get merged ?
I am waiting for its new release with the support of style.
When to merge into master?I need it super. Support!
Need this too! Hopefully it will be merged soon 🙏
@SheetJSDev, can you please advise as to when this will get merged? I need to style & format the cells.
Hi @SheetJSDev, when this PR will be merged with master branch ?
Thanks you
BUMP! This is quite an important feature for us, is it possible to merge it soon @protobi @SheetJSDev ? Do you need any help in order to speed up the process? This PR has been open for far too long.
Important for us too
Any luck on merging everything?
I don't have any idea why I am in reviewer list, @SheetJSDev can you please check this.
@nakshay here is the answer 🙂
Yeh embarrassing , happened by mistake, and not able to find way to undo it .
Any updates on this PR?
Annual bump... 5 years later, still would be useful.
@cjtafoya 😆
This is vital to me to be able to use the library.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Gitea.No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?