<?xml version='1.0' encoding='ISO-8859-1'?>

<!-- This file makes part of an XSL Test Suite -->
<!-- Graphics - Inline Images test             -->

<plain-doc xmlns:fo="http://www.w3.org/1999/XSL/Format">

  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
           xmlns:dcterms="http://purl.org/dc/terms/"
           xmlns:dc="http://purl.org/dc/elements/1.1/"
           xmlns:db="http://www.oasis-open.org/docbook/xml/4.2/">
     <rdf:Description rdf:about="http://xep.xattic.com/testsuite/features/images-inline.xml">
        <dc:title> Graphics - Inline Images </dc:title>
        <dc:description>
          <db:para>
            Tests scaling and vertical positioning on inline images.
          </db:para>
        </dc:description>
        <dc:date>2003-07-25</dc:date><dcterms:requires rdf:resource="http://xep.xattic.com/testsuite/features/macro.xsl"/>
    </rdf:Description>
  </rdf:RDF> 

<title> Graphics - Inline Images </title>

<repeat times="1">
<fo:block text-align="justify">
</fo:block>
<p text-align="justify">
  This is the image that will be used for the test: 
  <fo:external-graphic src="url({$image-path}teddy.jpg)" scaling="non-uniform" alignment-adjust="0%"/>
  must be aligned so that the bottom edge of the image coincide
  with the baseline of the text. The next occurrence 
  [<fo:external-graphic src="url({$image-path}teddy.jpg)" scaling="non-uniform"
   content-width="50%" content-height="50%" vertical-align="middle"/>] 
  differs in two aspects: first, it is scaled to one-half of the
  original size; second, it is aligned to the <b>vertical-align="middle"</b> of the 
  corresponding line. The third occurrence 
  [<fo:external-graphic src="url({$image-path}teddy.jpg)" content-width="24pt" content-height="24pt"
  vertical-align="top"/>] is scaled by explicitly setting its width and
  height to 24 pt. The vertical alignment is vertical-align="top".
</p>
</repeat>

</plain-doc>
