summaryrefslogtreecommitdiff
path: root/testautomation/xml
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-11 07:00:54 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-11 07:00:54 +0000
commitd9af55c63f770388df2c189487b716aee752f030 (patch)
treedba133f46b36e31607c702f0d8043489059624ab /testautomation/xml
parent46588e685564a1fba1c8b231e2e7af1927a51439 (diff)
INTEGRATION: CWS autotestfixes01 (1.1.2); FILE ADDED
2008/07/04 17:08:04 jsi 1.1.2.1: #i91336# Adding the modul xml to testautomation Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'testautomation/xml')
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.006.xml29
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.007.xml29
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.008.xml27
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.009.xml28
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.010.xml28
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.011.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/stamp.012.xml41
-rwxr-xr-xtestautomation/xml/optional/input/docbook/svg.001.xml38
-rwxr-xr-xtestautomation/xml/optional/input/docbook/svg.002.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.001.xml31
-rwxr-xr-xtestautomation/xml/optional/input/docbook/table.002.xml37
11 files changed, 350 insertions, 0 deletions
diff --git a/testautomation/xml/optional/input/docbook/stamp.006.xml b/testautomation/xml/optional/input/docbook/stamp.006.xml
new file mode 100755
index 000000000000..64d633da309f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.006.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.006</title>
+<releaseinfo role="CVS">$Id: stamp.006.xml,v 1.2 2008-07-11 07:59:09 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=512; depth=512; scalefit=0</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ width="512"
+ depth="512"
+ scalefit="0"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.007.xml b/testautomation/xml/optional/input/docbook/stamp.007.xml
new file mode 100755
index 000000000000..1dbc82b2592f
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.007.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.007</title>
+<releaseinfo role="CVS">$Id: stamp.007.xml,v 1.2 2008-07-11 07:59:19 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=512; depth=512; scale=75</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ width="512"
+ depth="512"
+ scale="75"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.008.xml b/testautomation/xml/optional/input/docbook/stamp.008.xml
new file mode 100755
index 000000000000..f060b3f0bfd7
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.008.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.008</title>
+<releaseinfo role="CVS">$Id: stamp.008.xml,v 1.2 2008-07-11 07:59:28 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: contentwidth=50%</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ contentwidth="50%"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.009.xml b/testautomation/xml/optional/input/docbook/stamp.009.xml
new file mode 100755
index 000000000000..93ae5bdf45df
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.009.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.009</title>
+<releaseinfo role="CVS">$Id: stamp.009.xml,v 1.2 2008-07-11 07:59:39 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: contentwidth=50%; scale=125</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ contentwidth="50%"
+ scale="125"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.010.xml b/testautomation/xml/optional/input/docbook/stamp.010.xml
new file mode 100755
index 000000000000..937cdcbc85c6
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.010.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.010</title>
+<releaseinfo role="CVS">$Id: stamp.010.xml,v 1.2 2008-07-11 07:59:49 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: contentwidth=50%; contentdepth=50%</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="blue"?>
+ <imagedata
+ contentwidth="50%"
+ contentdepth="50%"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.011.xml b/testautomation/xml/optional/input/docbook/stamp.011.xml
new file mode 100755
index 000000000000..1c6a5fe0a9f4
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.011.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.011</title>
+<releaseinfo role="CVS">$Id: stamp.011.xml,v 1.2 2008-07-11 07:59:58 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=400; depth=512; scalefit=1; align=center; valign=bottom</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="green"?>
+ <imagedata
+ width="400"
+ depth="512"
+ scalefit="1"
+ align="center"
+ valign="bottom"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/stamp.012.xml b/testautomation/xml/optional/input/docbook/stamp.012.xml
new file mode 100755
index 000000000000..c378a46ff6ce
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/stamp.012.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: stamp.012</title>
+<releaseinfo role="CVS">$Id: stamp.012.xml,v 1.2 2008-07-11 08:00:08 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>The stamp image has a natural size of 200x128 pixels.</para>
+
+<para>The stamp image: width=75%; scalefit=1</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="green"?>
+ <imagedata
+ width="75%"
+ scalefit="1"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+<para>The stamp image: depth=25%; scalefit=1</para>
+
+<mediaobject>
+ <imageobject>
+ <?dbhtml background-color="green"?>
+ <imagedata
+ depth="25%"
+ scalefit="1"
+ fileref="graphics/stamp.png"/>
+ </imageobject>
+ <textobject><phrase>The DocBook Stamp</phrase></textobject>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/svg.001.xml b/testautomation/xml/optional/input/docbook/svg.001.xml
new file mode 100755
index 000000000000..75410a1deb28
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/svg.001.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook SVG Module V1.0beta2//EN"
+ "http://www.oasis-open.org/docbook/xml/svg/1.0beta2/dbsvg.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: svg.001.xml</title>
+<releaseinfo role="CVS">$Id: svg.001.xml,v 1.2 2008-07-11 08:00:20 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article contains an SVG diagram (inline).</para>
+
+<mediaobject>
+ <imageobject>
+ <svg:svg xmlns:svg="http://www.w3.org/2000/svg">
+ <svg:g transform="scale(0.5)">
+ <svg:polygon style="fill:red; stroke:blue; stroke-width:10"
+ points="350, 75 379,161 469,161 397,215
+ 423,301 350,250 277,301 303,215
+ 231,161 321,161" />
+ <svg:polygon style="fill:lime; stroke:blue; stroke-width:10"
+ points="850,75 958,137.5 958,262.5
+ 850,325 742,262.6 742,137.5"/>
+ </svg:g>
+ </svg:svg>
+ </imageobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ fileref="graphics/svg-001-fallback.png"/>
+ </imageobject>
+ <textobject><phrase>Example SVG polygons</phrase></textobject>
+ <caption><para>Polygons</para></caption>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/svg.002.xml b/testautomation/xml/optional/input/docbook/svg.002.xml
new file mode 100755
index 000000000000..6738414c97e9
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/svg.002.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook SVG Module V1.0beta2//EN"
+ "http://www.oasis-open.org/docbook/xml/svg/1.0beta2/dbsvg.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: svg.002.xml</title>
+<releaseinfo role="CVS">$Id: svg.002.xml,v 1.2 2008-07-11 08:00:32 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article contains an SVG diagram (external).</para>
+
+<mediaobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ format="SVG"
+ fileref="graphics/svg-001.xml"/>
+ </imageobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ fileref="graphics/svg-001-fallback.png"/>
+ </imageobject>
+ <textobject><phrase>Example SVG polygons</phrase></textobject>
+ <caption><para>Polygons</para></caption>
+</mediaobject>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.001.xml b/testautomation/xml/optional/input/docbook/table.001.xml
new file mode 100755
index 000000000000..e9389078e783
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.001.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.001</title>
+<releaseinfo role="CVS">$Id: table.001.xml,v 1.2 2008-07-11 08:00:42 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<table frame="all">
+<title>TFoot Test</title>
+<tgroup cols="2">
+<tfoot>
+<row>
+<entry>Foot Left</entry>
+<entry>Foot Right</entry>
+</row>
+</tfoot>
+<tbody>
+<row>
+<entry>Body Left</entry>
+<entry>Body Right</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+
+</article>
diff --git a/testautomation/xml/optional/input/docbook/table.002.xml b/testautomation/xml/optional/input/docbook/table.002.xml
new file mode 100755
index 000000000000..389a14651c19
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/table.002.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.002</title>
+<releaseinfo role="CVS">$Id: table.002.xml,v 1.2 2008-07-11 08:00:54 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<table id="width-test-1" frame="all">
+<title>Width Test 1</title>
+<tgroup cols="4" align="left">
+<colspec colnum="1" colname="c1" colwidth="1in"/>
+<colspec colnum="2" colname="c2" colwidth="1*"/>
+<colspec colnum="3" colname="c3" colwidth="5*"/>
+<colspec colnum="4" colname="c4" colwidth="1*+0.5in"/>
+<tbody>
+<row>
+<entry>1in</entry>
+<entry>1/7</entry>
+<entry>5/7</entry>
+<entry>1/7+0.5in</entry>
+</row>
+<row>
+<entry>some words to make the thing wrap around to test the width</entry>
+<entry>some words to make the thing wrap around to test the width</entry>
+<entry>some words to make the thing wrap around to test the width</entry>
+<entry>some words to make the thing wrap around to test the width</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+
+</article>