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.
This commit is contained in:
parent
cfa68c689f
commit
126d6f58df
2 changed files with 9 additions and 1 deletions
Binary file not shown.
|
@ -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."]]
|
||||
|
|
Loading…
Add table
Reference in a new issue