* @param ds
*/
public void getMetaReport(DocSearch ds) {
this.ds = ds;
MetaDialog md = new MetaDialog(ds, Messages.getString("DocSearch.metaDataOptions"), true);
md.init();
md.setVisible(true);
if (md.confirmed) {
try {
int maxNum = Integer.parseInt(md.getMaxDocs());
int maxDaysOld = Integer.parseInt(md.getDateFieldText());
// generate report
doMetaDataReport(ds.getDSIndex(md.getSelectedIndexNum()),
md.getListAllIsSelected(),
md.getPathRequiredSelected(),
md.getPathFieldText(),
md.getAuthSelected(),
md.getAuthFieldText(),
md.getReportFieldText(),
maxNum,
md.getDateRequiredSelected(),
maxDaysOld);
ds.setStatus(Messages.getString("DocSearch.statusReportComplete"));
}
catch (NumberFormatException nfe) {