diff options
author | Keiron Liddle <keiron@apache.org> | 2002-08-20 06:45:15 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-08-20 06:45:15 +0000 |
commit | af6f615d12af4778d196da82726e84252c3bbc38 (patch) | |
tree | 9f361938b870f144c9171bdb239afdfa2567c89d /test/resources/fop/image/errors.fo | |
parent | 5b83ed0542a4924045ea1f85e1a9b81717e93b9a (diff) | |
download | xmlgraphics-fop-af6f615d12af4778d196da82726e84252c3bbc38.tar.gz xmlgraphics-fop-af6f615d12af4778d196da82726e84252c3bbc38.zip |
test for images with errors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195106 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/resources/fop/image/errors.fo')
-rw-r--r-- | test/resources/fop/image/errors.fo | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/test/resources/fop/image/errors.fo b/test/resources/fop/image/errors.fo new file mode 100644 index 000000000..6ee931e90 --- /dev/null +++ b/test/resources/fop/image/errors.fo @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> + +<fo:root font-family="Times Roman" font-size="12pt" text-align="center" xmlns:fo="http://www.w3.org/1999/XSL/Format"> + +<fo:layout-master-set> + <fo:simple-page-master + margin-right="1.5cm" + margin-left="1.5cm" + margin-bottom="2cm" + margin-top="1cm" + page-width="21cm" + page-height="29.7cm" + master-name="left"> + <fo:region-before extent="1cm"/> + <fo:region-body margin-top="1cm"/> + <fo:region-after extent="1.5cm"/> + </fo:simple-page-master> + +</fo:layout-master-set> + +<fo:page-sequence id="N2528" master-reference="left"> + +<fo:static-content flow-name="xsl-region-after"> + <fo:block text-align-last="center" font-size="10pt"> + <fo:page-number/> + </fo:block> +</fo:static-content> + +<fo:flow flow-name="xsl-region-body"> +<fo:block font-size="18pt" font-weight="bold">Images with errors</fo:block> +<fo:block> +Various corrupt images in FOP: +A (<fo:external-graphic src="file:corrupt.gif"/>), +B (<fo:external-graphic src="file:corrupt.jpg"/>), +C (<fo:external-graphic src="file:corrupt.svg"/>), +D (<fo:external-graphic src="file:corrupt.xml"/>). +</fo:block> + +<fo:block> + <fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em"/> + This section is only required to show that the layout still works. +</fo:block> +</fo:flow> +</fo:page-sequence> + +</fo:root> + |