302303304305306307308309310311312
* @param margin the left margin */ public void setLeftInset(double margin){ CTTextBodyProperties bodyPr = getTextBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetLIns(); else bodyPr.setLIns(Units.toEMU(margin)); } } /**
712713714715716717718719720721722
* @param margin the left margin */ public void setLeftInset(double margin){ CTTextBodyProperties bodyPr = ctShape.getTxBody().getBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetLIns(); else bodyPr.setLIns(Units.toEMU(margin)); } } /**
300301302303304305306307308309310
301302303304305306307308309310311
303304305306307308309310311312313
257258259260261262263264265266267
* @param margin the left margin */ public void setMarginLeft(double margin){ CTTextBodyProperties bodyPr = getTextBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetLIns(); else bodyPr.setLIns(Units.toEMU(margin)); } } /**