summaryrefslogtreecommitdiff
path: root/tests/odt
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@gmail.com>2016-10-17 16:35:13 +0200
committerHubert Plociniczak <hubert.plociniczak@gmail.com>2016-10-17 16:35:13 +0200
commita02f276ff125eb9bede33524371cf8c7b660bb40 (patch)
treecf661813a6644c5cda6e66f0d5bda0eec67cca61 /tests/odt
parentc924611de526601f64154bef83035f75e8f4c334 (diff)
Infer caption from the text following the img
Frame can contain other frames with the text boxes. This is something that has not been considered before and meant that the whole construction of images was broken in those cases. Also the captions were fixed/ignored.
Diffstat (limited to 'tests/odt')
-rw-r--r--tests/odt/native/image.native1
-rw-r--r--tests/odt/native/imageIndex.native1
-rw-r--r--tests/odt/native/imageWithCaption.native1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/odt/native/image.native b/tests/odt/native/image.native
new file mode 100644
index 000000000..667442539
--- /dev/null
+++ b/tests/odt/native/image.native
@@ -0,0 +1 @@
+[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]]
diff --git a/tests/odt/native/imageIndex.native b/tests/odt/native/imageIndex.native
new file mode 100644
index 000000000..75c6e4135
--- /dev/null
+++ b/tests/odt/native/imageIndex.native
@@ -0,0 +1 @@
+[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]]
diff --git a/tests/odt/native/imageWithCaption.native b/tests/odt/native/imageWithCaption.native
new file mode 100644
index 000000000..75c6e4135
--- /dev/null
+++ b/tests/odt/native/imageWithCaption.native
@@ -0,0 +1 @@
+[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]]