CVS: jfor/samples/cocoon/tests/tables 009-proportional-column-width.fo.xml,NONE,1.1
Phil Chu <[email protected]> Thu, 23 Oct 2003 21:42:31 -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-serv23738/samples/cocoon/tests/tables
Added Files:
009-proportional-column-width.fo.xml
Log Message:
Support for proportional-column-width. Requires JRE/JDK 1.4 for regex.
--- NEW FILE: 009-proportional-column-width.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 proportional-column-width, pc and em values, and expressions.</fo:block>
<fo:block>Contributed by Phil Chu.</fo:block>
<fo:table text-align="center" padding="0pt">
<fo:table-column column-width="proportional-column-width(1)"/>
<fo:table-column column-width="proportional-column-width(2)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border-style="solid" border-width="1pt" number-rows-spanned="4" background-color="#FF0000" padding="0pt">
<fo:block color="#000000" text-align="left" font-family="Helvetica" font-size="8pt">proportional-column-width(1)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" background-color="#0000FF" padding="0pt">
<fo:block color="#000000" text-align="left" font-family="Helvetica" font-size="8pt">proportional-column-width(2)</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 is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/