Package net.sf.jasperreports.engine

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


                    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

        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;
       
        GDDate date = startDate;
View Full Code Here

        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;
       
        GDDate date = startDate;
        GDDate end = endDate;
View Full Code Here

          amountAccountsSelected.credit(account.getAmount());
        }
        total.credit(amountAccountsSelected);
       
        if (!withDetail){
          page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
          page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
          page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
          posY += 25;
        }
       
View Full Code Here

        }
        total.credit(amountAccountsSelected);
       
        if (!withDetail){
          page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
          page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
          page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
          posY += 25;
        }
       
    while (date.beforeOrEqualsDay(end)) {
View Full Code Here

        total.credit(amountAccountsSelected);
       
        if (!withDetail){
          page.addElement(insertBoldText("Data: ", posX+5, posY+5, 170));
          page.addElement(insertBoldText("� Receber:", posX+180, posY+5, 170));
          page.addElement(insertBoldText("� Pagar: ", posX+360, posY+5, 170));
          posY += 25;
        }
       
    while (date.beforeOrEqualsDay(end)) {
            if (!cashFlow.isEmpty(date)) {
View Full Code Here

                total.credit(cashFlow.getTotal(date));

                String creditStr = (cashFlow.getToReceive(date).toString().equals("0,00")) ? "" : "R$ " + cashFlow.getToReceive(date).getFormatedValue();
                String debitStr = (cashFlow.getToPay(date).toString().equals("0,00")) ? "" : "R$ " + cashFlow.getToPay(date).getFormatedValue();
                totalStr = (total.toString().equals("0,00")) ? "" : "R$ " + total.getFormatedValue();
              page.addElement(drawGrayRectangle(posX, posY, 535, 20, 3));

              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));
View Full Code Here

                String debitStr = (cashFlow.getToPay(date).toString().equals("0,00")) ? "" : "R$ " + cashFlow.getToPay(date).getFormatedValue();
                totalStr = (total.toString().equals("0,00")) ? "" : "R$ " + total.getFormatedValue();
              page.addElement(drawGrayRectangle(posX, posY, 535, 20, 3));

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