null, false));
}
lastPar.endParagraph();
+ ElementListObserver.observe(lastPar, "line", null);
lastPar = null;
if (log.isTraceEnabled()) {
trace.append(" ]");
}
if (lastPar != null) {
lastPar.endParagraph();
+ ElementListObserver.observe(lastPar, "line", null);
if (log.isTraceEnabled()) {
trace.append(" ]");
}
}
log.trace(trace);
- // TODO Do we need more of these lines?
- ElementListObserver.observe(lastPar, "line", null);
}
/**
* @return the line layout possibilities for the paragraph
*/
private LineLayoutPossibilities createBlockLineBreak(KnuthSequence seq) {
+ //TODO Should this really create only a single LineBreakPosition???
+ //This creates an implicit keep-together on the nested block-level FOs.
lineLayouts = new LineLayoutPossibilities();
lineLayouts.addPossibility(1,0);
int lineHeight = 0, lineStretch = 0, lineShrink = 0;