By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,652 Members | 1,698 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,652 IT Pros & Developers. It's quick & easy.

keep with next for 10 lines of text in a paragraph under XSL:FO

P: n/a
Hello people,

I was wondering how it I could implement keep with next logic on lines
of text contained within a paragraph.

I need to have at least 10 lines of text within a paragraph to be keep
together on the first page if we are to split the flow of the paragraph
across 2 pages. If it can't be done, the whole paragraph has to cross
over.

The granularity is at the paragraph level in the XML so I have no
direct control over lines of text.

Is there an FO construct I can use to accomplish this?

Regards
Jeff

May 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Jean-François Michaud wrote:
Hello people,

I was wondering how it I could implement keep with next logic on lines
of text contained within a paragraph.

I need to have at least 10 lines of text within a paragraph to be keep
together on the first page if we are to split the flow of the paragraph
across 2 pages. If it can't be done, the whole paragraph has to cross
over.

The granularity is at the paragraph level in the XML so I have no
direct control over lines of text.

Is there an FO construct I can use to accomplish this?

Regards
Jeff


I forgot to mention I'm using FOP 0.20.5 and that keep-with-next
doesn't seem to be supported.

Regards
Jeff

May 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.