-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: able to set cell text and background colors #33
Comments
I'd like to also express that this would be useful. |
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. |
Is there any chance you'd be willing to share what you've got so far on that front? |
I can, but it's just a little hack for a single color. @shuchkin are you interested on this? |
class MyXLSXGen extends SimpleXLSXGen {} |
|
:) |
current supported formatting |
Have added text color capability in my fork and submitted a pull request for the same. Have done some basic testing with adding fill options also and will add this at a future date. NB: Great library @shuchkin very elegant. |
Have also now added background color fill options into above fork. |
First of all, thanks for this library, it's what I really was looking for: a lightweight single file library for basic xlsx building in PHP.
There is a little feature that is missing and is a must IMHO: being able to set cell text and background colors.
There could be a bunch of predefined basic colors defined in the internal
styles.xml
. Then user could just type:['My label', '<red>My value</red>']
while adding cells to the array.
The text was updated successfully, but these errors were encountered: