Wow, this is the big one (from my perspective any way). See http://marc.theaimsgroup.com/?t=112437927400002&r=1&w=2 for some background info. This patch affects a lot of classes (most in a minor way) especially in the LM section. It passes all layout engine tests and I have compared the area trees with the current trunk code. I therefore sincerely hope it is not a step backwards. There are also some steps forward. Percentages on leader-length and leader-pattrern-width should work. background-position-x/y percentages should also work in a generic way. Percentages relative to cell dimensions should be ok. There is more work to be done in this area. This is not the final word on percentages. But because of its size I would like to get this reviewed and if accepted put into SVN so my code base doesn't branch too badly from the main stream. BTW, I haven't got rid completely of the LayoutDimension stuff. It is still used for tables columns with proportional-column-width() specs. This still needs to be looked at.
Created attachment 16213 [details] The main patch
Created attachment 16214 [details] One new class to go into org.apache.fop.layoutmgr
Created attachment 16215 [details] Another new class for org.apache.fop.datatypes
Created attachment 16216 [details] A few additional testcases
Created attachment 16248 [details] Revised patch Revised, extended and better tested patch
Created attachment 16249 [details] New class to go into org.apache.fop.layoutmgr
Created attachment 16250 [details] New class for org.apache.fop.datatypes
Created attachment 16251 [details] Another new class for org.apache.fop.datatypes
Created attachment 16252 [details] Testcases
Applied as revision 265577. I changed the handling of line-height and font-size and "em" unit to avoid the calculation of FixedLengths and changed the LM.initialize() so it is called once from the parent LM just before getNextKnuthElements are about to be called. The change to PDFRendere was not included in the commit. Discussion of the patch here: http://marc.theaimsgroup.com/?t=112506553400001&r=1&w=2
Finn, Thank you!
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed