CVS: jfor/samples/cocoon/tests/templates jfor-rtf-template-test.dot,NONE,1.1 simple-stylesheet-and-template.fo.xml,1.2,1.3 template.dot,1.2,NONE

Bertrand Delacretaz <[email protected]> Thu, 06 Jun 2002 00:04:33 -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-serv2467

Modified Files:
	simple-stylesheet-and-template.fo.xml 
Added Files:
	jfor-rtf-template-test.dot 
Removed Files:
	template.dot 
Log Message:
template.dot renamed jfor-rtf-template-test.dot

--- NEW FILE: jfor-rtf-template-test.dot ---
ÐÏࡱá








Index: simple-stylesheet-and-template.fo.xml
===================================================================
RCS file: /cvsroot/jfor/jfor/samples/cocoon/tests/templates/simple-stylesheet-and-template.fo.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** simple-stylesheet-and-template.fo.xml	5 Jun 2002 16:39:36 -0000	1.2
--- simple-stylesheet-and-template.fo.xml	6 Jun 2002 07:04:30 -0000	1.3
***************
*** 2,6 ****
  
  <!DOCTYPE template-name [
!     <!ENTITY template "/tmp/template.dot">
  ]>
  
--- 2,6 ----
  
  <!DOCTYPE template-name [
!     <!ENTITY template "/tmp/jfor-rtf-template-test.dot">
  ]>
  
***************
*** 16,21 ****
      <jfor:stylesheet default="Normal">
          <jfor:style name="Normal" font-size="10pt" font-family="Courier"/>
!         <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>
  
--- 16,22 ----
      <jfor:stylesheet default="Normal">
          <jfor:style name="Normal" font-size="10pt" font-family="Courier"/>
!         <jfor:style name="Courier-14-green" font-family="Courier" font-size="14pt" font-color="green"/>
!         <jfor:style name="helv-24-bold" 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="24pt"/>
      </jfor:stylesheet>
  
***************
*** 40,69 ****
      <fo:page-sequence master-name="simple">
          <fo:flow flow-name="xsl-region-body">
!          	<fo:block font-size="24pt" font-family="arial" font-weight="bold">
! 			In this document the RTF template name is set to 
  			<fo:inline font-color="red">&template;</fo:inline> 
  			(but is the path taken into account by wordprocessors?).
  		</fo:block>
!          	<fo:block font-size="24pt" font-family="arial" font-weight="bold">
  			If this template file (found in the jfor samples directory)
! 			is available to your wordprocessor, your should see lots of blue 
  			and red text below.
  		</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, which is set to blue in template.dot
! 		and is not defined in the xsl-fo document.
  	    </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 (red in template.dot).
!                 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>
                     
--- 41,79 ----
      <fo:page-sequence master-name="simple">
          <fo:flow flow-name="xsl-region-body">
!          	<fo:block font-size="28pt" font-family="arial" font-weight="bold">
! 			jfor:style-template extension test
! 		</fo:block>
!          	<fo:block>
! 			In this document the RTF template filename is set to 
  			<fo:inline font-color="red">&template;</fo:inline> 
  			(but is the path taken into account by wordprocessors?).
  		</fo:block>
!          	<fo:block>
  			If this template file (found in the jfor samples directory)
! 			is available to your wordprocessor, you should see lots of blue 
  			and red text below.
  		</fo:block>
          
+ 		<fo:block>&#160;</fo:block>
+          	<fo:block font-size="28pt" font-family="arial" font-weight="bold">
+ 			test begins:
+ 		</fo:block>
              <fo:block jfor-class="arial-22-centered">
! 	    	This block should have the arial-22-centered style, but
! 		the style is defined only in the template, not in the XSL-FO document.
! 	    </fo:block>
!             <fo:block jfor-class="Courier-14-green">
! 	    	This block should have the Courier-14-green style which is
! 		defined only in the XSL-FO document, not in the template.
  	    </fo:block>
              <fo:block jfor-class="helv-24-bold">
! 	        This block should have the helv-24-bold style, which is set to blue 
! 		in the template.
  	    </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 (red in the template).
! 		If it is set in 24pt it means the template has not been found by the
! 		wordprocessor.
              </fo:block>
                     

--- template.dot DELETED ---


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm