aboutsummaryrefslogtreecommitdiff
path: root/data/reference.odt
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-02-26 20:29:01 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-02-26 20:31:32 -0800
commitcaed0df4a7ed5b2ec0cc2b15cc99e359987982e4 (patch)
tree5c764fb026cf78a88abd400bd9c98a34e0b75c51 /data/reference.odt
parent270c33e9ad201af6f4bb4b09dc415c271078e656 (diff)
downloadpandoc-caed0df4a7ed5b2ec0cc2b15cc99e359987982e4.tar.gz
Docx writer: Create content types and document rels from scratch.
This fixes problems that arise when you edit the reference.docx with Word. Word tends to remove things from the `[Content_Types].xml` and `word/_rels/document.xml.rels` files that are needed (e.g. references to the `footnotes.xml` file and image default mime types). So we regenerate these completely rather than taking them from the `reference.docx`. We also now encode mime types for each individual image rather than using defaults. This should allow us to handle a wider range of image types. This mostly addresses #414. The only remaining issue I can see is the issue of style IDs, which Word inexplicably changes in some cases when the reference.docx is saved. E.g. `FootnoteReference` becomes `FootnoteReference1`.
Diffstat (limited to 'data/reference.odt')
0 files changed, 0 insertions, 0 deletions