xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amick, Eric" <Eric.Am...@mail.house.gov>
Subject RE: simple-page-master related
Date Wed, 28 Jul 2010 16:36:19 GMT
Assuming the "long text" can be generated separately from the rest of
the text, use two page-sequences--the first doing just the "long text"
and the second doing the rest.

Eric Amick   Systems Engineer II
Legislative Computer Systems


> -----Original Message-----
> From: Red Light [mailto:skydelta98@yahoo.com]
> Sent: Wednesday, July 28, 2010 11:40
> To: fop-users@xmlgraphics.apache.org
> Subject: fo:simple-page-master related
> 
> 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
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message