// create an RtfTable in the current table container
TableContext tableContext = new TableContext(builderContext);
try {
final IRtfTableContainer tc
= (IRtfTableContainer)builderContext.getContainer(
IRtfTableContainer.class, true, null);
RtfAttributes atts
= TableAttributesConverter.convertTableAttributes(tbl);
RtfTable table = tc.newTable(atts, tableContext);
CommonBorderPaddingBackground border = tbl.getCommonBorderPaddingBackground();
RtfAttributes borderAttributes = new RtfAttributes();
BorderAttributesConverter.makeBorder(border, CommonBorderPaddingBackground.BEFORE,