Package net.sf.jasperreports.engine

Examples of net.sf.jasperreports.engine.JRPrintPage.addElement()


                        posY = convert(10);
                    }
                }
                posY += 5;
               
                page.addElement(insertFooter("Total de Aulas: " + (numberOfMisses + numberOfPresences), posY));
                posY += 15;
               
                page.addElement(insertFooter("Total de Presen�as: " + numberOfPresences, posY));
                posY += 15;
               
View Full Code Here


                posY += 5;
               
                page.addElement(insertFooter("Total de Aulas: " + (numberOfMisses + numberOfPresences), posY));
                posY += 15;
               
                page.addElement(insertFooter("Total de Presen�as: " + numberOfPresences, posY));
                posY += 15;
               
                page.addElement(insertFooter("Total de Faltas: " + numberOfMisses, posY));
                posY += 15;
               
View Full Code Here

                posY += 15;
               
                page.addElement(insertFooter("Total de Presen�as: " + numberOfPresences, posY));
                posY += 15;
               
                page.addElement(insertFooter("Total de Faltas: " + numberOfMisses, posY));
                posY += 15;
               
           jasperPrint.addPage(page);
        } catch (Exception e) {
            e.printStackTrace();
View Full Code Here

    JRPrintPage page = new JRBasePrintPage();
    posY = convert(10);
    posX = convert(10);;

    page.addElement(printImage("titleReport.gif", posX, posY, 535, 45));
    page.addElement(printImage("logoReport.gif", posX+11, posY, 65, 45));
    page.addElement(insertTitle("CERTIFICADOS PENDENTES", posX+270, posY+8, 250));

    posY += 35;
    int total = 0;
View Full Code Here

    JRPrintPage page = new JRBasePrintPage();
    posY = convert(10);
    posX = convert(10);;

    page.addElement(printImage("titleReport.gif", posX, posY, 535, 45));
    page.addElement(printImage("logoReport.gif", posX+11, posY, 65, 45));
    page.addElement(insertTitle("CERTIFICADOS PENDENTES", posX+270, posY+8, 250));

    posY += 35;
    int total = 0;
    List<Registration> registrationList = new ArrayList<Registration>();
View Full Code Here

    posY = convert(10);
    posX = convert(10);;

    page.addElement(printImage("titleReport.gif", posX, posY, 535, 45));
    page.addElement(printImage("logoReport.gif", posX+11, posY, 65, 45));
    page.addElement(insertTitle("CERTIFICADOS PENDENTES", posX+270, posY+8, 250));

    posY += 35;
    int total = 0;
    List<Registration> registrationList = new ArrayList<Registration>();
    Map<String, Registration> registrationMap;
View Full Code Here

        }
      }


       
      page.addElement(insertBoldText("Use as caixas (", posX+5, posY+3,100));
      page.addElement(drawGrayRectangle(posX+95, posY+3, 18, 13, 2));
      page.addElement(insertBoldText(") para marcar alunos contatados ou com certificados impressos", posX+117, posY+3,470));
     
      for (int i = 0; i < registrationList.size(); i++) {
        Registration registration = registrationList.get(i);
View Full Code Here

      }


       
      page.addElement(insertBoldText("Use as caixas (", posX+5, posY+3,100));
      page.addElement(drawGrayRectangle(posX+95, posY+3, 18, 13, 2));
      page.addElement(insertBoldText(") para marcar alunos contatados ou com certificados impressos", posX+117, posY+3,470));
     
      for (int i = 0; i < registrationList.size(); i++) {
        Registration registration = registrationList.get(i);
        //if(registration.getEndDate() != null) {
View Full Code Here


       
      page.addElement(insertBoldText("Use as caixas (", posX+5, posY+3,100));
      page.addElement(drawGrayRectangle(posX+95, posY+3, 18, 13, 2));
      page.addElement(insertBoldText(") para marcar alunos contatados ou com certificados impressos", posX+117, posY+3,470));
     
      for (int i = 0; i < registrationList.size(); i++) {
        Registration registration = registrationList.get(i);
        //if(registration.getEndDate() != null) {
View Full Code Here

              page = new JRBasePrintPage();
              posY = convert(10);
            }

            posY += 19;
            page.addElement(drawGrayRectangle(posX, posY, 535, 22, 4));
            page.addElement(insertBoldText("Aluno: ", posX+5, posY+3,50));
            page.addElement(insertBoldText(registration.getStudent().getName(), posX+55, posY+3, 270));
            page.addElement(divTitleLine(posX+358));
            page.addElement(insertBoldText( ( !registration.getStudent().getPhone().equals("") ? "Telefone: " ( !registration.getStudent().getCellPhone().equals("") ? "Celular: " : "Sem Contato")  ), posX+365, posY+3,150));
            page.addElement(insertBoldText( ( !registration.getStudent().getPhone().equals("") ? registration.getStudent().getPhone() : registration.getStudent().getCellPhone()) , posX+420, posY+3, 150));
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.