Package com.itextpdf.text.pdf.draw

Examples of com.itextpdf.text.pdf.draw.LineSeparator


    }
    // line color
    BaseColor lineColor = null;
    // alignment
    int align = HtmlUtilities.alignmentValue(attrs.get(HtmlTags.ALIGN));
    return new LineSeparator(lineWidth, percentage, lineColor, align, offset);
  }
View Full Code Here


    }
    // line color
    BaseColor lineColor = null;
    // alignment
    int align = HtmlUtilities.alignmentValue(attrs.get(HtmlTags.ALIGN));
    return new LineSeparator(lineWidth, percentage, lineColor, align, offset);
  }
View Full Code Here

      Paragraph header2 = new Paragraph();
      header2.setAlignment(Element.ALIGN_LEFT);
     
      header2.add(new Paragraph("Computerservice � Matthias M�ller � Rheingoldstr. 38a � 56329 St. Goar", headerAdressFont));
     
      header2.add(new LineSeparator((float) 0.8, 100, BaseColor.BLACK, Element.ALIGN_CENTER, 12));
     
      Paragraph adresse = new Paragraph();
      //adresse.add(new Paragraph(" ", new Font(Font.FontFamily.TIMES_ROMAN, 8)));
      float[] relSize = {3, 2};
      PdfPTable table = new PdfPTable(relSize);
View Full Code Here

          if (tmpSize > 0)
            hrSize = tmpSize;
        }
        if (addLeadingBreak)
          currentParagraph.add(Chunk.NEWLINE);
        currentParagraph.add(new LineSeparator(hrSize, hrWidth, null, hrAlign, currentParagraph.getLeading()/2));
        currentParagraph.add(Chunk.NEWLINE);
        return;
      }
      if (tag.equals(HtmlTags.CHUNK) || tag.equals(HtmlTags.SPAN)) {
        cprops.addToChain(tag, h);
View Full Code Here

    }
    // line color
    BaseColor lineColor = null;
    // alignment
    int align = HtmlUtilities.alignmentValue(attrs.get(HtmlTags.ALIGN));
    return new LineSeparator(lineWidth, percentage, lineColor, align, offset);
  }
View Full Code Here

  private void addTitle(final Document document) throws DocumentException {
    progress.setValue(10);
    final Paragraph from = new Paragraph(Config.getFrom(),getDefaultFont());
    from.setAlignment(Paragraph.ALIGN_CENTER);
    from.add(new Chunk("\n"));
      from.add(new Chunk(new LineSeparator(1f, 100f, BaseColor.BLACK, Element.ALIGN_CENTER, 0)));
      from.add(new Chunk("\n\n"));
      document.add(from);
     
      final PdfPTable table = new PdfPTable(2);
      final Paragraph invoice = new Paragraph("Invoice No", getDefaultBoldFont());
View Full Code Here

      table.addCell(note);
      table.addCell(noteValue);
     
      table.setHorizontalAlignment(Element.ALIGN_LEFT);
      document.add(new Paragraph("\n"));
      document.add(new LineSeparator(1f, 100f, BaseColor.BLACK, Element.ALIGN_CENTER, 0));
    document.add(table);
    document.add(new Paragraph("\n", getDefaultFont()));
  }
View Full Code Here

    // 编号深度
    cDomainChapter.setNumberDepth(0);
    // 必须添加一个Section。Chapter不会产生目录!!(会产生目录,只有一章的时候阅读器默认隐藏了而已!)
    // Section section = cDomainChapter.addSection(pDomainTitle);
    // 分割线
    LineSeparator line = new LineSeparator(2f, 100, BaseColor.BLACK,
        Element.ALIGN_CENTER, -5f);
    pDomainTitle.add(line);

    List<Biz> bizs = domain.getBizs();
View Full Code Here

    }
    // line color
    BaseColor lineColor = null;
    // alignment
    int align = HtmlUtilities.alignmentValue(attrs.get(HtmlTags.ALIGN));
    return new LineSeparator(lineWidth, percentage, lineColor, align, offset);
  }
View Full Code Here

   *            Das aktuelle Archivale, dessen Details zum PDF-Dokument
   *            hinzugefügt werden soll.
   */
  private void addContentFrom(Archivale aktuellesArchivale)
      throws DocumentException {
    LineSeparator UNDERLINE = new LineSeparator(1, 100, null,
        Element.ALIGN_CENTER, -2);

    // beim ersten Archivdatensatz einen Absatz hinzufügen,
    // da sonst Leerzeilen nicht eingefügt werden
    if (archivalien.indexOf(aktuellesArchivale) == 0) {
View Full Code Here

TOP

Related Classes of com.itextpdf.text.pdf.draw.LineSeparator

Copyright © 2018 www.massapicom. 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.