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

Discussion in 'XML' started by =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?=, May 9, 2006.

  1. 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
    =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?=, May 9, 2006
    #1
    1. Advertising

  2. 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
    =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?=, May 9, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    3,598
    A. Bolmarcich
    May 27, 2005
  2. Deniz Bahar
    Replies:
    2
    Views:
    464
    Andrey Tarasevich
    Mar 9, 2005
  3. Zadig Galbaras

    Lines under links, not under pictures...

    Zadig Galbaras, Mar 18, 2008, in forum: HTML
    Replies:
    8
    Views:
    421
    Zadig Galbaras
    Mar 18, 2008
  4. dorayme
    Replies:
    112
    Views:
    2,721
    dorayme
    Mar 30, 2009
  5. Diego
    Replies:
    4
    Views:
    294
    Diego
    Nov 4, 2008
Loading...

Share This Page