Re: docbook article support
Phil Chu <[email protected]> Sat, 09 Aug 2003 23:14:09 -0700
| Newsgroups | gmane.text.xml.jfor.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------080608000508090605090608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Attached here is a simple test xsl-fo file I adapted from one of the existing test files in the jfor distribution. The result looks OK in wordpad, but Open Office 1.1 doesn't look quite right. -Phil Bertrand Delacretaz wrote: > Hi Phil, > > Le Vendredi, 25 juil 2003, à 06:58 Europe/Zurich, Phil Chu a écrit : > >> I have jfor working with my docbook FO files by adding support for em >> units and proportional-column-widths.... > > > Thanks for posting this - do you have an xsl-fo example file that > demonstrates these new features? > If so I can add your patches together with the test/example file. > > -Bertrand > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > jfor-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jfor-devel > -- Phil Chu [email protected] http://www.technicat.com/ --------------080608000508090605090608 Content-Type: text/xml; name="proportional-column-width.fo.xml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="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 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="proportional-column-width(1)"/> <fo:table-column column-width="12em"/> <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" 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" 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> --------------080608000508090605090608-- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01