330331332333334335336337338339340
* @param margin the top margin */ public void setTopInset(double margin){ CTTextBodyProperties bodyPr = getTextBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetTIns(); else bodyPr.setTIns(Units.toEMU(margin)); } }
740741742743744745746747748749750
* @param margin the top margin */ public void setTopInset(double margin){ CTTextBodyProperties bodyPr = ctShape.getTxBody().getBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetTIns(); else bodyPr.setTIns(Units.toEMU(margin)); } }
328329330331332333334335336337338
329330331332333334335336337338339
331332333334335336337338339340341
285286287288289290291292293294295
* @param margin the top margin */ public void setMarginTop(double margin){ CTTextBodyProperties bodyPr = getTextBodyPr(); if (bodyPr != null) { if(margin == -1) bodyPr.unsetTIns(); else bodyPr.setTIns(Units.toEMU(margin)); } }