}
else if ((nodeType & LayoutNodeTypes.MASK_BOX) == LayoutNodeTypes.MASK_BOX)
{
if (nodeType == LayoutNodeTypes.TYPE_BOX_TABLE)
{
final TableRenderBox box = (TableRenderBox) node;
if (startTableBox(box))
{
processBoxChilds(box);
}
finishTableBox(box);
}
else if (nodeType == LayoutNodeTypes.TYPE_BOX_TABLE_COL_GROUP)
{
final TableColumnGroupNode box = (TableColumnGroupNode) node;
if (startTableColumnGroupBox(box))
{
processBoxChilds(box);
}
finishTableColumnGroupBox(box);
}
else if (nodeType == LayoutNodeTypes.TYPE_BOX_TABLE_SECTION)
{
final TableSectionRenderBox box = (TableSectionRenderBox) node;
if (startTableSectionBox(box))
{
processBoxChilds(box);
}
finishTableSectionBox(box);
}
else if (nodeType == LayoutNodeTypes.TYPE_BOX_TABLE_ROW)
{
final TableRowRenderBox box = (TableRowRenderBox) node;
if (startTableRowBox(box))
{
processBoxChilds(box);
}
finishTableRowBox(box);
}
else if (nodeType == LayoutNodeTypes.TYPE_BOX_TABLE_CELL)
{
final TableCellRenderBox box = (TableCellRenderBox) node;
if (startTableCellBox(box))
{
processBoxChilds(box);
}
finishTableCellBox(box);
}
else if ((nodeType & LayoutNodeTypes.MASK_BOX_BLOCK) == LayoutNodeTypes.MASK_BOX_BLOCK)
{
if (nodeType == LayoutNodeTypes.TYPE_BOX_PARAGRAPH)
{
final ParagraphRenderBox box = (ParagraphRenderBox) node;
if (startBlockBox(box))
{
processParagraphChilds(box);
}
finishBlockBox(box);
}
else if (nodeType == LayoutNodeTypes.TYPE_BOX_LOGICALPAGE)
{
final LogicalPageBox box = (LogicalPageBox) node;
if (startBlockBox(box))
{
startProcessing(box.getWatermarkArea());
startProcessing(box.getHeaderArea());
processBoxChilds(box);
startProcessing(box.getRepeatFooterArea());
startProcessing(box.getFooterArea());
}
finishBlockBox(box);
}
else
{