Package cli_fmw.report

Examples of cli_fmw.report.AlignmentType


            HashMap<String, Object> data = new LinkedHashMap<String, Object>();
            data.put("date", "Дата: " + Converter.dateToString(profcheckup.getDateFrom()));
       
            data.put("contractInfo", "Данные договора, по которому производится профосмотр");
            AlignmentType at = AlignmentType.dataInOneColoumnByLeft;
            ExtraField ef = new ExtraField(contractLocal.getIndex(), "индекс:", at);
            data.put("contractIndex", ef);
            ef = new ExtraField(contractLocal.getEnterprise(), "предприятие:", at);
            data.put("contractEnterprise", ef);
       
View Full Code Here


   * @throws net.sf.jasperreports.engine.JRException
   */
  double createFieldPackAligned(double startPosition, JRDesignBand band, ArrayList<Map.Entry<String, Object>> efields) throws JRException{
    double        nameSize = 0;
    double        valSize = 0;
    AlignmentType    atype = null;
   
    for (Map.Entry<String, Object> entry : efields) {
      ExtraField      val = (ExtraField) entry.getValue();
      nameSize = Math.max(nameSize, getFieldLenght(val.getNNFieldName()));
      valSize = Math.max(valSize, getFieldLenght(val.getNNFieldData() + val.getNNFieldSufix()));
View Full Code Here

    public void print(CombinedReportCreator cCreator) throws ClipsException {
        FormReportCreator creater = cCreator.createFormReporter(getClass(), 1);
        HashMap<String, Object> data = new LinkedHashMap<String, Object>();
        String title = "Данные диагноза";
       
        AlignmentType alType = AlignmentType.dataInOneColoumnByLeft;
       
        String val = getSerrenLocal().getPolisData().getClient(getAuditListener()).toString();
        ExtraField extraField = new ExtraField(val, "Пациент:", alType);
        data.put("client", extraField);
       
View Full Code Here

TOP

Related Classes of cli_fmw.report.AlignmentType

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.