Examples of LineSeparator


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

   *            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

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

Date now = new Date();
System.out.println("date--> " + now);
DateFormat df = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss a");
String s1 = df.format(now);
         
Chunk CONNECT = new Chunk(new LineSeparator(5.5f, 95, Color.BLUE, Element.ALIGN_CENTER, 3.5f));
  //  LineSeparator UNDERLINE =new LineSeparator(1, 100, null, Element.ALIGN_CENTER, -2);

//public HeaderFooter getMyHeader(String titulo) throws ServletException { 
//    Phrase p= new Phrase(); 
//    Chunk chunkTemp = new Chunk("My Company Name\n", FontFactory.getFont(FontFactory.TIMES_ROMAN, 10, Font.NORMAL); 
View Full Code Here

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

          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

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

            return;
        }

        if (ElementTags.HORIZONTALRULE.equals(name)) {
            TextElementArray current;
            LineSeparator hr = new LineSeparator(1.0f, 100.0f, null, LwgElement.ALIGN_CENTER, 0);
            try {
                current = (TextElementArray) stack.pop();
                current.add(hr);
                stack.push(current);
            } catch (EmptyStackException ese) {
View Full Code Here

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

       
    }

    @Override
    public Element render() {
        Chunk c = new Chunk(new LineSeparator());
        Font f = new Font();
        f.setSize(2);
        c.setFont(f);
        return c;
    }
View Full Code Here

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

          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

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

            return;
        }

        if (ElementTags.HORIZONTALRULE.equals(name)) {
            TextElementArray current;
            LineSeparator hr = new LineSeparator(1.0f, 100.0f, null, Element.ALIGN_CENTER, 0);
            try {
                current = (TextElementArray) stack.pop();
                current.add(hr);
                stack.push(current);
            } catch (EmptyStackException ese) {
View Full Code Here

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

          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

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

            return;
        }

        if (ElementTags.HORIZONTALRULE.equals(name)) {
            TextElementArray current;
            LineSeparator hr = new LineSeparator(1.0f, 100.0f, null, Element.ALIGN_CENTER, 0);
            try {
                current = (TextElementArray) stack.pop();
                current.add(hr);
                stack.push(current);
            } catch (EmptyStackException ese) {
View Full Code Here

Examples of ee.ttu.cs.iti0011.iabb104231.k1.Renderer.Console.LineSeparator

  }
 
  public void render()
  {
    Board b = getBoard();
    LineSeparator l = new LineSeparator();
    Row r = new Row();
   
    l.render();
    r.render(cell(b.occupiedBy(1)), cell(b.occupiedBy(2)), cell(b.occupiedBy(3)));
    l.render();
    r.render(cell(b.occupiedBy(4)), cell(b.occupiedBy(5)), cell(b.occupiedBy(6)));
    l.render();
    r.render(cell(b.occupiedBy(7)), cell(b.occupiedBy(8)), cell(b.occupiedBy(9)));
    l.render();
  }
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.