aVadim483 / fast-excel-writer

Lightweight and very fast XLSX Excel Spreadsheet Writer in PHP
MIT License
142 stars 26 forks source link

New Features #20

Closed jarrod-colluco closed 1 year ago

jarrod-colluco commented 1 year ago

Please correct me if I'm wrong, but I can't see that comments or conditional styles are built into this library. Is there any plans in place to do so?

aVadim483 commented 1 year ago

Do you mean conditional formatting? It doesn't exist now. There are plans to explore this possibility, but I cannot promise that it will be implemented. The key property of the library is speed, and if new features slow down processing very much, then I will not implement them.

jarrod-colluco commented 1 year ago

Thanks for the response. Yes, sorry, I meant conditional formatting.

I understand. Conditional formatting isn't a big concern, just a nice feature to have. Is there currently a way to add a comment to a cell?

jarrod-colluco commented 1 year ago

Is there also a way to be able to set the text orientation? For example, we're looking to use this on a project which displays text in a cell vertically rather than horizontally.

aVadim483 commented 1 year ago

I'll add comments, but haven't decided on conditional formatting yet

aVadim483 commented 1 year ago

Thanks for the response. Yes, sorry, I meant conditional formatting.

I understand. Conditional formatting isn't a big concern, just a nice feature to have. Is there currently a way to add a comment to a cell?

There are currently two types of comments in Excel - comments and notes (see here). I implemented the ability to add notes, so method is called addNote()

jarrod-colluco commented 1 year ago

That's great @aVadim483 thank you for adding that in!