Package net.datacrow.reporting.templates

Examples of net.datacrow.reporting.templates.ReportTemplates


        Directory directory = new Directory(DataCrow.moduleDir, true, null);
        files.addAll(directory.read());
        directory = new Directory(DataCrow.imageDir, true, new String[] {"jpg", "jpeg"});
        files.addAll(directory.read());       

        for (String reportDir : new ReportTemplates(true).getFolders()) {
            directory = new Directory(reportDir, true, new String[] {"xsl", "xslt"});
            files.addAll(directory.read());
        }
       
        return files;
View Full Code Here


        // There is no use case for this (yet).
        if (!module.isEnabled()) isEnabled(false);
    }
   
    public boolean hasReports() {
        return new ReportTemplates(true).hasReports(index);      
    }
View Full Code Here

            cbTemplates.removeItemListener(this);
           
            XmlTransformer transformer = (XmlTransformer) cbTransformer.getSelectedItem();
            cbTemplates.removeAllItems();
            Collection<ReportTemplate> templates =
                new ReportTemplates(true).getReportFiles(transformer.getType());
           
            for (ReportTemplate rt : templates)
                cbTemplates.addItem(rt);
           
            cbTemplates.setSelectedIndex(0);
View Full Code Here

TOP

Related Classes of net.datacrow.reporting.templates.ReportTemplates

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.