Fop
  1. Fop
  2. FOP-1847

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 0.95
    • Fix Version/s: None
    • Component/s: page-master/layout
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      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.

        Activity

          People

          • Assignee:
            fop-dev
            Reporter:
            Alexey Neyman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development