@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setBottom((CTBorder)this.getObject() ); }
@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setRight((CTBorder)this.getObject() ); }
@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setTop((CTBorder)this.getObject() ); }
@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setLeft((CTBorder)this.getObject() ); }
public static PBdr apply(PBdr source, PBdr destination) { if (!isEmpty(source)) { if (destination == null) destination = Context.getWmlObjectFactory().createPPrBasePBdr(); destination.setTop(apply(source.getTop(), destination.getTop())); destination.setLeft(apply(source.getLeft(), destination.getLeft())); destination.setBottom(apply(source.getBottom(), destination.getBottom())); destination.setRight(apply(source.getRight(), destination.getRight())); destination.setBetween(apply(source.getBetween(), destination.getBetween())); destination.setBar(apply(source.getBar(), destination.getBar())); } return destination; }
public PPrBase.PBdr ensurePBdr(PPrBase pPrBase) { if (pPrBase.getPBdr() == null) { PPrBase.PBdr pBdr = myFactory.createPPrBasePBdr(); pPrBase.setPBdr(pBdr); } return pPrBase.getPBdr(); }
public PPrBase.PBdr getCopy(PPrBase.PBdr copy, boolean whenNull) { if (copy != null) { PPrBase.PBdr result = myFactory.createPPrBasePBdr(); result.setTop(getCopy(copy.getTop(), whenNull)); result.setLeft(getCopy(copy.getLeft(), whenNull)); result.setBottom(getCopy(copy.getBottom(), whenNull)); result.setRight(getCopy(copy.getRight(), whenNull)); result.setBetween(getCopy(copy.getBetween(), whenNull)); result.setBar(getCopy(copy.getBar(), whenNull)); return result; } if (whenNull) { PPrBase.PBdr result = myFactory.createPPrBasePBdr(); result.setTop(getCopy((CTBorder) null, whenNull)); result.setLeft(getCopy((CTBorder) null, whenNull)); result.setBottom(getCopy((CTBorder) null, whenNull)); result.setRight(getCopy((CTBorder) null, whenNull)); result.setBetween(getCopy((CTBorder) null, whenNull)); result.setBar(getCopy((CTBorder) null, whenNull)); return result; } return null; }
private PBdr createPBdr(PPr pPr) { pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } return pBdr; }
@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setLeft((CTBorder)this.getObject() ); }
@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setRight((CTBorder)this.getObject() ); }
@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setTop((CTBorder)this.getObject() ); }
@Override public void set(PPr pPr) { PBdr pBdr = pPr.getPBdr(); if (pBdr == null) { pBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); pPr.setPBdr(pBdr); } pBdr.setBottom((CTBorder)this.getObject() ); }
public static PBdr apply(PBdr source, PBdr destination) { if (!isEmpty(source)) { if (destination == null) destination = Context.getWmlObjectFactory().createPPrBasePBdr(); destination.setTop(apply(source.getTop(), destination.getTop())); destination.setLeft(apply(source.getLeft(), destination.getLeft())); destination.setBottom(apply(source.getBottom(), destination.getBottom())); destination.setRight(apply(source.getRight(), destination.getRight())); destination.setBetween(apply(source.getBetween(), destination.getBetween())); destination.setBar(apply(source.getBar(), destination.getBar())); } return destination; }
if (stylePPrBdr==null) { stylePPrBdr = Context.getWmlObjectFactory().createPPrBasePBdr(); CTBorder borderNone = Context.getWmlObjectFactory().createCTBorder(); borderNone.setVal(STBorder.NONE);