<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2017 XMLmind Software.
This file is part of the XMLmind FO Converter XSL-FO Test Cases.
Permission is granted to copy and modify this file provided that any work
derived from it bear a reference to the original document.
-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master margin-bottom="1.5cm" margin-left="1.5cm"
                           margin-right="1.5cm" margin-top="1.5cm"
                           master-name="all-pages" page-height="29.7cm"
                           page-width="21cm">
      <fo:region-body border-style="solid" border-width="1pt"
                      margin-bottom="10pt + 0.5cm" margin-top="0.5cm" 
                      padding="7.5pt" />

      <fo:region-before display-align="before" extent="0.5cm" />

      <fo:region-after display-align="after" extent="0.5cm" />
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="all-pages">
    <fo:static-content flow-name="xsl-region-before">
      <fo:block font-family="Helvetica" font-size="10pt"><fo:table
          border-style="none" width="100%">
          <fo:table-body>
            <fo:table-row>
              <fo:table-cell width="50%">
                <fo:block text-align="left">XMLmind FO Converter</fo:block>
              </fo:table-cell>

              <fo:table-cell width="50%">
                <fo:block text-align="right">XSL-FO Test Case</fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table></fo:block>
    </fo:static-content>

    <fo:static-content flow-name="xsl-region-after">
      <fo:block font-family="Helvetica" font-size="10pt"><fo:table
          border-style="none" width="100%">
          <fo:table-body>
            <fo:table-row>
              <fo:table-cell width="50%">
                <fo:block text-align="left">Font Attributes</fo:block>
              </fo:table-cell>

              <fo:table-cell width="50%">
                <fo:block text-align="right"><fo:page-number /> /
                <fo:page-number-citation ref-id="end" /></fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table></fo:block>
    </fo:static-content>

    <fo:flow flow-name="xsl-region-body">
      <fo:block background-color="rgb(240,240,240)" border-style="solid"
      border-width="0.5pt" font-size="14pt" padding-bottom="3pt"
      padding-top="3pt" text-align="center">Font Attributes</fo:block>

      <fo:block space-before="10pt">Font family: <fo:inline
      font-family="Palatino">Palatino</fo:inline>, <fo:inline
      font-family="Arial">Arial</fo:inline>, <fo:inline
      font-family="Courier New">Courier New</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Font family (generic): <fo:inline
      font-family="serif">serif</fo:inline>, <fo:inline
      font-family="sans-serif">sans-serif</fo:inline>, <fo:inline
      font-family="monospace">monospace</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Font size: <fo:inline font-size="8pt">8
      pts</fo:inline>, <fo:inline font-size="12pt">12 pts</fo:inline>,
      <fo:inline font-size="16pt">16 pts</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Font weight: <fo:inline
      font-weight="bold">bold</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Font style: <fo:inline
      font-style="italic">italic</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Font variant: <fo:inline
      font-variant="small-caps">small caps</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Text decoration: <fo:inline
      text-decoration="underline">underline</fo:inline>, <fo:inline
      text-decoration="line-through">strike through</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Baseline shift: <fo:inline
      baseline-shift="-1pt">-1 pt</fo:inline>, <fo:inline
      baseline-shift="2pt">+2 pts</fo:inline>, <fo:inline
      baseline-shift="sub">subscript</fo:inline>, <fo:inline
      baseline-shift="super">superscript</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Foreground color: <fo:inline
      color="red">red</fo:inline>, <fo:inline
      color="#808080">#808080</fo:inline>.</fo:block>

      <fo:block space-before="10pt">Background color: <fo:inline
      background-color="#F0F0F0">#F0F0F0</fo:inline>.</fo:block>

      <fo:block id="end"></fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>