Package net.sf.jasperreports.engine

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


               
                posY += 25;
               
                page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                page.addElement(insertCenterBoldText("Data", posX+5, posY, 80));
                page.addElement(divLine(posX+85));
                page.addElement(insertCenterBoldText("Hora", posX+90, posY, 50));
                page.addElement(divLine(posX+140));
                page.addElement(insertCenterBoldText("Status", posX+145, posY, 390));
   
                posY += 15;
View Full Code Here


                posY += 25;
               
                page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                page.addElement(insertCenterBoldText("Data", posX+5, posY, 80));
                page.addElement(divLine(posX+85));
                page.addElement(insertCenterBoldText("Hora", posX+90, posY, 50));
                page.addElement(divLine(posX+140));
                page.addElement(insertCenterBoldText("Status", posX+145, posY, 390));
   
                posY += 15;
               
View Full Code Here

               
                page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                page.addElement(insertCenterBoldText("Data", posX+5, posY, 80));
                page.addElement(divLine(posX+85));
                page.addElement(insertCenterBoldText("Hora", posX+90, posY, 50));
                page.addElement(divLine(posX+140));
                page.addElement(insertCenterBoldText("Status", posX+145, posY, 390));
   
                posY += 15;
               
                List<Registration> registrations = (List<Registration>) system.query(new GetRegistrationById(idStudent));
View Full Code Here

                page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                page.addElement(insertCenterBoldText("Data", posX+5, posY, 80));
                page.addElement(divLine(posX+85));
                page.addElement(insertCenterBoldText("Hora", posX+90, posY, 50));
                page.addElement(divLine(posX+140));
                page.addElement(insertCenterBoldText("Status", posX+145, posY, 390));
   
                posY += 15;
               
                List<Registration> registrations = (List<Registration>) system.query(new GetRegistrationById(idStudent));
                List<Presence> presences = new ArrayList<Presence>();
View Full Code Here

                        } else if(!presence.getRegistrationAppointment().isReplacement()) {
                            statusText += " - N�o marcada reposi��o";
                        }
                    }
       
                    page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                    page.addElement(insertText(bodyStyle, new GDDate(presence.getDate()).getFormatedDate(), posX+5, 80));
                    page.addElement(divLine(posX+85));
                    int hour = presence.getDate().getHourOfDay();
                    page.addElement(insertText(bodyStyle, (hour <= 9 ? "0"+hour : hour) + ":00", posX+90, 50));
                    page.addElement(divLine(posX+140));
View Full Code Here

                            statusText += " - N�o marcada reposi��o";
                        }
                    }
       
                    page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                    page.addElement(insertText(bodyStyle, new GDDate(presence.getDate()).getFormatedDate(), posX+5, 80));
                    page.addElement(divLine(posX+85));
                    int hour = presence.getDate().getHourOfDay();
                    page.addElement(insertText(bodyStyle, (hour <= 9 ? "0"+hour : hour) + ":00", posX+90, 50));
                    page.addElement(divLine(posX+140));
                    page.addElement(insertText(bodyStyle, statusText, posX+145, 390));
View Full Code Here

                        }
                    }
       
                    page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                    page.addElement(insertText(bodyStyle, new GDDate(presence.getDate()).getFormatedDate(), posX+5, 80));
                    page.addElement(divLine(posX+85));
                    int hour = presence.getDate().getHourOfDay();
                    page.addElement(insertText(bodyStyle, (hour <= 9 ? "0"+hour : hour) + ":00", posX+90, 50));
                    page.addElement(divLine(posX+140));
                    page.addElement(insertText(bodyStyle, statusText, posX+145, 390));
                   
View Full Code Here

       
                    page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                    page.addElement(insertText(bodyStyle, new GDDate(presence.getDate()).getFormatedDate(), posX+5, 80));
                    page.addElement(divLine(posX+85));
                    int hour = presence.getDate().getHourOfDay();
                    page.addElement(insertText(bodyStyle, (hour <= 9 ? "0"+hour : hour) + ":00", posX+90, 50));
                    page.addElement(divLine(posX+140));
                    page.addElement(insertText(bodyStyle, statusText, posX+145, 390));
                   
                    posY += 15;
                    if(posY > (convert(297)-20)){
View Full Code Here

                    page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                    page.addElement(insertText(bodyStyle, new GDDate(presence.getDate()).getFormatedDate(), posX+5, 80));
                    page.addElement(divLine(posX+85));
                    int hour = presence.getDate().getHourOfDay();
                    page.addElement(insertText(bodyStyle, (hour <= 9 ? "0"+hour : hour) + ":00", posX+90, 50));
                    page.addElement(divLine(posX+140));
                    page.addElement(insertText(bodyStyle, statusText, posX+145, 390));
                   
                    posY += 15;
                    if(posY > (convert(297)-20)){
                        jasperPrint.addPage(page);
View Full Code Here

                    page.addElement(insertText(bodyStyle, new GDDate(presence.getDate()).getFormatedDate(), posX+5, 80));
                    page.addElement(divLine(posX+85));
                    int hour = presence.getDate().getHourOfDay();
                    page.addElement(insertText(bodyStyle, (hour <= 9 ? "0"+hour : hour) + ":00", posX+90, 50));
                    page.addElement(divLine(posX+140));
                    page.addElement(insertText(bodyStyle, statusText, posX+145, 390));
                   
                    posY += 15;
                    if(posY > (convert(297)-20)){
                        jasperPrint.addPage(page);
                        page = new JRBasePrintPage();
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.