for (Chunk c : el.getChunks()) { paraWidth += c.getWidthPoint(); }
/** * Sets the indentation of this paragraph on the left side. * * @param indentation the new indentation * @param autoindent if set to true, indentation is done automagically, the given indentation float is disregarded. */ public void setIndentationLeft(final float indentation, final boolean autoindent) { if (autoindent) { setIndentationLeft(getListSymbol().getWidthPoint()); } else { setIndentationLeft(indentation); } }
/** * Sets the indentation of this paragraph on the left side. * * @param indentation the new indentation * @param autoindent if set to true, indentation is done automagically, the given indentation float is disregarded. */ public void setIndentationLeft(final float indentation, final boolean autoindent) { if (autoindent) { setIndentationLeft(getListSymbol().getWidthPoint()); } else { setIndentationLeft(indentation); } }
this.setMaxWidth((int) ((currentMax) * chunk.getWidthPoint())); for(Paragraph p : paraList){ p.setSpacingBefore(-3);