if (tcPr.getTcMar() != null) {
TcMar tcMar = tcPr.getTcMar();
if (tcMar.getTop() != null)
properties.add(new CellMarginTop(tcMar.getTop()));
if (tcMar.getBottom() != null)
properties.add(new CellMarginBottom(tcMar.getBottom()));
if (tcMar.getLeft() != null)
properties.add(new CellMarginLeft(tcMar.getLeft()));
if (tcMar.getRight() != null)
properties.add(new CellMarginRight(tcMar.getRight()));
}