CVS: jfor/samples/cocoon/tests/tables 007-em-and-pc.fo.xml,NONE,1.1

Phil Chu <[email protected]> Sun, 19 Oct 2003 12:44:23 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/samples/cocoon/tests/tables
In directory sc8-pr-cvs1:/tmp/cvs-serv7240/jfor/samples/cocoon/tests/tables

Added Files:
	007-em-and-pc.fo.xml 
Log Message:
support for em and pc units

--- NEW FILE: 007-em-and-pc.fo.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>



<fo:root xmlns:html="http://www.w3.org/1999/xhtml" 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="0.3cm" margin-top="0.1cm" page-width="21cm" page-height="29.7cm" master-name="first">
      <fo:region-body margin-top="2.0cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  
  <fo:page-sequence master-reference="first">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>Start of test document</fo:block>
      <fo:block font-weight="bold">This test illustrates the support of the table-column column-width attribute with pc and em values.</fo:block>
      <fo:block>Contributed by Phil Chu.</fo:block>
            
      <fo:table text-align="center" padding="0pt">
        <fo:table-column column-width="12em"/>
        <fo:table-column column-width="6pc"/>
        <fo:table-body>
          <fo:table-row>
            <fo:table-cell border-style="solid" border-width="1pt" number-rows-spanned="2" background-color="#00FF00" padding="0pt">
              <fo:block color="#000000" text-align="left" font-family="Helvetica" font-size="8pt">12em</fo:block>
            </fo:table-cell>
            <fo:table-cell border-style="solid" border-width="1pt" number-rows-spanned="2" background-color="#00FF00" padding="0pt">
              <fo:block color="#000000" text-align="left" font-family="Helvetica" font-size="8pt">6pc</fo:block>
            </fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
     
      <fo:block>End of test document</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com