diff options
| author | Stephan Meijer <me@stephanmeijer.com> | 2023-11-07 04:15:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-06 19:15:37 -0800 |
| commit | 56f7f114732b32870093ea1cd9bf7b8d5b1f2260 (patch) | |
| tree | 7bf21e1056cdbe885000be066b36b8112b7cefa2 /test/odt | |
| parent | 76cd115d3bccc77df527b048ae7cad111e477d3d (diff) | |
ODT reader: Support attr `text:continue-numbering` (#8998)
Closes #8979.
Diffstat (limited to 'test/odt')
| -rw-r--r-- | test/odt/native/listContinueNumbering.native | 89 | ||||
| -rw-r--r-- | test/odt/native/listContinueNumbering2.native | 107 | ||||
| -rw-r--r-- | test/odt/odt/listContinueNumbering.odt | bin | 0 -> 12263 bytes | |||
| -rw-r--r-- | test/odt/odt/listContinueNumbering2.odt | bin | 0 -> 9300 bytes |
4 files changed, 196 insertions, 0 deletions
diff --git a/test/odt/native/listContinueNumbering.native b/test/odt/native/listContinueNumbering.native new file mode 100644 index 000000000..bb0c7f34b --- /dev/null +++ b/test/odt/native/listContinueNumbering.native @@ -0,0 +1,89 @@ +[ OrderedList + ( 1 , Decimal , Period ) + [ [ Plain + [ Str "Some" , Space , Str "text" , Space , Str "(1.)" ] + ] + ] +, Para [] +, Para + [ Str "Some" + , Space + , Str "text" + , Space + , Str "in" + , Space + , Str "between." + ] +, Para [] +, OrderedList + ( 2 , Decimal , Period ) + [ [ Plain + [ Str "Some" , Space , Str "text" , Space , Str "(2.)" ] + ] + , [ Plain + [ Str "Some" , Space , Str "text" , Space , Str "(3.)" ] + ] + ] +, Para [] +, Para + [ Str "Some" + , Space + , Str "text" + , Space + , Str "in" + , Space + , Str "between." + ] +, Para [] +, OrderedList + ( 4 , Decimal , Period ) + [ [ Plain + [ Str "Some" , Space , Str "text" , Space , Str "(4.)" ] + ] + ] +, Para [] +, Para + [ Str "Some" + , Space + , Str "text" + , Space + , Str "before" + , Space + , Str "starting" + , Space + , Str "new" + , Space + , Str "list" + , Space + , Str "from" + , Space + , Str "1." + ] +, Para [] +, OrderedList + ( 1 , Decimal , Period ) + [ [ Plain + [ Str "Some" , Space , Str "text" , Space , Str "(1.)" ] + ] + ] +, Para [] +, Para + [ Str "Some" + , Space + , Str "text" + , Space + , Str "in" + , Space + , Str "between." + ] +, Para [] +, OrderedList + ( 2 , Decimal , Period ) + [ [ Plain + [ Str "Some" , Space , Str "text" , Space , Str "(2.)" ] + ] + , [ Plain + [ Str "Some" , Space , Str "text" , Space , Str "(3.)" ] + ] + ] +] diff --git a/test/odt/native/listContinueNumbering2.native b/test/odt/native/listContinueNumbering2.native new file mode 100644 index 000000000..ab46f0fd7 --- /dev/null +++ b/test/odt/native/listContinueNumbering2.native @@ -0,0 +1,107 @@ +[ OrderedList + ( 1 , Decimal , Period ) + [ [ BlockQuote [ Para [ Str "Top" , Space , Str "one" ] ] + , OrderedList + ( 1 , LowerAlpha , Period ) + [ [ BlockQuote + [ Para + [ Str "Sub" + , Space + , Str "item" + , Space + , Str "1.a" + ] + ] + ] + , [ BlockQuote + [ Para + [ Str "Sub" + , Space + , Str "item" + , Space + , Str "1.b" + ] + ] + ] + ] + ] + ] +, Para [] +, Para + [ Str "Some" + , Space + , Str "text" + , Space + , Str "in" + , Space + , Str "between." + ] +, Para [] +, OrderedList + ( 2 , Decimal , Period ) + [ [ BlockQuote [ Para [ Str "Top" , Space , Str "two" ] ] + , OrderedList + ( 1 , LowerAlpha , Period ) + [ [ BlockQuote + [ Para + [ Str "Sub" + , Space + , Str "item" + , Space + , Str "2.a" + ] + ] + ] + , [ BlockQuote + [ Para + [ Str "Sub" + , Space + , Str "item" + , Space + , Str "2.b" + ] + ] + ] + ] + ] + ] +, Para [] +, Para + [ Str "Some" + , Space + , Str "text" + , Space + , Str "in" + , Space + , Str "between." + ] +, Para [] +, OrderedList + ( 3 , Decimal , Period ) + [ [ BlockQuote [ Para [ Str "Top" , Space , Str "three" ] ] + , OrderedList + ( 1 , LowerAlpha , Period ) + [ [ BlockQuote + [ Para + [ Str "Sub" + , Space + , Str "item" + , Space + , Str "3.a" + ] + ] + ] + , [ BlockQuote + [ Para + [ Str "Sub" + , Space + , Str "item" + , Space + , Str "3.b" + ] + ] + ] + ] + ] + ] +] diff --git a/test/odt/odt/listContinueNumbering.odt b/test/odt/odt/listContinueNumbering.odt Binary files differnew file mode 100644 index 000000000..a914f3196 --- /dev/null +++ b/test/odt/odt/listContinueNumbering.odt diff --git a/test/odt/odt/listContinueNumbering2.odt b/test/odt/odt/listContinueNumbering2.odt Binary files differnew file mode 100644 index 000000000..e785a9643 --- /dev/null +++ b/test/odt/odt/listContinueNumbering2.odt |
