Docx reader: Add test for polyglot headers.

Only Danish at the moment.
This commit is contained in:
Jesse Rosenthal 2014-09-05 22:07:06 -04:00
parent 71452946d9
commit f56e0e958a
3 changed files with 14 additions and 0 deletions

View file

@ -156,6 +156,10 @@ tests = [ testGroup "inlines"
"numbered headers automatically made into list"
"docx/numbered_header.docx"
"docx/numbered_header.native"
, testCompare
"headers in other languages"
"docx/danish_headers.docx"
"docx/danish_headers.native"
, testCompare
"lists"
"docx/lists.docx"

Binary file not shown.

View file

@ -0,0 +1,10 @@
[Header 1 ("testoverskrift",[],[]) [Str "Testoverskrift"]
,Para [Str "Normal"]
,Header 2 ("testoverskrift-2",[],[]) [Str "Testoverskrift",Space,Str "2"]
,Table [] [AlignDefault,AlignDefault] [0.0,0.0]
[[Plain [Str "Kolonne1"]]
,[Plain [Str "Kolonne2"]]]
[[[Plain [Str "Testdata",Space,Str "1"]]
,[Plain [Str "Tester2"]]]
,[[Plain [Str "Testdata",Space,Str "2"]]
,[Plain [Str "Tester3"]]]]]