Package net.sf.jasperreports.engine.base

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


        }
        return image;
    }

    private JRPrintElement insertMiniText(String textToWrite, int posX, int posY, int sizeWidth) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(sizeWidth);
        text.setHeight(10);
View Full Code Here


        rectangle.setBackcolor(new Color(204, 204, 204));
        return rectangle;
    }
   
    private JRPrintText insertTitle(String textToWrite, int posX, int posY, int sizeWidth) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(sizeWidth);
        text.setHeight(25);
View Full Code Here

        text.setStyle(titleStyle);
        return text;
    }
   
    private JRPrintText insertNormalText(String textToWrite, int posX, int posY, int sizeWidth, int sizeHeight) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(sizeWidth);
        text.setHeight(sizeHeight);
View Full Code Here

        text.setStyle(normalStyle);
        return text;
    }
   
    private JRPrintText insertBoldText(String textToWrite, int posX, int posY, int sizeWidth) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(sizeWidth);
        text.setHeight(15);
View Full Code Here

        text.setStyle(boldStyle);
        return text;
    }
   
    private JRPrintText insertCenterBoldText(String textToWrite, int posX, int posY, int sizeWidth) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(sizeWidth);
        text.setHeight(15);
View Full Code Here

        text.setStyle(boldStyle);
        return text;
    }
   
    private JRPrintText insertRightText(String textToWrite, int posX, int posY, int sizeWidth) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(sizeWidth);
        text.setHeight(15);
View Full Code Here

        text.setStyle(rightStyle);
        return text;
    }
   
    private JRPrintText insertFooter() {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText("Criado por Gerente Digital.");
        text.setX(convert(10));
        text.setY(convert(290)-10);
        text.setWidth(convert(190));
        text.setHeight(10);
View Full Code Here

            JRPrintPage page = new JRBasePrintPage();
           
            page.addElement(printImage("titleReport.gif", posX, posY, 535, 45));
            page.addElement(printImage("corporateLogo.jpg", posX+11, posY, 65, 45));
           
            text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
            text.setText("FICHA DE CADASTRO");
            text.setX(posX+251);
            text.setY(posY+11);
            text.setWidth(200);
            text.setHeight(22);
View Full Code Here

        rectangle.setHeight(height);
        rectangle.setRadius(radius);
        return rectangle;
    }
    private JRPrintText printNormalText(String textToWrite, int posX, int posY, int width) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(width);
        text.setHeight(12);
View Full Code Here

        text.setStyle(normalStyle);
       
        return text;
    }
    private JRPrintText printMiniText(String textToWrite, int posX, int posY, int width) {
        text = new JRBasePrintText(jasperPrint.getDefaultStyleProvider());
        text.setText(textToWrite);
        text.setX(posX);
        text.setY(posY);
        text.setWidth(width);
        text.setHeight(10);
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.base.JRBasePrintText

Copyright © 2018 www.massapicom. 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.