<?xml version="1.0"?>
<!-- ============================================================ -->
<!--                                                              -->
<!-- 	This file makes a part of RenderX XSL Test Suite          -->
<!--                                                              -->
<!--    Author: Alexander Peshkov                                 -->
<!--                                                              -->
<!--    (c) RenderX, 2003                                         -->
<!--                                                              -->
<!-- ============================================================ -->
<document>
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
           xmlns:dc="http://purl.org/dc/elements/1.1/"
           xmlns:dcterms="http://purl.org/dc/terms/"
           xmlns:db="http://www.oasis-open.org/docbook/xml/4.2/">
    <rdf:Description rdf:about="http://xep.xattic.com/testsuite/usecases/dropcap.xml">
        <dc:creator>Alexander Peshkov</dc:creator>
        <dc:title>Creating drop capitals using side floats</dc:title>
        <dc:description>
        <db:para>
          Create dropped capitals from either plain text or image.
        </db:para>
        </dc:description>
        <dc:date>2003-07-07</dc:date>
        <dcterms:requires rdf:resource="http://xep.xattic.com/testsuite/usecases/generic.xsl"/>
        <dcterms:requires rdf:resource="http://xep.xattic.com/testsuite/usecases/dropcap.xsl"/>
    </rdf:Description>
  </rdf:RDF> 
  <title>Creating drop capitals using side floats</title>
  <para>
    A drop capital is a large sized letter, word or text.
    Normally, the drop cap applies to the first letter of a paragraph.
  </para>
  <para>
    In XSL FO drop capitals effect created using side floats.
	<citation>
      <ulink url="http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo_float">XSL FO Recommendation, Chapter 6.10.2 "fo:float"</ulink>
    </citation>
  </para>
  <para>
    In this test you can see both graphic and textual drop caps created with <code>fo:float</code> that has <code>float="start"</code>.
  </para>
   <simpara>
     <dropcap>F</dropcap>loats dimensions derived from its content width/height, accompanying text should wrap around floating block.
     Drop capital in this paragraph implemented using side float that contains fo:block with single big letter "F".
     Floats dimensions derived from its content width/height, accompanying text should wrap around floating block.
     Drop capital in this paragraph implemented using side float that contains fo:block with single big letter "F".
   </simpara>
  <para>
    Textual drop cap created with the following code:
    <codeblock>    &lt;fo:block margin="0pt" padding="6pt"&gt;
        &lt;fo:float float="start"&gt;
          &lt;fo:block margin="0pt"
                       color="red"
                       text-depth="0pt"
                       font-size="62pt"
                       line-height="40pt"
                       font-weight="bold"
                       font-family="Courier"&gt;F&lt;/fo:block&gt;
        &lt;/fo:float&gt;
        loats dimensions derived from its content width/height...
      &lt;/fo:block&gt;</codeblock>
   </para> 

    <simpara>
      <dropcap image="Images/f-cap.gif"/>loats dimensions derived from its content width/height, accompanying text should wrap around floating block.
      Drop capital in this paragraph implemented using side float that contains fo:block with 
      gif image depicting letter "F".
      Floats dimensions derived from its content width/height, accompanying text should wrap around floating block.
      Drop capital in this paragraph implemented using side float that contains fo:block with 
      gif image depicting letter "F".
    </simpara>

   <para> 
   Graphical drop cap created with the following code:
   <codeblock>    &lt;fo:block margin="0pt" padding="6pt"&gt;
        &lt;fo:float float="start"&gt;
          &lt;fo:block&gt;
            &lt;fo:external-graphic src="url('Images/f-cap.gif')"/&gt;
          &lt;/fo:block&gt;
        &lt;/fo:float&gt;
        loats dimensions derived from its content width/height...
      &lt;/fo:block&gt;</codeblock>
    </para>
</document>