aboutsummaryrefslogtreecommitdiff
path: root/test/docx/golden/nested_anchors_in_header.docx
AgeCommit message (Collapse)AuthorFilesLines
2019-03-11docx writer: avoid extra copy of abstractNum and num elements...John MacFarlane1-0/+0
...in numbering.xml. This caused pandoc-produced docx files to be uneditable using Word Online. The problem was that recent versions of reference.docx include samples of various kinds of text, including lists. The numering elements for these were getting copied over to the new docx, where they clashed with the autogenerated elements produced by pandoc. This didn't confuse Desktop Word, but it did confuse Word Online. Closes #5358.
2018-11-20Docx writer: Fix bookmarks to headers with long titles.John MacFarlane1-0/+0
Word has a 40 character limit for bookmark names. In addition, bookmarks must begin with a letter. Since pandoc's auto-generated identifiers may not respect these constraints, some internal links did not work. With this change, pandoc uses a bookmark name based on the SHA1 hash of the identifier when the identifier isn't a legal bookmark name. Closes #5091.
2018-10-09Docx writer: added framework for custom properties.John MacFarlane1-0/+0
So far, we don't actually write any custom properties, but we have the infrastructure to add this. See #3034.
2018-01-27Docx writer tests: Use new golden frameworkJesse Rosenthal1-0/+0
These are based off the reader tests, with some removed (where the reader output was identical, based on different docx inputs). There are still more to be added. In particular, tests for custom-styles need to be added. All golden docx files have been checked in MS Word 2013 (windows). There is no corruption. There is questionable output in the `tables` test: the three tables seemed to be joined. This will be addressed in a future commit, and the golden docx file will be changed.