diff options
author | Keiron Liddle <keiron@apache.org> | 2001-05-16 12:18:18 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-05-16 12:18:18 +0000 |
commit | 819ffe38fdc5d7638f960eee8d386f21286274bb (patch) | |
tree | fa32df6e40bb9d7d55645440874bae152bd80fbe /test/xml | |
parent | bcc5a04eee822e5d26a741580f5a06654ca1fa08 (diff) | |
download | xmlgraphics-fop-819ffe38fdc5d7638f960eee8d386f21286274bb.tar.gz xmlgraphics-fop-819ffe38fdc5d7638f960eee8d386f21286274bb.zip |
added some simple test files with blocks
also a script to create pdf from test suites
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194245 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/xml')
-rw-r--r-- | test/xml/bbo1a1.xml | 169 | ||||
-rw-r--r-- | test/xml/bbo1b1.xml | 48 |
2 files changed, 217 insertions, 0 deletions
diff --git a/test/xml/bbo1a1.xml b/test/xml/bbo1a1.xml new file mode 100644 index 000000000..46585cdd7 --- /dev/null +++ b/test/xml/bbo1a1.xml @@ -0,0 +1,169 @@ +<test xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"> +<data> + +<fo:block> +Test the alignment of text inside a block +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="start"> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="end"> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="justify"> +a bit of text a bit of text a bit of text a bit of text a bit of text a bit of text +a bit of text a bit of text a bit of text a bit of text a bit of text a bit of text +a bit of text a bit of text a bit of text a bit of text a bit of text a bit of text +a bit of text a bit of text a bit of text a bit of text a bit of text a bit of text +a bit of text a bit of text a bit of text a bit of text a bit of text a bit of text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="center"> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="center" text-align-last="relative"> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="center" text-align-last="end"> +texttext texttext texttext text texttexttext texttext texttext text text +text text text text texttext texttext text texttexttext text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="center" text-align-last="justify"> +texttext text texttext texttext texttext texttext texttext texttext text +texttext texttext texttext texttext texttext texttext texttext texttext +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="center" text-align-last="inside"> +texttext texttext texttext texttext texttext texttext texttext texttext +text texttext text texttext text texttext text texttext texttext texttext +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="center" text-indent="10pt"> +texttext texttext texttext texttext texttext texttext texttext texttext +text texttext text texttext text texttext text texttext texttext texttext +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="start" text-indent="30%"> +texttext texttext texttext texttext texttext texttext texttext texttext +text texttext text texttext text texttext text texttext texttext texttext +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="end" text-indent="15pt"> +<fo:block text-align="start" text-indent="inherit"> +texttext texttext texttext texttext texttext texttext texttext texttext +text texttext text texttext text texttext text texttext texttext texttext +text text text text text text text text text text text text text text text text +</fo:block> +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="end" last-line-end-indent="20%"> +texttext texttext texttext texttext texttext texttext texttext texttext +text texttext text texttext text texttext text texttext texttext texttext +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="center" last-line-end-indent="40pt"> +texttext texttext texttext texttext texttext texttext texttext texttext +text texttext text texttext text texttext text texttext texttext texttext +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="justify" last-line-end-indent="20%"> +texttext texttext texttext texttext texttext texttext texttext texttext +</fo:block> + +<fo:block> +- +</fo:block> + +<fo:block text-align="justify" text-indent="30pt" last-line-end-indent="20%"> +texttext texttext texttext texttext texttext texttext texttext texttext +</fo:block> + +</data> +</test> diff --git a/test/xml/bbo1b1.xml b/test/xml/bbo1b1.xml new file mode 100644 index 000000000..8e428c578 --- /dev/null +++ b/test/xml/bbo1b1.xml @@ -0,0 +1,48 @@ +<test xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"> +<data> + +<fo:block> +This file covers the use of keeps, breaks, orphans and widows. These are items that effect the page breaking. +</fo:block> + +<fo:block space-before.optimum="660pt" break-before="page" break-after="page"> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block keep-together="always" space-before.optimum="660pt" break-after="page"> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +<fo:block widows="4" space-before.optimum="660pt" break-after="page"> +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +text text text text text text text text text text text text text text text text +</fo:block> + +</data> +</test> |