Examples of JRBasePrintText


Examples of net.sf.jasperreports.engine.base.JRBasePrintText

                   
                    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);
                    text.setWidth(470);
                    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.");
                    text.setX(95);
                    text.setY(350);
                    text.setWidth(470);
                    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);
                    text.setWidth(470);
                    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);
                    text.setWidth(470);
                    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);
                    text.setWidth(470);
                    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);
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.