christhornton555 / clough

A way to convert Excel .xlsx files to web pages
0 stars 0 forks source link

Add sheet tabs #12

Closed christhornton555 closed 1 month ago

christhornton555 commented 2 months ago

For multi-sheet workbooks, render the workbook with tabs at the bottom, labelled with the sheets' names. Make the tabs clickable, to allow users to switch between them.

christhornton555 commented 2 months ago

Tabs now working. Currently just rendered as buttons, so need to work on styling. Also, it turns out that sheets names aren't actually stored in the sheets themselves (internally, the sheets are all just called Sheet 1, Sheet 2, etc.). The aliases can be found in workbook.xml, so work to be done on grabbing that info too, and considering whether that incorrect assumption is going to break anything else. Or maybe just make the change to the test workbook and see which bits fall over?

christhornton555 commented 1 month ago

Done, works correctly