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

Fixed #131: .docx template files originating Office365 can now be used #132

Merged
merged 4 commits into from
Jun 6, 2020

Conversation

jjhbw
Copy link
Collaborator

@jjhbw jjhbw commented Jun 6, 2020

Instead of assuming that the 'main' .xml file in the template is called /word/document.xml, the [Content_Types].xml file is now parsed to find its actual name. This allows the library to work with Office365 or SharePoint files that occasionally name the main file /word/document2.xml or something else.

@jjhbw jjhbw linked an issue Jun 6, 2020 that may be closed by this pull request
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 92.337% when pulling 9d40a69 on 131-office365-files into d94020e on master.

@jjhbw jjhbw merged commit 5b2dbd3 into master Jun 6, 2020
@jjhbw jjhbw deleted the 131-office365-files branch June 8, 2020 13:18
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.

"document.xml could not be found" for SharePoint files
2 participants