Class ImagesSubReport


  • public class ImagesSubReport
    extends java.lang.Object
    Creates a Jasper containing overlaid images, which is supposed to be embedded into an another report as sub-report.
    • Constructor Summary

      Constructors 
      Constructor Description
      ImagesSubReport​(java.util.List<java.net.URI> graphics, java.awt.Dimension size, double dpi)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compile​(java.io.File compiledReportFile)
      Compiles the report into a *.jasper file.
      protected net.sf.jasperreports.engine.design.JasperDesign getReportDesign()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImagesSubReport

        public ImagesSubReport​(java.util.List<java.net.URI> graphics,
                               java.awt.Dimension size,
                               double dpi)
        Constructor.
        Parameters:
        graphics - A list of graphic files.
        size - The size of the report in pixel.
        dpi - the dpi of the report
    • Method Detail

      • compile

        public final void compile​(java.io.File compiledReportFile)
                           throws net.sf.jasperreports.engine.JRException
        Compiles the report into a *.jasper file.
        Parameters:
        compiledReportFile - The destination file.
        Throws:
        net.sf.jasperreports.engine.JRException
      • getReportDesign

        protected final net.sf.jasperreports.engine.design.JasperDesign getReportDesign()