Home>

Currently, I am writing a process to read and write an Excel file using PhpSpreadsheet in php.
The Excel file to be read has a strikethrough line and text color specified for the cell.
We want to keep this state for the spout.

I think we need to get the style specified in the cell for that,
I couldn't find a way to search for it.

Can you tell me how to use PhpSpreadsheet to get strikethrough and text color?
is to read Excel and pop out the Excel file while retaining the cell strike line and text color state.
If there are other methods, it would be helpful if you could tell me.

Thank you.

php ・ ・ ・ 5.6

Addition:
One requirement was missing. Since the read Excel data needs to be saved once in the DB,
I want to take that into consideration. Either way, I'm wondering if I can get the style when reading Excel.

php