/** * Sets the bottom margin. * * @see #getBottomInset() * @param margin the bottom margin */ public void setBottomInset(double margin) { CTTextBodyProperties bodyPr = getTextBodyPr(); if (bodyPr != null) { if (margin == -1) bodyPr.unsetBIns(); else bodyPr.setBIns(Units.toEMU(margin)); } }