Bug 37880 - footnotes on centerd blocks get lost
Summary: footnotes on centerd blocks get lost
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 22:19 UTC by gerhard oettl
Modified: 2012-04-01 06:31 UTC (History)
0 users



Attachments
the fo-file to reproduce the issue (3.23 KB, text/plain)
2005-12-12 22:21 UTC, gerhard oettl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerhard oettl 2005-12-12 22:19:54 UTC
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.
Comment 1 gerhard oettl 2005-12-12 22:21:57 UTC
Created attachment 17206 [details]
the fo-file to reproduce the issue
Comment 2 Jeremias Maerki 2005-12-13 15:01:12 UTC
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. :-(
Comment 3 Jeremias Maerki 2005-12-13 20:53:45 UTC
Bug fixed, I hope: http://svn.apache.org/viewcvs?rev=356594&view=rev
Comment 4 Jeremias Maerki 2005-12-14 17:10:16 UTC
My fix broke a test case. Fixed it again:
http://svn.apache.org/viewcvs?rev=356792&view=rev
Comment 5 Glenn Adams 2012-04-01 06:31:21 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed