private void openPDFs() throws DocumentException, IOException {

        if (pdfd.allPlots()) {
            allPDF = new EvokerPDF(checkOverwriteFile(new File(pdfd.getPdfDir()
                    + "/all.pdf")), db.getNumCollections());
        }
        if (pdfd.yesPlots()) {
            yesPDF = new EvokerPDF(checkOverwriteFile(new File(pdfd.getPdfDir()
                    + "/yes.pdf")), db.getNumCollections());
            yesPlotNum = 0;
        }
        if (pdfd.maybePlots()) {
            maybePDF = new EvokerPDF(checkOverwriteFile(new File(pdfd.getPdfDir()
                    + "/maybe.pdf")), db.getNumCollections());
            maybePlotNum = 0;
        }
        if (pdfd.noPlots()) {
            noPDF = new EvokerPDF(checkOverwriteFile(new File(pdfd.getPdfDir()
                    + "/no.pdf")), db.getNumCollections());
            noPlotNum = 0;
        }
    }