Bug 25708 - [PATCH] Implementation of AddLMVisitor.serveWrapper
Summary: [PATCH] Implementation of AddLMVisitor.serveWrapper
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-22 18:18 UTC by Simon Pepping
Modified: 2012-04-01 06:27 UTC (History)
0 users



Attachments
The patch as described (804 bytes, patch)
2003-12-22 18:19 UTC, Simon Pepping
Details | Diff
Simple document that tests fo:wrapper (1.13 KB, text/xml)
2003-12-22 18:20 UTC, Simon Pepping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pepping 2003-12-22 18:18:38 UTC
The patch simply makes fo:wrapper add LMs for all its children when
its parent requests it to add its own LM. Disadvantage: the pattern of
incremental addition of childLMs is broken; the childLMs for all
children of fo:wrapper are added at once.

In a patch that would enable fo:wrapper to return its childLMs one by
one, the parent's childLMiter.preLoadNext() would have to ask a child
for a childLM more than once; therefore it would have to ask the
current child first (baseIter.previous()) if it wants to contribute
more LMs, before moving on to the next child.
Comment 1 Simon Pepping 2003-12-22 18:19:03 UTC
Created attachment 9669 [details]
The patch as described
Comment 2 Simon Pepping 2003-12-22 18:20:20 UTC
Created attachment 9671 [details]
Simple document that tests fo:wrapper
Comment 3 Glen Mazza 2003-12-26 22:50:18 UTC
Applied--thanks, Simon!  It's good to see fo:wrapper now functional in 1.0.
Comment 4 Glenn Adams 2012-04-01 06:27:55 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed