Read + write style information to .xlsx #263
No reviewers
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#263
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "protobi/master"
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?
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
s
property 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
Props
key 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_PROPS
variable inbits/33_coreprops.js
.the theme override is now passed with the
themeXLSX
option.themeXml
is ambiguous since multiple formats use xml-based themes, so calling itthemeXLSX
makes 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.