[xsl] fo:simple-page-master related

Subject: [xsl] fo:simple-page-master related
From: Red Light <skydelta98@xxxxxxxxx>
Date: Wed, 28 Jul 2010 07:39:14 -0700 (PDT)
  Hi ,
 (Sorry if the Subject of my  mail is disleading ...)
 i'am using Apache fop 0.95 to generate my pdf report, i got a pdf that look like:

  

    --------------------------------------------------
  |                HEADER                             |
  |                                                   |
   --------------------------------------------------   
  | PARAGRAPH INTRODUCING                             |
  |                                                   |
   --------------------------------------------------
  | aLONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN | 
  |                                                   |
  |                                                   |
  |                                                   |
  |                                                   | 
  |                                                   |
  |                                                   | 
  |                                                   |
  |                                                   |
  | tEXT                                              |
  |                                                   |
   --------------------------------------------------
   
   the problem is that the "long text" can  break the page
   so in the next page i'm gonna have page that look like
   
   
    --------------------------------------------------
  | rest of the longggggggggggggggggggggggggggggggggg | 
  |                                                   |
  |                                                   |
  |                                                   |
  |                                                   | 
  |                                                   |
  |                                                   | 
  |                                                   |
  |                                                   |
  | tEXT                                              |
  |                                                   |
   --------------------------------------------------
   
   and so on that's the default behavior
   
   here is my  simple-page-master
   
<fo:simple-page-master  master-name="cover" page-height="27.94cm" page-width="21.59cm" margin-top="1cm" margin-bottom="1cm" margin-left="1.9cm" margin-right="1.9cm">
 <fo:region-body     margin-top="2.3cm" margin-bottom="1.2cm"  />
 <fo:region-before   extent="2.2cm"  />
 <fo:region-after    extent="1.1cm"  />
</fo:simple-page-master>	
	

        Now i'm looking in a kind of different behavior that the default one, i want to the rest of the page (except the first one) ,  rather be displayed like that:
	
   --------------------------------------------------
  |                HEADER                             |
  |                                                   |
   --------------------------------------------------   
  | rest of the longggggggggggggggggggggggggggggggggg | 
  |                                                   |
  |                                                   |
  |                                                   |
  |                                                   | 
  |                                                   |
  |                                                   | 
  |                                                   |
  |                                                   |
  | tEXT                                              |
  |                                                   |
   --------------------------------------------------


  now i can not do this using fo:simple-page-master  , because my  
  master-name="cover" sometime got onepage when the text is short  and some other could  have 5 page , how to do this plz ?


and thanks

Current Thread