CVS: jfor/samples/cocoon/tests/simple-tests header-footer-using-tables.fo.xml,1.1,1.2

Bertrand Delacretaz <[email protected]> Tue, 17 Sep 2002 06:11:24 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/samples/cocoon/tests/simple-tests
In directory usw-pr-cvs1:/tmp/cvs-serv3174

Modified Files:
	header-footer-using-tables.fo.xml 
Log Message:
sample made more self-explaining

Index: header-footer-using-tables.fo.xml
===================================================================
RCS file: /cvsroot/jfor/jfor/samples/cocoon/tests/simple-tests/header-footer-using-tables.fo.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** header-footer-using-tables.fo.xml	17 Sep 2002 12:24:07 -0000	1.1
--- header-footer-using-tables.fo.xml	17 Sep 2002 13:11:21 -0000	1.2
***************
*** 8,11 ****
--- 8,14 ----
  $Id$
  $Log$
+ Revision 1.2  2002/09/17 13:11:21  bdelacretaz
+ sample made more self-explaining
+ 
  Revision 1.1  2002/09/17 12:24:07  bdelacretaz
  header-footer-using-tables.fo.xml sample added
***************
*** 38,41 ****
--- 41,56 ----
        </fo:table>
      ">
+     
+     <!ENTITY bodyText "
+         Here some blue text in the region-body. 
+         Here some blue text in the region-body. 
+         Here some blue text in the region-body. 
+         Here some blue text in the region-body. 
+     ">
+     
+     <!ENTITY tenBodyText "
+         &bodyText; &bodyText; &bodyText; &bodyText; &bodyText;  
+         &bodyText; &bodyText; &bodyText; &bodyText; &bodyText;  
+     ">
  ]>
  
***************
*** 51,57 ****
          page-width="8.5in" 
          master-name="simple">
!           <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>
--- 66,72 ----
          page-width="8.5in" 
          master-name="simple">
!           <fo:region-body margin-top="5cm" margin-bottom="5cm"/>
!           <fo:region-before extent="5cm"/>
!           <fo:region-after extent="5cm"/>
      </fo:simple-page-master>
    </fo:layout-master-set>
***************
*** 61,65 ****
      <fo:static-content font="10pt" flow-name="xsl-region-before">
  	    <fo:block font-weight="bold" font-style="italic" text-align="right" font-size="14pt">
!             Page header text, 14 pt bold italic right-aligned
          </fo:block>
          <fo:block text-align="left">
--- 76,80 ----
      <fo:static-content font="10pt" flow-name="xsl-region-before">
  	    <fo:block font-weight="bold" font-style="italic" text-align="right" font-size="14pt">
!             HEADER: 14 pt bold italic right-aligned
          </fo:block>
          <fo:block text-align="left">
***************
*** 71,75 ****
  
      <fo:static-content flow-name="xsl-region-after">
!         <fo:block>This is followed by twice the same table as in header:</fo:block>
          &smallTable;
          &smallTable;
--- 86,90 ----
  
      <fo:static-content flow-name="xsl-region-after">
!         <fo:block>FOOTER: this is followed by twice the same table as in header:</fo:block>
          &smallTable;
          &smallTable;
***************
*** 81,85 ****
          </fo:block>
          <fo:block>
!             This document contains two pages so that page numbering can be tested.
              <fo:block/>
              Each page contains a two-line header and a two-line footer.
--- 96,100 ----
          </fo:block>
          <fo:block>
!             This document contains several pages so that page numbering can be tested.
              <fo:block/>
              Each page contains a two-line header and a two-line footer.
***************
*** 88,96 ****
              <fo:block/>
              Note that tables in headers and footers are implemented since V0.7.2dev-b only.
          </fo:block>
!         <fo:block font-weight="bold" font-size="24pt" break-before="page">
!             Second page, should have number 2 in footer.
!             <fo:block/>
!             end of test.
          </fo:block>
      </fo:flow>
--- 103,124 ----
              <fo:block/>
              Note that tables in headers and footers are implemented since V0.7.2dev-b only.
+             <fo:block color="red">
+             Test with 0.7.2dev-c fails: footer table is 
+             </fo:block>
          </fo:block>
!         <fo:block color="blue" font-size="10pt">
!         &tenBodyText;
!         &tenBodyText;
!         &tenBodyText;
!         &tenBodyText;
!         &tenBodyText;
!         &tenBodyText;
!         &tenBodyText;
!         &tenBodyText;
!         &tenBodyText;
!         </fo:block>
!         
!         <fo:block font-weight="bold" font-size="24pt">
!             end of test document
          </fo:block>
      </fo:flow>



-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab