/** * Specifies the indentation which shall be removed from the first line of * the parent paragraph, by moving the indentation on the first line back * towards the beginning of the direction of text flow. * This indentation is specified relative to the paragraph indentation which is specified for * all other lines in the parent paragraph. * <p> * The firstLine and hanging attributes are mutually exclusive, if both are specified, then the * firstLine value is ignored. * </p> * * @param indentation */ public void setIndentationHanging(int indentation) { CTInd indent = getCTInd(true); BigInteger bi = new BigInteger(Integer.toString(indentation)); indent.setHanging(bi); }
cellInd.setHanging(tmpInd.getHanging());
/** * Specifies the indentation which shall be removed from the first line of * the parent paragraph, by moving the indentation on the first line back * towards the beginning of the direction of text flow. * This indentation is specified relative to the paragraph indentation which is specified for * all other lines in the parent paragraph. * <p> * The firstLine and hanging attributes are mutually exclusive, if both are specified, then the * firstLine value is ignored. * </p> * * @param indentation */ public void setIndentationHanging(int indentation) { CTInd indent = getCTInd(true); BigInteger bi = new BigInteger(Integer.toString(indentation)); indent.setHanging(bi); }
/** * Specifies the indentation which shall be removed from the first line of * the parent paragraph, by moving the indentation on the first line back * towards the beginning of the direction of text flow. * This indentation is specified relative to the paragraph indentation which is specified for * all other lines in the parent paragraph. * <p/> * The firstLine and hanging attributes are mutually exclusive, if both are specified, then the * firstLine value is ignored. * </p> * * @param indentation */ public void setIndentationHanging(int indentation) { CTInd indent = getCTInd(true); BigInteger bi = new BigInteger("" + indentation); indent.setHanging(bi); }