Unfortunately I do not think any of the keep-* attributes work. At least not
as of FOP 0.18.1 if you read the page:
http://xml.apache.org/fop/implemented.html
the only keep-* attribute listed is keep-with-next and it has (broken) next
to it. I have also tried these using the keep-* tags with no success. I hope
someone can back me up or prove me wrong on this.
-Eric Dalquist
- Original Message -
From: Heidi Gerken [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 2:58 PM
Subject: Please help with block breaks
I implore any member of this list to give me an answer to my question.
Does
keep-with-next, keep-with-previous, keep-together or
keep-together.within-page
work with blocks or list-blocks? If so, how should it be implemented? I
have a
series of 4 list blocks, like the one below, inside a parent block. I
would like
all four list blocks within the block to be on the same page; if they
cannot
fit, I want the entire block to move to the next page. Is this possible?
Would
someone, please, tell me how I can do this. (I hope you sense the
desperation in
my email, because I am truly losing my mind over this one.)
fo:block font-size=10pt font-weight=normal
keep-together.within-page=always
fo:list-block space-before.optimum=4pt
provisional-distance-between-starts=80pt
provisional-label-separation=0pt
keep-together.within-page=always
fo:list-item vertical-align=middle
fo:list-item-label keep-with-next=always
fo:block line-height=12pt
keep-with-next=alwaysAbstract:/fo:block
/fo:list-item-label
fo:list-item-body keep-with-previous=always
fo:block font-size=10pt line-height=12pt
keep-with-previous=always
xsl:apply-templates select=Abstract/
/fo:block
/fo:list-item
/fo:list-block
.
.
.
/fo:block
Thank you,
Heidi Gerken
KM Objects
2200 Clarendon Blvd., Suite 1401
Arlington, VA 22201
703.841.4284
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]