question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Style format is broken after read and save the same file

See original GitHub issue

template.xlsx

I attached my template I need to read and write some data using my file.

        var workbook = new Excel.Workbook();
        workbook.xlsx.readFile('./reports/templates/template.xlsx')
            .then(function(stream) {
                var options = {
                    useSharedStrings: true,
                    useStyles: true
                };

       stream.xlsx.writeFile("Test.xlsx", options)
            .then(function(){      
                console.log("Done.");
            })

    });

Please can you look, Thanks, David

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Siemienikcommented, Jan 21, 2021

Unfortunately, I cannot explore this (and many other issues) that I would like - I don’t have enough time for volunteer working as earlier.

If you would like to allow me to spend more time on open source activities around spreadsheet files (ExcelJS + XToolSet) or order me some issue being done, write me hi@siemienik.pl.

#1500

0reactions
DinoZenkacommented, Aug 25, 2021

yes

Hello,

How did you solve it using exceljs?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Word document formatting is not retained ... - Microsoft Support
Describes a problem in which a source document takes on the formatting of the destination document, even if you insert a section break....
Read more >
Troubleshoot damaged InDesign documents - Adobe Support
From the Character Styles menu, choose Delete Styles. Save your document and see if it's fixed. If the problem persists, try deleting paragraph ......
Read more >
How to fix Mail Merge formatting issues in Word - Ablebits
Before starting a mail merge, perform the following steps in Microsoft Word. Go to File > Options > Advanced. Scroll down to the...
Read more >
Word: Document goes to 'read-only' for no reason
The workaround I've used to date has been to do a 'save as' and save the document with a slightly different file name....
Read more >
Apply formatting rules | JetBrains Rider Documentation
You can apply formatting preferences every time you save changes in a file to make sure that your edits always comply with your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found