Package cli_fmw.report

Examples of cli_fmw.report.CombinedReportOptions


            if (needDlg) {
                int res = MessageBox.showConfirmYesNo(MessageBox.C_PRINT_DIRECTION_TO_CHECKUP);
                if (res == MessageBox.ANSWER_YES) {
                    try {
                        CombinedReportCreator parCreator = ReporterFactory.createCombinedReporter(getClass(), 1);
                        CombinedReportOptions options = new CombinedReportOptions();
                        options.setPageA5();
                        options.setOrentation(PageOrentation.horizontal);
                        options.leftMargin = 0;
                        options.rightMargin = 0;
                        options.subReportNewPageType = CombinedReportOptions.NewPageType.beginNotFirst;
                        parCreator.setUpReport(null, options, null);
                        FormReportCreator creator;
                        CombinedReportCreator subCreator;
                        CombinedReportOptions ops;
                        for (int i = 0; i < newSerrenList.size(); i++) {
                            CheckupLocal checkupLocal = newSerrenList.get(i).getAnalysis();
                            if (checkupLocal != null) {
                                subCreator = parCreator.createCombinedReporter(getClass(), 2);
                                ops = new CombinedReportOptions();
                                ops.leftMargin = 0;
                                ops.rightMargin = 0;
                                ops.topMargin = 0;
                                ops.bottomMargin = 0;
                                subCreator.setUpReport(null, ops, null);
View Full Code Here


  private static final int        SICK_LIST_PAGE_WIGHT = 413;
  private static final int        SICK_LIST_SUBREPORT_PAGE_WIGHT = 350;
  public void printOverBlank() throws ClipsException{
    CombinedReportCreator    combined = ReporterFactory.createCombinedReporter(getClass(), 1);
    CombinedReportOptions    reportOptions = new CombinedReportOptions();
    reportOptions.setPageA5();
    reportOptions.setOrentation(PageOrentation.vertical);
    //reportOptions.reportWidht = SICK_LIST_PAGE_WIGHT;
    //reportOptions.reportHeight = 470;
    reportOptions.leftMargin = ClipsConfig.getInstance().getSicklistLeftMarign();
    reportOptions.fixRightMarign(SICK_LIST_SUBREPORT_PAGE_WIGHT);
    reportOptions.topMargin = ClipsConfig.getInstance().getSicklistTopMarign();
    reportOptions.bottomMargin = 0;
    combined.setUpReport(null, reportOptions, null);
        FormReportCreator      creator = combined.createFormReporter(getClass(), 3);
View Full Code Here

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

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

TOP

Related Classes of cli_fmw.report.CombinedReportOptions

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.