diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2019-02-07 09:00:29 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2019-02-07 09:23:28 -0500 |
commit | b0d55e4f5b5280965f9d5ecfa129692bb959c075 (patch) | |
tree | a2b686b358bb897b5c8ed8d6089d6ecab32f9c38 /test/docx/alternate_document_path.native | |
parent | 9ff40429323056e88bd31c4cf73e5d8420548f1c (diff) | |
download | pandoc-b0d55e4f5b5280965f9d5ecfa129692bb959c075.tar.gz |
Docx reader: Some code cleanup
* clarify function name. We had previously used `getDocumentPath`,
but `Document` is an overdetermined term here. Use
`getDocumentXmlPath` to make clear what we're doing.
* Use field notation for setting ReaderEnv. As we've added (and
continue to add) fields, the assignment by position has gotten
harder to read.
* figure out document.xml path once at the beginning of parsing, and
add it to the environment, so we can avoid repeated lookups.
Diffstat (limited to 'test/docx/alternate_document_path.native')
0 files changed, 0 insertions, 0 deletions