/** * Specifies the indentation which shall be placed between the right text * margin for this paragraph and the right edge of that paragraph's content * in a left to right paragraph, and the right text margin and the right * edge of that paragraph's text in a right to left paragraph * <p> * If this attribute is omitted, its value shall be assumed to be zero. * Negative values are defined such that the text is moved past the text margin, * positive values move the text inside the text margin. * </p> * * @param indentation */ public void setIndentationRight(int indentation) { CTInd indent = getCTInd(true); BigInteger bi = new BigInteger(Integer.toString(indentation)); indent.setRight(bi); }
cellInd.setRight(tmpInd.getRight());
/** * Specifies the indentation which shall be placed between the right text * margin for this paragraph and the right edge of that paragraph's content * in a left to right paragraph, and the right text margin and the right * edge of that paragraph's text in a right to left paragraph * <p> * If this attribute is omitted, its value shall be assumed to be zero. * Negative values are defined such that the text is moved past the text margin, * positive values move the text inside the text margin. * </p> * * @param indentation */ public void setIndentationRight(int indentation) { CTInd indent = getCTInd(true); BigInteger bi = new BigInteger(Integer.toString(indentation)); indent.setRight(bi); }
/** * Specifies the indentation which shall be placed between the right text * margin for this paragraph and the right edge of that paragraph's content * in a left to right paragraph, and the right text margin and the right * edge of that paragraph's text in a right to left paragraph * <p/> * If this attribute is omitted, its value shall be assumed to be zero. * Negative values are defined such that the text is moved past the text margin, * positive values move the text inside the text margin. * </p> * * @param indentation */ public void setIndentationRight(int indentation) { CTInd indent = getCTInd(true); BigInteger bi = new BigInteger("" + indentation); indent.setRight(bi); }