316317318319320321322323324325326
* @param margin the right margin */ public void setRightInset(double margin){ CTTextBodyProperties bodyPr = getTextBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetRIns(); else bodyPr.setRIns(Units.toEMU(margin)); } } /**
726727728729730731732733734735736
* @param margin the right margin */ public void setRightInset(double margin){ CTTextBodyProperties bodyPr = ctShape.getTxBody().getBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetRIns(); else bodyPr.setRIns(Units.toEMU(margin)); } } /**
314315316317318319320321322323324
315316317318319320321322323324325
317318319320321322323324325326327
271272273274275276277278279280281
* @param margin the right margin */ public void setMarginRight(double margin){ CTTextBodyProperties bodyPr = getTextBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetRIns(); else bodyPr.setRIns(Units.toEMU(margin)); } } /**