IRtfTextrunContainer container
= (IRtfTextrunContainer)builderContext.getContainer(
IRtfTextrunContainer.class,
true, this);
RtfTextrun textrun = container.getTextrun();
RtfParagraphBreak par = textrun.addParagraphBreak();
RtfTableCell cellParent = (RtfTableCell)textrun.getParentOfClass(RtfTableCell.class);
if (cellParent != null && par != null) {
int iDepth = cellParent.findChildren(textrun);
cellParent.setLastParagraph(par, iDepth);
}
int breakValue = toRtfBreakValue(bl.getBreakAfter());
textrun.popBlockAttributes(breakValue);
} catch (IOException ioe) {
handleIOTrouble(ioe);
} catch (Exception e) {
log.error("startBlock:" + e.getMessage());