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);