Docx reader: Add test for polyglot headers.
Only Danish at the moment.
This commit is contained in:
parent
71452946d9
commit
f56e0e958a
3 changed files with 14 additions and 0 deletions
|
@ -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"
|
||||
|
|
BIN
tests/docx/danish_headers.docx
Normal file
BIN
tests/docx/danish_headers.docx
Normal file
Binary file not shown.
10
tests/docx/danish_headers.native
Normal file
10
tests/docx/danish_headers.native
Normal 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"]]]]]
|
Loading…
Add table
Reference in a new issue