Package cli_fmw.report

Examples of cli_fmw.report.CombinedReportCreator


    @Override
    public void print() {
        try {
            if (readyForPrint()) {
                CombinedReportCreator parCreator = ReporterFactory.createCombinedReporter(getClass(), 1);
                CombinedReportOptions ops = new CombinedReportOptions();
                ops.topMargin =0;
                ops.bottomMargin = 0;
                ops.leftMargin =0;
                ops.rightMargin = 0;
                ops.setPageA5();
                ops.setOrentation(PageOrentation.horizontal);
                parCreator.setUpReport(null, ops, null);
                clientLocal.print(parCreator);
                parCreator.finish();
            }
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
        }
    }
View Full Code Here


    @Override
    public void print() {
        if (readyForPrint()) {
            try {
                CombinedReportCreator parCreator = PrintCreators.createCombinedReportHeader(getClass());
               
                selectedCheckup.print(parCreator);               
                parCreator.finish();
            } catch (ClipsException ex) {
                MessageBox.showException(ex);
            }
        }
    }
View Full Code Here

            toPut = "не оказана";
        }
        extraField = new ExtraField(toPut, "Оказана: ", AlignmentType.dataInOneColoumnByLeft);
        data.put("directed", extraField);
       
        CombinedReportCreator parCreator = cCreator.createCombinedReporter(getClass(), 1);
        CombinedReportOptions ops = new CombinedReportOptions();
        ops.setPageA5();
        ops.setOrentation(PageOrentation.horizontal);
        ops.leftMargin = 0;
        ops.rightMargin = 0;
        ops.bottomMargin = 0;
        ops.topMargin = 0;
        parCreator.setUpReport(null, ops, null);
       
        FormReportCreator creator = parCreator.createFormReporter(getClass(), 2);
        TableReportOptions opts = new TableReportOptions();
        opts.bottomMargin = 0;
        opts.topMargin = 0;
        creator.createReport(title, opts, data.entrySet(), null);
        creator.finish();
       
        for (DelegateLine2 child : getChildren()) {
            if (child instanceof DelegatePrintable) {
                ((DelegatePrintable)child).print(parCreator);
            }
        }   
       
        parCreator.finish();
    }
View Full Code Here

TOP

Related Classes of cli_fmw.report.CombinedReportCreator

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.