Package net.sf.jasperreports.engine.base

Examples of net.sf.jasperreports.engine.base.JRBasePrintPage.addElement()


            page.addElement(divTitleLine(posX+70,posY));
            page.addElement(insertBoldText("Cursos: ", posX+73, posY+2, 170));

            page.addElement(insertText(bodyStyle,courses.substring(0, (courses.length()>2 ?  courses.length()-2 : courses.length())), posX+120, 340));
            page.addElement(divTitleLine(posX+425,posY));
            page.addElement(insertBoldText("T�rm: ", posX+427, posY+2, 170));
            page.addElement(insertRightText(registration.getEndDate().getFormatedDate(), posX+360, posY+2, 165));
            posY += 4;
            total++;
          }
        }
View Full Code Here


            page.addElement(insertBoldText("Cursos: ", posX+73, posY+2, 170));

            page.addElement(insertText(bodyStyle,courses.substring(0, (courses.length()>2 ?  courses.length()-2 : courses.length())), posX+120, 340));
            page.addElement(divTitleLine(posX+425,posY));
            page.addElement(insertBoldText("T�rm: ", posX+427, posY+2, 170));
            page.addElement(insertRightText(registration.getEndDate().getFormatedDate(), posX+360, posY+2, 165));
            posY += 4;
            total++;
          }
        }
View Full Code Here

    } catch (Exception e) {
      e.printStackTrace();
    }
    posY += 14;
    page.addElement(insertTotalText(boldStyle, "Total de Matr�culas: "+total));
    posY += 40;

    jasperPrint.addPage(page);

    return jasperPrint;
View Full Code Here

                    Person person = (Person) system.query(new GetPerson(registration.getIdPerson()));
                    String genderChar = (person.getGender().equals("Masculino")?"o":"a");
                   
                    JRPrintPage page = new JRBasePrintPage();
                   
                    page.addElement(image);
                   
                    JRPrintText text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
                    text.setText("Prezad"+genderChar+" alun"+genderChar+"\n"+person.getName());
                    text.setX(200);
                    text.setY(250);
View Full Code Here

                    text.setHeight(50);
                    text.setHorizontalAlignment(JRAlignment.HORIZONTAL_ALIGN_LEFT);
                    text.setLineSpacingFactor(2.0f);
                    text.setLeadingOffset(-4.0f);
                    text.setStyle(bodyStyle);
                    page.addElement(text);
                   
                    text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
                    text.setText("Ficamos muito felizes em receber a sua matricula e t�-l"+genderChar+" como cliente. Voc� agora faz parte de um TIME animado, altamente profissional e que est� aqui para ensin�-l"+genderChar+", tirar suas d�vidas, ajuda-l"+genderChar+" a alcan�ar os seus resultados e tamb�m para um bom relacionamento de amizade e companheirismo.\n\n" +
                            "Saiba que faremos o poss�vel para tornar o seu curso em um aprendizado de qualidade e excel�ncia, de forma a atender  suas expectativas e necessidades.\n\n" +
                    "Juntos seremos respons�veis por tornar todos os momentos em que voc� estiver aqui conosco, nos mais agrad�veis poss�veis. Portanto, n�o hesite em nos comunicar ou expressar suas opini�es, informando-nos sobre qualquer acontecimento que n�o lhe agrade, ou para sugest�es, elogios e cr�ticas.");
View Full Code Here

                    text.setHeight(200);
                    text.setHorizontalAlignment(JRAlignment.HORIZONTAL_ALIGN_JUSTIFIED);
                    text.setLineSpacingFactor(10.0f);
                    text.setLeadingOffset(-4.0f);
                    text.setStyle(bodyStyle);
                    page.addElement(text);
                   
                    text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
                    text.setText("Sua opini�o � muito importante para n�s!\nE teremos um imenso prazer em atend�-lo.");
                    text.setX(95);
                    text.setY(600);
View Full Code Here

                    text.setHeight(50);
                    text.setHorizontalAlignment(JRAlignment.HORIZONTAL_ALIGN_CENTER);
                    text.setLineSpacingFactor(2.0f);
                    text.setLeadingOffset(-4.0f);
                    text.setStyle(boldStyle);
                    page.addElement(text);
                   
                    text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
                    text.setText("Um abra�o,");
                    text.setX(95);
                    text.setY(670);
View Full Code Here

                    text.setHeight(50);
                    text.setHorizontalAlignment(JRAlignment.HORIZONTAL_ALIGN_RIGHT);
                    text.setLineSpacingFactor(2.0f);
                    text.setLeadingOffset(-4.0f);
                    text.setStyle(bodyStyle);
                    page.addElement(text);
                   
                    text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
                    text.setText( gd.get("namefancy").toString());
                    text.setX(95);
                    text.setY(685);
View Full Code Here

                    text.setHeight(50);
                    text.setHorizontalAlignment(JRAlignment.HORIZONTAL_ALIGN_RIGHT);
                    text.setLineSpacingFactor(2.0f);
                    text.setLeadingOffset(-4.0f);
                    text.setStyle(boldStyle);
                    page.addElement(text);
                   
//                    text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
//                    text.setText("\"Preparar todos os alunos de forma r�pida e eficiente para atuarem no mercado de trabalho, possibilitando-lhes alcan�ar seus objetos pessoais e profissionais.\"");
//                    text.setX(185);
//                    text.setY(805);
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("RELAT�RIO DE FLUXO DE CAIXA", posX+200, posY+11, 327));

        posY += 65;
       
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.