Examples of cloneNonPositionParameters()


Examples of com.lowagie.text.Rectangle.cloneNonPositionParameters()

     * @return  a <CODE>Rectangle</CODE>
     */

    public Rectangle rectangle(float top, float bottom) {
        Rectangle tmp = new Rectangle(getLeft(), getBottom(), getRight(), getTop());
        tmp.cloneNonPositionParameters(this);
        if (getTop() > top) {
            tmp.setTop(top);
            tmp.setBorder(border - (border & TOP));
        }
        if (getBottom() < bottom) {
View Full Code Here

Examples of com.lowagie.text.Rectangle.cloneNonPositionParameters()

      if (cell.isUseVariableBorders()) {
        Rectangle borderRect = new Rectangle(cell.getLeft() + xPos, cell
            .getTop()
            - maxHeight + yPos, cell.getRight() + xPos, cell.getTop()
            + yPos);
        borderRect.cloneNonPositionParameters(cell);
                borderRect.setBackgroundColor(null);
        lines.rectangle(borderRect);
      } else {
        // the width is set to the width of the element
        if (cell.getBorderWidth() != Rectangle.UNDEFINED) {
View Full Code Here

Examples of com.lowagie.text.pdf.LwgPdfPCell.cloneNonPositionParameters()

    cell.setHorizontalAlignment(horizontalAlignment);
    cell.setColspan(colspan);
    cell.setUseBorderPadding(useBorderPadding);
    cell.setUseDescender(useDescender);
    cell.setLeading(getLeading(), 0);
    cell.cloneNonPositionParameters(this);
    cell.setNoWrap(getMaxLines() == 1);
    for (Iterator i = getElements(); i.hasNext(); ) {
            LwgElement e = (LwgElement)i.next();
            if (e.type() == LwgElement.PHRASE || e.type() == LwgElement.PARAGRAPH) {
                Paragraph p = new Paragraph((LwgPhrase)e);
View Full Code Here

Examples of com.lowagie.text.pdf.LwgPdfPCell.cloneNonPositionParameters()

        LwgPdfPCell cell = new LwgPdfPCell(p);
        cell.setLeading(leading, 0);
        cell.setVerticalAlignment(vAlignment);
        cell.setHorizontalAlignment(hAlignment);
        cell.cloneNonPositionParameters(borders);
        cell.setUseAscender(ascender);
        cell.setUseDescender(descender);
        cell.setUseBorderPadding(true);
        cell.setPadding(padding);
        return cell;
View Full Code Here

Examples of com.lowagie.text.pdf.PdfPCell.cloneNonPositionParameters()

    cell.setHorizontalAlignment(horizontalAlignment);
    cell.setColspan(colspan);
    cell.setUseBorderPadding(useBorderPadding);
    cell.setUseDescender(useDescender);
    cell.setLeading(getLeading(), 0);
    cell.cloneNonPositionParameters(this);
    cell.setNoWrap(getMaxLines() == 1);
    for (Iterator i = getElements(); i.hasNext(); ) {
            Element e = (Element)i.next();
            if (e.type() == Element.PHRASE || e.type() == Element.PARAGRAPH) {
                Paragraph p = new Paragraph((Phrase)e);
View Full Code Here

Examples of com.lowagie.text.pdf.PdfPCell.cloneNonPositionParameters()

    cell.setHorizontalAlignment(horizontalAlignment);
    cell.setColspan(colspan);
    cell.setUseBorderPadding(useBorderPadding);
    cell.setUseDescender(useDescender);
    cell.setLeading(getLeading(), 0);
    cell.cloneNonPositionParameters(this);
    cell.setNoWrap(getMaxLines() == 1);
    for (Iterator i = getElements(); i.hasNext(); ) {
            Element e = (Element)i.next();
            if (e.type() == Element.PHRASE || e.type() == Element.PARAGRAPH) {
                Paragraph p = new Paragraph((Phrase)e);
View Full Code Here

Examples of com.lowagie.text.pdf.PdfPCell.cloneNonPositionParameters()

    cell.setHorizontalAlignment(horizontalAlignment);
    cell.setColspan(colspan);
    cell.setUseBorderPadding(useBorderPadding);
    cell.setUseDescender(useDescender);
    cell.setLeading(getLeading(), 0);
    cell.cloneNonPositionParameters(this);
    cell.setNoWrap(getMaxLines() == 1);
    for (Iterator i = getElements(); i.hasNext(); ) {
            Element e = (Element)i.next();
            if (e.type() == Element.PHRASE || e.type() == Element.PARAGRAPH) {
                Paragraph p = new Paragraph((Phrase)e);
View Full Code Here

Examples of com.lowagie.text.pdf.PdfPCell.cloneNonPositionParameters()

        PdfPCell cell = new PdfPCell(p);
        cell.setLeading(leading, 0);
        cell.setVerticalAlignment(vAlignment);
        cell.setHorizontalAlignment(hAlignment);
        cell.cloneNonPositionParameters(borders);
        cell.setUseAscender(ascender);
        cell.setUseDescender(descender);
        cell.setUseBorderPadding(true);
        cell.setPadding(padding);
        return cell;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.