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; }
/** * Create an instance of {@link CTTblCellMar } * */ public CTTblCellMar createCTTblCellMar() { return new CTTblCellMar(); }
/** * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. * * @param parent * The parent object in the object tree. * @param unmarshaller * The unmarshaller that generated the instance. */ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { setParent(parent); }
public static boolean areEqual(CTTblCellMar margin1, CTTblCellMar margin2) { return (margin1 == margin2) || ((margin1 != null) && (margin2 != null) && areEqual(margin1.getBottom(), margin2.getBottom()) && areEqual(margin1.getLeft(), margin2.getLeft()) && areEqual(margin1.getRight(), margin2.getRight()) && areEqual(margin1.getTop(), margin2.getTop()) ); }
tblcellmar.setLeft(tblwidth3); tblwidth3.setType("dxa"); tblwidth3.setW(BigInteger.valueOf(cellMargin)); tblcellmar.setRight(tblwidth4); tblwidth4.setType("dxa"); tblwidth4.setW(BigInteger.valueOf(cellMargin)); tblcellmar.setTop(tblwidth5); tblwidth5.setType("dxa"); tblwidth5.setW(BigInteger.valueOf(cellMargin)); tblcellmar.setBottom(tblwidth6); tblwidth6.setType("dxa"); tblwidth6.setW(BigInteger.valueOf(cellMargin));
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setRight((TblWidth)getObject()); }
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setTop((TblWidth)getObject()); }
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setBottom((TblWidth)getObject()); }
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setLeft((TblWidth)getObject()); }
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setRight((TblWidth)getObject()); }
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setTop((TblWidth)getObject()); }
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setBottom((TblWidth)getObject()); }
@Override public void set(TblPr tblPr) { ensureMargin(tblPr); tblPr.getTblCellMar().setLeft((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; }
if (tblCellMargin.getTop() != null) properties.add(new CellMarginTop(tblCellMargin.getTop())); if (tblCellMargin.getBottom() != null) properties.add(new CellMarginBottom(tblCellMargin.getBottom())); if (tblCellMargin.getLeft() != null) properties.add(new CellMarginLeft(tblCellMargin.getLeft())); if (tblCellMargin.getRight() != null) properties.add(new CellMarginRight(tblCellMargin.getRight()));
/** * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. * * @param parent * The parent object in the object tree. * @param unmarshaller * The unmarshaller that generated the instance. */ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { setParent(parent); }
/** * Create an instance of {@link CTTblCellMar } * */ public CTTblCellMar createCTTblCellMar() { return new CTTblCellMar(); }
public static boolean areEqual(CTTblCellMar margin1, CTTblCellMar margin2) { return (margin1 == margin2) || ((margin1 != null) && (margin2 != null) && areEqual(margin1.getBottom(), margin2.getBottom()) && areEqual(margin1.getLeft(), margin2.getLeft()) && areEqual(margin1.getRight(), margin2.getRight()) && areEqual(margin1.getTop(), margin2.getTop()) ); }