From 126d6f58df93cd47794f40fd73963493aacae204 Mon Sep 17 00:00:00 2001 From: Ophir Lifshitz Date: Wed, 15 Jul 2015 19:52:05 -0400 Subject: 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. --- tests/docx/headers.docx | Bin 30298 -> 29659 bytes tests/docx/headers.native | 10 +++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/docx/headers.docx b/tests/docx/headers.docx index 630b6bfc5..e1fbbcc75 100644 Binary files a/tests/docx/headers.docx and b/tests/docx/headers.docx differ 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."]] -- cgit v1.2.3