Package cli_fmw.report

Examples of cli_fmw.report.FormReportCreator.finish()


        parCreator.setUpReport(null, ops, null);

        FormReportCreator creator;
        creator = parCreator.createFormReporter(PrintCreators.class, 1);
        creator.createReport(new HashMap<String, Object>(), null);
        creator.finish();
       
        return parCreator;
    }
   
View Full Code Here


        Collection<Entry<String, Object>> preFields,
        Collection<Entry<String, Object>> postFields,
        TableModel model, Class clazz) {
        FormReportCreator creater = ReporterFactory.createFormReporter(clazz, 1);
        creater.createReport(title, ops, preFields, postFields, model);
        creater.finish();
  }
}
View Full Code Here

            FormReportCreator creater = ReporterFactory.createFormReporter(getClass());
            HashMap<String, Object> data = new LinkedHashMap<String, Object>();
            String title = "Список диагнозов пациента";
            data.put("client", "Пациент: " + clientLocal.toString());
            creater.createReport(title, null, data.entrySet(), jTable.getModel());
            creater.finish();
        }
    }

    @Override
    public DelegateLine2 getDelegate() {
View Full Code Here

                    ops.bottomMargin = 0;
                    subCreator.setUpReport(null, ops, null);

                    FormReportCreator creator = subCreator.createFormReporter(PrintCreators.class, 1);
                    creator.createReport(new HashMap<String, Object>(), null);
                    creator.finish();

                    del.print(subCreator);
                    subCreator.finish();
                }
            }
View Full Code Here

                    rights += "Сотрудник не имеет прав";
                }

                data.put("rights", rights);
                creater.createReport(title, null, data.entrySet(), null);
                creater.finish();
            } catch (ClipsException ex) {
                MessageBox.showException(ex);
            }
        }
    }
View Full Code Here

        TableReportOptions ops = new TableReportOptions();
        ops.tableHeaderColor = Color.WHITE;
        ops.bottomMargin = 0;
        ops.topMargin = 0;
        creater.createReport(title, ops, data.entrySet(), model);
        creater.finish();
    }

    /**
     * Является ли диагноз заключительным
     * @return
 
View Full Code Here

                                ops.bottomMargin = 0;
                                subCreator.setUpReport(null, ops, null);

                                creator = subCreator.createFormReporter(PrintCreators.class, 1);
                                creator.createReport(new HashMap<String, Object>(), null);
                                creator.finish();
                                checkupLocal.print(subCreator);
                                subCreator.finish();
                            }
                        }
                        parCreator.finish();
View Full Code Here

        try {
            if (readyForPrint()) {
                FormReportCreator creater = ReporterFactory.createFormReporter(getClass());
                HashMap<String, Object> extraFields = collabLoc.getFieldsForPrint();               
                creater.createReport(null, null, extraFields.entrySet(), null);
                creater.finish();
            }
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
        }
    }
View Full Code Here

    public void print(CombinedReportCreator cCreator) throws ClipsException {
        FormReportCreator creater = cCreator.createFormReporter(getClass(), 1);
        HashMap<String, Object> extraFields = getPrintFields()
        creater.createReport(null, null, extraFields.entrySet(), null);
        creater.finish();
    }
   
    public HashMap<String, Object> getPrintFields() throws ClipsException {
        HashMap<String, Object> extraFields = new HashMap<String, Object>();
View Full Code Here

        extraFields.put("directionCollaborator", collabStr);
        if (getDescription() != null) {
            extraFields.put("directionDesc", getDescription());
        }
        creator.createReport(null, null, extraFields.entrySet(), null);
        creator.finish();
    }
   
    @Override
    public Icon getIcon() {
        return icon;
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.