From 1fd01e65ececda8404e149115eb48c9fd0554d21 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 5 Jul 2002 06:10:54 +0000 Subject: some test images and fo with alignment, viewports etc. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194967 13f79535-47bb-0310-9956-ffa450edef68 --- test/resources/fop/image/align.fo | 68 +++++++++++++++++++++++++++ test/resources/fop/image/align2.fo | 68 +++++++++++++++++++++++++++ test/resources/fop/image/logo.bmp | Bin 0 -> 30054 bytes test/resources/fop/image/logo.gif | Bin 0 -> 2530 bytes test/resources/fop/image/logo.jpg | Bin 0 -> 2339 bytes test/resources/fop/image/logo.png | Bin 0 -> 4521 bytes test/resources/fop/image/logo.svg | 81 +++++++++++++++++++++++++++++++++ test/resources/fop/image/logo.tif | Bin 0 -> 40314 bytes test/resources/fop/image/size.fo | 91 +++++++++++++++++++++++++++++++++++++ test/resources/fop/image/types.fo | 52 +++++++++++++++++++++ 10 files changed, 360 insertions(+) create mode 100644 test/resources/fop/image/align.fo create mode 100644 test/resources/fop/image/align2.fo create mode 100644 test/resources/fop/image/logo.bmp create mode 100644 test/resources/fop/image/logo.gif create mode 100644 test/resources/fop/image/logo.jpg create mode 100644 test/resources/fop/image/logo.png create mode 100644 test/resources/fop/image/logo.svg create mode 100755 test/resources/fop/image/logo.tif create mode 100644 test/resources/fop/image/size.fo create mode 100644 test/resources/fop/image/types.fo (limited to 'test') diff --git a/test/resources/fop/image/align.fo b/test/resources/fop/image/align.fo new file mode 100644 index 000000000..e431bdc11 --- /dev/null +++ b/test/resources/fop/image/align.fo @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + +1. FOP test for images + + Align in Larger Viewport + +Default align: +(), start +(), end +(), center +(), before +(), after +(), center +(). + + +Default align: +(), start-before +(), start-after +(), start-center +(), center-before +(), center-center +(), center-after +(). + + + +end-before +(), end-center +(), end-after +(). + + + + This section is only required to show that the layout still works. + + + + + + diff --git a/test/resources/fop/image/align2.fo b/test/resources/fop/image/align2.fo new file mode 100644 index 000000000..12f676181 --- /dev/null +++ b/test/resources/fop/image/align2.fo @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + +1. FOP test for images + + Align in Smaller Viewport + +Default align: +(), start +(), center +(), end +(), before +(), after +(), center +(). + + +Default align: +(), start-before +(), start-center +(), start-after +(), center-before +(), center-after +(), center-center +(). + + + +end-before +(), end-after +(), end-center +(). + + + + This section is only required to show that the layout still works. + + + + + + diff --git a/test/resources/fop/image/logo.bmp b/test/resources/fop/image/logo.bmp new file mode 100644 index 000000000..3a433e95e Binary files /dev/null and b/test/resources/fop/image/logo.bmp differ diff --git a/test/resources/fop/image/logo.gif b/test/resources/fop/image/logo.gif new file mode 100644 index 000000000..a87f3322a Binary files /dev/null and b/test/resources/fop/image/logo.gif differ diff --git a/test/resources/fop/image/logo.jpg b/test/resources/fop/image/logo.jpg new file mode 100644 index 000000000..8fe6ca9ff Binary files /dev/null and b/test/resources/fop/image/logo.jpg differ diff --git a/test/resources/fop/image/logo.png b/test/resources/fop/image/logo.png new file mode 100644 index 000000000..c38d67c86 Binary files /dev/null and b/test/resources/fop/image/logo.png differ diff --git a/test/resources/fop/image/logo.svg b/test/resources/fop/image/logo.svg new file mode 100644 index 000000000..4480deeb8 --- /dev/null +++ b/test/resources/fop/image/logo.svg @@ -0,0 +1,81 @@ + + + + + + +Apache Software Foundation Apache Software Foundation +Apache Software Foundation Apache Software Foundation +Apache Software Foundation Apache Software Foundation +Apache Software Foundation Apache Software Foundation +Apache Software Foundation Apache Software Foundation +Apache Software Foundation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/resources/fop/image/logo.tif b/test/resources/fop/image/logo.tif new file mode 100755 index 000000000..ddfe12464 Binary files /dev/null and b/test/resources/fop/image/logo.tif differ diff --git a/test/resources/fop/image/size.fo b/test/resources/fop/image/size.fo new file mode 100644 index 000000000..2997c61e9 --- /dev/null +++ b/test/resources/fop/image/size.fo @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + +1. FOP test for images + + Normal + +The image () is placed normally. + + + + + Sized + +The image +() +has the content size set. + + + + + Sized + +The image +() +has the width and height set. + + + + + Sized + +The image +() +has the ipd and bpd set. + + + + + Clipped + +The image +() +is clipped with the content size double the viewport size. + + + + + Clipped + +The image +() +is clipped with the content size double the viewport size. + + + + + + This section is only required to show that the layout still works. + + + + + + diff --git a/test/resources/fop/image/types.fo b/test/resources/fop/image/types.fo new file mode 100644 index 000000000..cf3df156b --- /dev/null +++ b/test/resources/fop/image/types.fo @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + +Types of Images + + Normal + +The various types of images in FOP are: +jpeg (), +gif (), +tiff (), +svg (), +bmp (), +png (). + + + + + + This section is only required to show that the layout still works. + + + + + + -- cgit v1.2.3