Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1847

keep-together.within-line="always" does not work with nested fo:inline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 0.95
    • None
    • layout/unqualified
    • None
    • Operating System: Linux
      Platform: PC
    • 49848

    Description

      As per suggestion on fop-users@, entering an issue:

      I am trying to prevent a line from breaking, so I wrapped it inside a
      <fo:inline keep-together.within-line="always">...</fo:inline>. This works as
      long as the line is a plain text, but does not work if there is a nested
      fo:inline. In that case, the line breaks at the nested fo:inline.

      Here is a FO snippet:

      ===========================
      <fo:inline keep-together.within-line="always">very long and nasty
      <fo:inline/>line that should not probably wrap unless somebody is using a
      nested fo inline <fo:inline/> which allows this line to wrapping
      around<fo:inline/> even though it should not</fo:inline>
      ===========================

      I am using FOP 0.95, packages from Ubuntu 10.04.

      Attachments

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            stilor@att.net Alexey Neyman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: