import java.util.ArrayList;
import java.util.List;
+import java.util.LinkedList;
import org.apache.fop.area.Area;
import org.apache.fop.fo.flow.Marker;
return replaceLM.getNextBreakPoss(context);
}
+ public LinkedList getNextKnuthElements(LayoutContext context,
+ int alignment) {
+ loadLM();
+ if (replaceLM == null) {
+ return null;
+ }
+ return replaceLM.getNextKnuthElements(context, alignment);
+ }
+
public void addAreas(PositionIterator parentIter,
LayoutContext layoutContext) {
List list = new ArrayList();
Marker marker = retrieveMarker(name, position, boundary);
if (marker != null) {
- marker.addLayoutManager(markerLMList);
+ marker.addLayoutManager(list);
if (list.size() > 0) {
replaceLM = (LayoutManager)list.get(0);
replaceLM.setParent(this);