GithubHelp home page GithubHelp logo

java.lang.IllegalStateException: The maximum number of Cell Styles was exceeded. You can define up to 64000 style in a .xlsx Workbook about spreadsheet-builder HOT 6 CLOSED

metadataconsulting avatar metadataconsulting commented on June 12, 2024
java.lang.IllegalStateException: The maximum number of Cell Styles was exceeded. You can define up to 64000 style in a .xlsx Workbook

from spreadsheet-builder.

Comments (6)

musketyr avatar musketyr commented on June 12, 2024

I see. the named styles should be definitely declared as shared styles

from spreadsheet-builder.

tongyi121 avatar tongyi121 commented on June 12, 2024

Do you have a plan to fix this.
I also find that when you write 32767 cell ,the next cell style will not work.
May be there cause by the same problem.

from spreadsheet-builder.

musketyr avatar musketyr commented on June 12, 2024

I do, but I don't have any time estimate - probably next week or sometime
between christmas and the new year.

On Wed, Dec 16, 2015 at 9:13 AM Tong [email protected] wrote:

Do you have a plan to fix this.
I also find that when you write 32767 cell ,the next cell style will not
work.
May be there cause by the same problem.


Reply to this email directly or view it on GitHub
#8 (comment)
.

from spreadsheet-builder.

tongyi121 avatar tongyi121 commented on June 12, 2024

Thank you for you reply and look forward you update.

from spreadsheet-builder.

tongyi121 avatar tongyi121 commented on June 12, 2024

Note, the maximum number of unique fonts in a workbook is limited to 32767 ( the maximum positive short). You should re-use fonts in your apllications instead of creating a font for each cell.

from spreadsheet-builder.

musketyr avatar musketyr commented on June 12, 2024

the styles are now reused as much as possible but the the fonts remains untouched - the idea is to declare the styles within the named styles instead.

if you don't think this is a good approach, please, open a new issue and we can discuss further there

from spreadsheet-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.