public AbstractBaseLayoutManager(FObj fo) {
this.fobj = fo;
setGeneratesReferenceArea(fo.generatesReferenceAreas());
- if (getGeneratesReferenceArea()) {
- setGeneratesBlockArea(true);
- }
}
// --------- Property Resolution related functions --------- //
*/
public BlockContainerLayoutManager(BlockContainer node) {
super(node);
+ setGeneratesBlockArea(true);
}
/** {@inheritDoc} */
*/
public FlowLayoutManager(PageSequenceLayoutManager pslm, Flow node) {
super(node);
+ setGeneratesBlockArea(true);
setParent(pslm);
}
public InlineContainerLayoutManager(InlineContainer node) {
super(node);
+ setGeneratesReferenceArea(true);
}
@Override
}
}
- @Override
- public boolean getGeneratesReferenceArea() {
- return true;
- }
-
@Override
public void addAreas(PositionIterator posIter, LayoutContext context) {
Position inlineContainerPosition = null;
*/
public TableCellLayoutManager(TableCell node, PrimaryGridUnit pgu) {
super(node);
+ setGeneratesBlockArea(true);
this.primaryGridUnit = pgu;
this.isDescendantOfTableHeader = node.getParent().getParent() instanceof TableHeader
|| node.getParent() instanceof TableHeader;