Fop
  1. Fop
  2. FOP-1112

footnotes on centerd blocks get lost

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: page-master/layout
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • External issue ID:
      37880

      Description

      footnotes on blocks with text-align="center" get lost. When changing the
      text-aling property to "left" or "right" or "justify" (changing nothing else)
      the footnotes remain.

      setting the block inside the footnote-body (<fo:footnote-body><fo:block> ...) to
      (for example) text-align="left" does not help.

      1. dorfchronik.fo
        3 kB
        gerhard oettl

        Activity

        Hide
        gerhard oettl added a comment -

        Attachment dorfchronik.fo has been added with description: the fo-file to reproduce the issue

        Show
        gerhard oettl added a comment - Attachment dorfchronik.fo has been added with description: the fo-file to reproduce the issue
        Hide
        Jeremias Maerki added a comment -

        Analysis shows that the auxiliary inline box on which the footnote anchor is
        located is removed by
        LineLayoutManager$Paragraph.removeElementsForTrailingSpaces(). I've locally
        extended FootnoteLM.addAnchor() so it doesn't chose auxiliary boxes to place an
        anchor. But first I have to check if there are any side-effects here and SVN
        services are currently down.

        Show
        Jeremias Maerki added a comment - Analysis shows that the auxiliary inline box on which the footnote anchor is located is removed by LineLayoutManager$Paragraph.removeElementsForTrailingSpaces(). I've locally extended FootnoteLM.addAnchor() so it doesn't chose auxiliary boxes to place an anchor. But first I have to check if there are any side-effects here and SVN services are currently down.
        Hide
        Jeremias Maerki added a comment -
        Show
        Jeremias Maerki added a comment - Bug fixed, I hope: http://svn.apache.org/viewcvs?rev=356594&view=rev
        Hide
        Jeremias Maerki added a comment -

        My fix broke a test case. Fixed it again:
        http://svn.apache.org/viewcvs?rev=356792&view=rev

        Show
        Jeremias Maerki added a comment - My fix broke a test case. Fixed it again: http://svn.apache.org/viewcvs?rev=356792&view=rev
        Hide
        Glenn Adams added a comment -

        batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

        Show
        Glenn Adams added a comment - batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development