CVS: jfor/samples/cocoon/tests/tables 008-expression.fo.xml,NONE,1.1
Phil Chu <[email protected]> Wed, 22 Oct 2003 13:30:28 -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-serv24915/jfor/samples/cocoon/tests/tables
Added Files:
008-expression.fo.xml
Log Message:
support for expression property values, e.g. "4in - -4pc"
--- NEW FILE: 008-expression.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 expression 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="12em - 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">12em - 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 is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54