CVS: jfor/samples/cocoon/tests/templates template.dot,NONE,1.1 simple-stylesheet-and-template.fo.xml,NONE,1.1
Marra Roberto <[email protected]> Wed, 05 Jun 2002 07:36:23 -0700
| Newsgroups | gmane.text.xml.jfor.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jfor/jfor/samples/cocoon/tests/templates
In directory usw-pr-cvs1:/tmp/cvs-serv31155
Added Files:
template.dot simple-stylesheet-and-template.fo.xml
Log Message:
Initial checkin
--- NEW FILE: template.dot ---
ÐÏࡱá
l
--- NEW FILE: simple-stylesheet-and-template.fo.xml ---
<?xml version="1.0" encoding="utf-8"?>
<!-- tell cocoon to use jfor to convert this to RTF format -->
<?cocoon-format type="xslfo/rtf"?>
<fo:root
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:jfor="http://www.jfor.org/xmlns/2001/stylesheet"
>
<!-- jfor:stylesheet extension, generates an RTF stylesheet -->
<jfor:stylesheet default="Normal">
<jfor:style name="Normal" font-size="10pt" font-family="Courier"/>
<jfor:style name="helv-24-bold" font-size="24pt" font-family="Helvetica" font-weight="bold"/>
<jfor:style name="arial-22-centered" text-align="center" margin-left="2pt" line-height="24pt" font-family="Arial" font-size="22pt"/>
<jfor:style name="sourceCode" text-align="left" margin-left="25mm" font-family="Courier" font-size="12pt"/>
</jfor:stylesheet>
<jfor:style-template src="R:\CVS\jfor\samples\cocoon\tests\template\template.dot"/>
<fo:layout-master-set>
<fo:simple-page-master master-name="simple"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="simple">
<fo:flow flow-name="xsl-region-body">
<fo:block font-size="26pt" font-weight="bold">
Warning for this test, the file template.dot must be on the same directory as this file.
Normally all stlyes of the template must be visible from the list of the styles.
All template styles starts with template_xxx.
</fo:block>
<fo:block font-size="26pt">jfor:stylesheet extensions - basic test</fo:block>
<fo:block>
With jfor V0.4.2, Word 97 crashes when exiting after having opened the RTF version of this file.
</fo:block>
<fo:block jfor-class="arial-22-centered">This block should have the arial-22-centered style.</fo:block>
<fo:block jfor-class="helv-24-bold">This block should have the helv-24-bold style</fo:block>
<fo:block>This block should have the default style (courier 10??)</fo:block>
<fo:block jfor-class="sourceCode">
This block should have the sourceCode style.
This block should have the sourceCode style.
This block should have the sourceCode style.
This block should have the sourceCode style.
This block should have the sourceCode style.
This block should have the sourceCode style.
</fo:block>
<fo:block break-before="page" jfor-class="sourceCode">
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
More text in the sourceCode style. More text in the sourceCode style. More text in the sourceCode style.
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm