//nop
}
+ /**
+ * Used for debugging purposes. Notifies all registered observers about the element list.
+ * Override to set different parameters.
+ * @param elementList the Knuth element list
+ */
+ protected void observeElementList(List elementList) {
+ ElementListObserver.observe(elementList, "breaker", null);
+ }
+
public void doLayout(int flowBPD) {
LayoutContext childLC = createLayoutContext();
childLC.setStackLimit(new MinOptMax(flowBPD));
: "even page";
log.debug(" sequence starts on " + pagina);
}
- ElementListObserver.observe(blockList, "breaker", null);
+ observeElementList(blockList);
//debug code end
log.debug("PLM> start of algorithm (" + this.getClass().getName()
package org.apache.fop.layoutmgr;
import java.util.LinkedList;
+import java.util.List;
import java.util.ListIterator;
import java.awt.Point;
import java.awt.geom.Rectangle2D;
this.ipd = ipd;
}
+ /** @see org.apache.fop.layoutmgr.AbstractBreaker#observeElementList(java.util.List) */
+ protected void observeElementList(List elementList) {
+ ElementListObserver.observe(elementList, "block-container",
+ bclm.getBlockContainerFO().getId());
+ }
+
/** @see org.apache.fop.layoutmgr.AbstractBreaker#isPartOverflowRecoveryActivated() */
protected boolean isPartOverflowRecoveryActivated() {
//For block-containers, this must be disabled because of wanted overflow.