Skip to content
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

Gets the name of the sheet from the workbook.xml.rels file #20

Conversation

mateusmedeiros
Copy link
Contributor

Creek currently just saves the order of the declaration of the tags as an index and uses that to get the sheet xml file.

While it is true that the order will usually be the same as the number on the ids and the number of the sheet, it is not strictly true. If the sheets are rearranged after creation and also depending on the tool used to generate the .xlsx file, they can come out in strange orders.

This should make sure it will find the right sheet by going to workbook.xml.rels and matching the r:id in the worksheet relationships to find the corresponding sheet path.

Fixes #19

pythonicrubyist added a commit that referenced this pull request Oct 18, 2015
Gets the name of the sheet from the workbook.xml.rels file
@pythonicrubyist pythonicrubyist merged commit 7229082 into pythonicrubyist:master Oct 18, 2015
@mateusmedeiros mateusmedeiros deleted the get-name-from-workbook-rels branch October 18, 2015 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants