Docx reader: test lists in table cells.
This commit is contained in:
parent
24fd0ad04d
commit
616e211f36
3 changed files with 15 additions and 0 deletions
|
@ -187,6 +187,10 @@ tests = [ testGroup "inlines"
|
|||
"tables"
|
||||
"docx/tables.docx"
|
||||
"docx/tables.native"
|
||||
, testCompare
|
||||
"tables with lists in cells"
|
||||
"docx/table_with_list_cell.docx"
|
||||
"docx/table_with_list_cell.native"
|
||||
, testCompare
|
||||
"code block"
|
||||
"docx/codeblock.docx"
|
||||
|
|
BIN
tests/docx/table_with_list_cell.docx
Normal file
BIN
tests/docx/table_with_list_cell.docx
Normal file
Binary file not shown.
11
tests/docx/table_with_list_cell.native
Normal file
11
tests/docx/table_with_list_cell.native
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Table [] [AlignDefault,AlignDefault] [0.0,0.0]
|
||||
[[Plain [Str "Cell",Space,Str "with",Space,Str "text"]]
|
||||
,[Plain [Str "Cell",Space,Str "with",Space,Str "text"]]]
|
||||
[[[BulletList
|
||||
[[Para [Str "Cell",Space,Str "with"]]
|
||||
,[Para [Str "A"]]
|
||||
,[Para [Str "Bullet",Space,Str "list"]]]]
|
||||
,[OrderedList (1,Decimal,Period)
|
||||
[[Para [Str "Cell",Space,Str "with"]]
|
||||
,[Para [Str "A"]]
|
||||
,[Para [Str "Numbered",Space,Str "list."]]]]]]]
|
Loading…
Add table
Reference in a new issue