Don't know if the following will help but here it is.

I have a similar situation where left always was an image and right was its 
parts listing. The parts listing could go two pages but it needed to always be 
on the right. What I did was figure out how many parts fit on one page and then 
create temp vars of the parts and then in a choose statement decide the 
sequence of tables. Like thus

Choose
 When count of parts is less than 54
  Table image
  Table parts
 When count of parts is greater than 53
  Table image
  Table parts (first 53)
  Table image
  Table parts (all after 53)

And each table has page-break-after="always"

This will only work if you know how many lines you require and if your content 
is more tabular in nature.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

From: David Gerdt [mailto:[email protected]] 
Sent: Wednesday, March 24, 2010 8:54 AM
To: [email protected]
Subject: Re: page master with no flow text in region-body

I must have missed the last message in this thread. I've come back to this 
issue after a long break.
To review, my use case is that I want to have a static body of text printed on 
every even page. It will be a set of Terms and Conditions that is to appear on 
the back of each packing slip when they are duplex printed. So I'm trying to 
prevent any flow text from appearing on even pages but cannot find a way.
Vincent's last response seems to indicate that it is possible to prevent flow 
text from appearing on a page using margins. That's been my approach so far, 
but I've been unsuccessful. You will notice from the attached PDF that one line 
is written to page 2 even though the margins should not allow this. I've tried 
several different combinations but have always had at least one line written to 
that page.
I've attached all the relevant files.
Thanks for any input!
Dave
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi David, 
Can you please send your FO file (directly to me if it’s big or confidential)? 
I tried on a simple file and by setting margins on the region-body to make it 
empty I could get the content to be typeset only on odd pages. 
Thanks, Vincent 
David Gerdt wrote: 
You remembered correctly. 
java.lang.IllegalStateException: Flow 'xsl-region-body' does not map to the
region-body in page-master 'front'. FOP presently does not support this. 
Thanks for the help anyway. 
"Amick, Eric" <[email protected]> 11/16/2009 3:18 PM >>> 
In standard FO, you should be able to just give the region-body a different
region-name and have static-content write to the region-body. FOP might not like
that, unfortunately, if I remember correctly. 
Eric Amick Systems Engineer II Legislative Computer Systems 
From:David Gerdt [mailto:[email protected]] Sent: Monday, November 16, 2009 15:11 
To: [email protected] Subject: page master with no flow text in 
region-body 
Is it possible to create a page-master where the region-body will not allow any
of the flow text to come in? I want to create a document that will be duplex
printed where the front of the page (odd pages) will be dynamic and the back of
the page (even pages) will be a static body of text, the same on every even
page. 
My thought was to use conditional-page-masters for odd and even pages where the
margins of the even page would not allow any text to be written in the
region-body and use the region-before to include my static text. For instance, I
supposed that if the region-body area were only 1mm, no dynamic text would fit
and only the static content would be displayed. 
This apparently doesn't work. The region-body seems to always contain at least
one line of text. 
I know I could probably use the IF to do this, but does anyone know of a way to
do this in straight XSL-FO? 
--------------------------------------------------------------------- To 
unsubscribe, e-mail: [email protected] For additional commands, 
e-mail: [email protected] 

--------------------------------------------------------------------
Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or 
material transmitted with this communication) is confidential, may be 
privileged and is intended only for the use of the intended recipient. If you 
are not the intended recipient, any review, retransmission, circulation, 
distribution, reproduction, conversion to hard copy, copying or other use of 
this communication, information or material is strictly prohibited and may be 
illegal. If you received this communication in error or if it is forwarded to 
you without the express authorization of New Flyer, please notify us 
immediately by telephone or by return email and permanently delete the 
communication, information and material from any computer, disk drive, diskette 
or other storage device or media. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to