diff options
author | Ophir Lifshitz <hangfromthefloor@gmail.com> | 2015-07-15 19:52:05 -0400 |
---|---|---|
committer | Ophir Lifshitz <hangfromthefloor@gmail.com> | 2015-07-15 19:52:05 -0400 |
commit | 126d6f58df93cd47794f40fd73963493aacae204 (patch) | |
tree | 4d2f8af040978c8d331a946eb2cbb7a9b98934b4 | |
parent | cfa68c689f03fad5d52f672c5d0b2c70b3e0d484 (diff) | |
download | pandoc-126d6f58df93cd47794f40fd73963493aacae204.tar.gz |
Docx Reader: Updated headers test
Replaced styles.xml in headers.docx with pandoc's current styles.xml, which
contains styles for Heading 1 through 6. Added Heading 4 through 7 to the test
document. Note that Heading 7 is not parsed as a Heading because there is no
Heading 7 style.
-rw-r--r-- | tests/docx/headers.docx | bin | 30298 -> 29659 bytes | |||
-rw-r--r-- | tests/docx/headers.native | 10 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/docx/headers.docx b/tests/docx/headers.docx Binary files differindex 630b6bfc5..e1fbbcc75 100644 --- a/tests/docx/headers.docx +++ b/tests/docx/headers.docx diff --git a/tests/docx/headers.native b/tests/docx/headers.native index 03f967728..5d0065239 100644 --- a/tests/docx/headers.native +++ b/tests/docx/headers.native @@ -2,4 +2,12 @@ ,Header 2 ("second-level",[],[]) [Str "Second",Space,Str "Level"] ,Para [Str "Some",Space,Str "plain",Space,Str "text."] ,Header 3 ("third-level",[],[]) [Str "Third",Space,Str "level"] -,Para [Str "Some",Space,Str "more",Space,Str "plain",Space,Str "text."]] +,Para [Str "Some",Space,Str "more",Space,Str "plain",Space,Str "text."] +,Header 4 ("fourth-level",[],[]) [Str "Fourth",Space,Str "level"] +,Para [Str "Some",Space,Str "more",Space,Str "plain",Space,Str "text."] +,Header 5 ("fifth-level",[],[]) [Str "Fifth",Space,Str "level"] +,Para [Str "Some",Space,Str "more",Space,Str "plain",Space,Str "text."] +,Header 6 ("sixth-level",[],[]) [Str "Sixth",Space,Str "level"] +,Para [Str "Some",Space,Str "more",Space,Str "plain",Space,Str "text."] +,Para [Str "Seventh",Space,Str "level"] +,Para [Str "Since",Space,Str "no",Space,Str "Heading",Space,Str "7",Space,Str "style",Space,Str "exists",Space,Str "in",Space,Str "styles.xml,",Space,Str "this",Space,Str "gets",Space,Str "converted",Space,Str "to",Space,Str "Span."]] |