/** * Method added by Pelikan Stephan */ public void clearTextWrap() { float tmpHeight = imageEnd - currentHeight; if (line != null) { tmpHeight += line.height(); } if (imageEnd > -1 && tmpHeight > 0) { carriageReturn(); currentHeight += tmpHeight; } }
/** * Method added by Pelikan Stephan */ public void clearTextWrap() { float tmpHeight = imageEnd - currentHeight; if (line != null) { tmpHeight += line.height(); } if (imageEnd > -1 && tmpHeight > 0) { carriageReturn(); currentHeight += tmpHeight; } }
/** * Adds the current line to the list of lines and also adds an empty line. * @throws DocumentException on error */ protected void newLine() throws DocumentException { lastElementType = -1; carriageReturn(); if (lines != null && !lines.isEmpty()) { lines.add(line); currentHeight += line.height(); } line = new PdfLine(indentLeft(), indentRight(), alignment, leading); }
/** * Adds the current line to the list of lines and also adds an empty line. * @throws DocumentException on error */ protected void newLine() throws DocumentException { lastElementType = -1; carriageReturn(); if (lines != null && !lines.isEmpty()) { lines.add(line); currentHeight += line.height(); } line = new PdfLine(indentLeft(), indentRight(), alignment, leading); }
carriageReturn(); if (f.isUnderlined() || f.isStrikethru()) { f = new Font(f); carriageReturn();
carriageReturn(); if (f.isUnderlined() || f.isStrikethru()) { f = new Font(f); carriageReturn();
carriageReturn(); carriageReturn(); boolean newlineSplit = chunk.isNewlineSplit(); chunk = overflow; carriageReturn(); leading = paragraph.getTotalLeading(); pushLeading(); carriageReturn(); carriageReturn(); carriageReturn(); PdfPTable table = new PdfPTable(1); table.setKeepTogether(paragraph.getKeepTogether()); float oldHeight = currentHeight; element.process(this); carriageReturn(); if (oldHeight != currentHeight || lines.size() > 0) { addSpacing(paragraph.getSpacingAfter(), paragraph.getTotalLeading(), paragraph.getFont(), true); carriageReturn(); tabSettings = backupTabSettings; popLeading(); carriageReturn();
carriageReturn(); carriageReturn(); boolean newlineSplit = chunk.isNewlineSplit(); chunk = overflow; carriageReturn(); leading = paragraph.getTotalLeading(); pushLeading(); carriageReturn(); carriageReturn(); carriageReturn(); PdfPTable table = new PdfPTable(1); table.setKeepTogether(paragraph.getKeepTogether()); float oldHeight = currentHeight; element.process(this); carriageReturn(); if (oldHeight != currentHeight || lines.size() > 0) { addSpacing(paragraph.getSpacingAfter(), paragraph.getTotalLeading(), paragraph.getFont(), true); carriageReturn(); tabSettings = backupTabSettings; popLeading(); carriageReturn();