@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setRight((TblWidth)getObject()); }
public static CTTblCellMar apply(CTTblCellMar source, CTTblCellMar destination) { if (!isEmpty(source)) { if (destination == null) destination = Context.getWmlObjectFactory().createCTTblCellMar(); destination.setBottom(apply(source.getBottom(), destination.getBottom())); destination.setLeft(apply(source.getLeft(), destination.getLeft())); destination.setRight(apply(source.getRight(), destination.getRight())); destination.setTop(apply(source.getTop(), destination.getTop())); } return destination; }
tblcellmar.setRight(tblwidth4); tblwidth4.setType("dxa"); tblwidth4.setW(BigInteger.valueOf(cellMargin));
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setRight((TblWidth)getObject()); }
public static CTTblCellMar apply(CTTblCellMar source, CTTblCellMar destination) { if (!isEmpty(source)) { if (destination == null) destination = Context.getWmlObjectFactory().createCTTblCellMar(); destination.setBottom(apply(source.getBottom(), destination.getBottom())); destination.setLeft(apply(source.getLeft(), destination.getLeft())); destination.setRight(apply(source.getRight(), destination.getRight())); destination.setTop(apply(source.getTop(), destination.getTop())); } return destination; }