Package net.sf.jasperreports.engine.base

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


              if (!withDetail){
                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertRightText(debitStr, posX+360, posY+5, 165));

                posY += 19;
              }
              else
              {
View Full Code Here


                posY += 19;
              }
              else
              {
                page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
View Full Code Here

                posY += 19;
              }
              else
              {
                page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
View Full Code Here

              }
              else
              {
                page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
                page.addElement(insertRightText(debitStr, posX+360, posY+5, 165));
View Full Code Here

              else
              {
                page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
                page.addElement(insertRightText(debitStr, posX+360, posY+5, 165));
View Full Code Here

              {
                page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
                page.addElement(insertRightText(debitStr, posX+360, posY+5, 165));

                posY += 25;
View Full Code Here

                page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
                page.addElement(insertRightText(debitStr, posX+360, posY+5, 165));

                posY += 25;
              }
View Full Code Here

                page.addElement(insertRightText(date.getFormatedDate(), posX+5, posY+5, 165));
                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
                page.addElement(insertRightText(debitStr, posX+360, posY+5, 165));

                posY += 25;
              }
             
View Full Code Here

                page.addElement(divTitleLine(posX+175));
                page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
                page.addElement(insertRightText(creditStr, posX+180, posY+5, 165));
                page.addElement(divTitleLine(posX+355));
                page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
                page.addElement(insertRightText(debitStr, posX+360, posY+5, 165));

                posY += 25;
              }
             
              if (withDetail) {
View Full Code Here

                posY += 25;
              }
             
              if (withDetail) {
                page.addElement(drawRectangle(posX, posY, 535, 15, 0));
                page.addElement(insertCenterBoldText("Descri��o", posX+5, posY, 310));
                page.addElement(divLine(posX+425));
                page.addElement(insertCenterBoldText("Valor Previsto", posX+430, posY, 100));
               
                posY += 15;
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.