Giter Club home page Giter Club logo

Comments (10)

NeuwenWolf avatar NeuwenWolf commented on August 29, 2024

I'd like to also express that this would be useful.

from simplexlsxgen.

marcrobledo avatar marcrobledo commented on August 29, 2024

I've made my own little mod for red color, as it was the only I needed. But it should be fairly easy to add more predefined colors.

from simplexlsxgen.

NeuwenWolf avatar NeuwenWolf commented on August 29, 2024

Is there any chance you'd be willing to share what you've got so far on that front?

from simplexlsxgen.

marcrobledo avatar marcrobledo commented on August 29, 2024

I can, but it's just a little hack for a single color.
Adding other predefined colors shouldn't be hard. However, as simplexlsxgen is coded, it would be hard to add custom colors. It would need an overhaul in the styles xml building in order to make it possible.

@shuchkin are you interested on this?

from simplexlsxgen.

shuchkin avatar shuchkin commented on August 29, 2024

class MyXLSXGen extends SimpleXLSXGen {}

from simplexlsxgen.

ProjectLinde37 avatar ProjectLinde37 commented on August 29, 2024

class MyXLSXGen extends SimpleXLSXGen {}
Where can we find de class MyXLSXGen ?

from simplexlsxgen.

shuchkin avatar shuchkin commented on August 29, 2024

:)
you have to write this class

from simplexlsxgen.

shuchkin avatar shuchkin commented on August 29, 2024

current supported formatting
https://github.com/shuchkin/simplexlsxgen#formatting

from simplexlsxgen.

mrjemson avatar mrjemson commented on August 29, 2024

Have added text color capability in my fork and submitted a pull request for the same.
https://github.com/mrjemson/simplexlsxgen

Have done some basic testing with adding fill options also and will add this at a future date.

NB: Great library @shuchkin very elegant.

from simplexlsxgen.

mrjemson avatar mrjemson commented on August 29, 2024

Have also now added background color fill options into above fork.

from simplexlsxgen.

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.