jsonkenl / xlsxir

Xlsx parser for the Elixir language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sheet name

alex88 opened this issue · comments

Is there a way to get the sheet name when extracting data?

Hey @alex88, yes there is but Xlsxir is not currently capable of capturing it. The information is located in the xl/workbook.xml file within the .xlsx document. I'll need to parse that file anyway to fix the 1904 date issue from #75, so I'll add this as an enhancement to add to that one. Feel free to take a stab at it if you have any interest.

I made a quick implementation of a parser that puts worksheet names into an ets table. However, I'm not sure how to incorporate it into the API. Also, I used mix format so the diff is bigger than it should be. See norpan@456a6cf

This has been implemented via PR #82