ipd -= (borderStart.getRetainedWidth() + borderEnd.getRetainedWidth()) / 2;
int bpd = actualRowHeight;
bpd -= (borderBefore.getRetainedWidth() + borderAfter.getRetainedWidth()) / 2;
//generate the block area
Block block = new Block();
block.setPositioning(Block.ABSOLUTE);
block.addTrait(Trait.IS_REFERENCE_AREA, Boolean.TRUE);
block.setIPD(ipd);
block.setBPD(bpd);
block.setXOffset(tclm.getXOffsetOfGridUnit(colIndex, 1)
+ (borderStart.getRetainedWidth() / 2));
block.setYOffset(getRowOffset(rowIndex)
- (borderBefore.getRetainedWidth() / 2));
boolean[] outer = new boolean[] {firstOnPage, lastOnPage, inFirstColumn,
inLastColumn};
TraitSetter.addCollapsingBorders(block,
borderBefore,