Package net.sf.jasperreports.engine

Examples of net.sf.jasperreports.engine.DefaultJasperReportsContext


      getLog().info("Output dir check OK");
    }
  }

  private void configureJasper() {
    DefaultJasperReportsContext jasperReportsContext = DefaultJasperReportsContext.getInstance();
    jasperReportsContext.setProperty(JRReportSaxParserFactory.COMPILER_XML_VALIDATION,
        String.valueOf(xmlValidation));
    jasperReportsContext.setProperty(JRCompiler.COMPILER_PREFIX, compiler == null ? JRJdtCompiler.class.getName()
        : compiler);
    jasperReportsContext.setProperty(JRCompiler.COMPILER_KEEP_JAVA_FILE, Boolean.FALSE.toString());

    if (additionalProperties != null) {
      configureAdditionalProperties(JRPropertiesUtil.getInstance(jasperReportsContext));
    }
  }
View Full Code Here


    stdparams.put("PLANT", ctrl.getKeyValue());
    stdparams.put("SUBREPORT_DIR", System.getProperty("user.dir") + File.separator + "reports" + File.separator);
    System.getProperty("user.dir");
    ctrl.getProperties("LABEL_HEADER_COMMENT");

    DefaultJasperReportsContext jasperContext = DefaultJasperReportsContext.getInstance();
    JRPropertiesUtil.getInstance(jasperContext).setProperty("net.sf.jasperreports.awt.ignore.missing.font", "true");
    JRPropertiesUtil.getInstance(jasperContext).setProperty("net.sf. jasperreports.properties", Common.report_path + "default.jasperreports.properties");

  }
View Full Code Here

    stdparams.put("PLANT", ctrl.getKeyValue());
    stdparams.put("SUBREPORT_DIR", System.getProperty("user.dir")+File.separator+"reports"+File.separator);
    System.getProperty("user.dir");
    ctrl.getProperties("LABEL_HEADER_COMMENT");

    DefaultJasperReportsContext jasperContext = DefaultJasperReportsContext.getInstance();
        JRPropertiesUtil.getInstance(jasperContext).setProperty("net.sf.jasperreports.awt.ignore.missing.font", "true");
        JRPropertiesUtil.getInstance(jasperContext).setProperty("net.sf. jasperreports.properties", Common.report_path+"default.jasperreports.properties");
  }
View Full Code Here

      log.info("Output dir check OK");
    }
  }

  private void configureJasper() {
    DefaultJasperReportsContext jrContext = DefaultJasperReportsContext.getInstance();

        jrContext.setProperty(JRReportSaxParserFactory.COMPILER_XML_VALIDATION, String.valueOf(xmlValidation));
    jrContext.setProperty(JRCompiler.COMPILER_PREFIX, compiler == null ? JRJdtCompiler.class.getName() : compiler);
    jrContext.setProperty(JRCompiler.COMPILER_KEEP_JAVA_FILE, Boolean.FALSE.toString());

    if (additionalProperties != null) {
      configureAdditionalProperties(JRPropertiesUtil.getInstance(jrContext));
    }
View Full Code Here

      getLog().info("Output dir check OK");
    }
  }

  private void configureJasper() {
    DefaultJasperReportsContext jasperReportsContext = DefaultJasperReportsContext.getInstance();
    jasperReportsContext.setProperty(JRReportSaxParserFactory.COMPILER_XML_VALIDATION, String.valueOf(xmlValidation));
    jasperReportsContext.setProperty(JRCompiler.COMPILER_PREFIX, compiler == null ?
        JRJdtCompiler.class.getName() : compiler);
    jasperReportsContext.setProperty(JRCompiler.COMPILER_KEEP_JAVA_FILE, Boolean.FALSE.toString());
  }
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.DefaultJasperReportsContext

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.