Package cli_fmw.report

Examples of cli_fmw.report.TableReportOptions


  }

    @Override
    public void setPageOptions(TableReportOptions options) {
    if (options == null) {
      options = new TableReportOptions();
    }
        this.options = options;
    if (this.combinedReporter != null) {
      this.combinedReporter.correctReportPageSize(this.options);
    }
View Full Code Here


                group += iS;
            }
            HashMap<String, Object> data = new LinkedHashMap<String, Object>();
            data.put("groupFullTitle", group);
           
            TableReportOptions ops = new TableReportOptions(TableReportOptions.PageOrentation.horizontal);
            PrintCreators.createGeneratedReport(title, ops, data.entrySet(), null, tabService.getModel(), getClass());
        }
    }
View Full Code Here

    @Override
    public void print() {
        if (readyForPrint()) {
            String title = "Шаблоны пакетов услуг";
            TableReportOptions ops = new TableReportOptions(TableReportOptions.PageOrentation.horizontal);
            PrintCreators.createGeneratedReport(title, ops, null, null, tabPacketTemplates.getModel(), getClass());
        }
    }
View Full Code Here

            }
            if (!tfIndex.getText().isEmpty()) {
                data.put("index", "совпадение номера: " + tfIndex.getText());
            }
            String title = "Список договоров по фильтру";
            TableReportOptions ops = new TableReportOptions(TableReportOptions.PageOrentation.horizontal);
            PrintCreators.createGeneratedReport(title, ops, data.entrySet(), null, tabContractList.getModel(), getClass());
        }
    }
View Full Code Here

            }
            TableModel model = new PrintTableModel(opt, cols, currentWeekIndex, sil, spl);
            String title = "Действительное расписание сотрудника: " + sil.getCollaborator().getTitle();
            HashMap<String, Object> data = new LinkedHashMap<String, Object>();
            data.put("currentWeek", "Текущая неделя: " + currentWeekBtn.getText());
            TableReportOptions ops = new TableReportOptions(TableReportOptions.PageOrentation.horizontal);
            PrintCreators.createGeneratedReport(title, ops, data.entrySet(), null, model, getClass());
        }
    }
View Full Code Here

                data.put("date", curWeek);
            } catch (ClipsException ex) {
                MessageBox.showException(ex);
            }

            TableReportOptions ops = new TableReportOptions(TableReportOptions.PageOrentation.horizontal);
            PrintCreators.createGeneratedReport(title, ops, data.entrySet(), null, model, getClass());
        }
    }
View Full Code Here

    public void print() {
        if (readyForPrint()) {
            HashMap<String, Object> data = new HashMap<String, Object>();           
            data.put("client", "Пациент: " + clientLoc.toString());
            String title = "Список договоров";
            TableReportOptions ops = new TableReportOptions(PageOrentation.horizontal);
            PrintCreators.createGeneratedReport(title, ops, data.entrySet(), null, tableContractList.getModel(), getClass());
        }
    }
View Full Code Here

    @Override
    public void print() {
        if (readyForPrint()) {
            TableModel model = new PrintTableModel();
            String title = "Недельное расписание клиники: ";
            TableReportOptions ops = new TableReportOptions(TableReportOptions.PageOrentation.horizontal);
            PrintCreators.createGeneratedReport(title, ops, null, null, model, getClass());
        }
    }
View Full Code Here

                String cab = cabinet.getTitle();
                cab += " (" + cabinet.getDescription() + ")";
                data.put("cabinet", "Кабинет:  " + cab);
            }

            TableReportOptions ops = new TableReportOptions();
            ops.setPageA5();
            PrintCreators.createGeneratedReport(title, ops, data.entrySet(), null, null, getClass());
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
        }
    }
View Full Code Here

      return report;
    }
    if (isCreateReportByTableModelCalled()){
      if (reportType == 0){
        if (getOptions() == null) {
          setOptions(new TableReportOptions());
        }
        JasperTableBuilder    tableBilder = new JasperTableBuilder(getOptions(), table);
        JasperReportBuilder    generator = new JasperReportBuilder(title, getOptions(), topExtraFields, bottomExtraFields, tableBilder);
        report = generator.buildReport();
      }
View Full Code Here

TOP

Related Classes of cli_fmw.report.TableReportOptions

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.