case PCL: {
renderer = new PCLRenderer(logger, outputOptions);
break;
}
case PS: {
final PsServer psServer = new PsServer4a();
renderer = new PSRenderer(logger, outputOptions, psServer);
break;
}
case TXT: {
renderer = new TXTRenderer(logger, outputOptions);
break;
}
case MIF: {
final MifBook mifBook = new org.foray.mif.MifBook(logger);
renderer = new MIFConverter(mifBook, logger, outputOptions);
break;
}
case XML: {
renderer = new XMLRenderer(logger, outputOptions);
break;
}
case SVG: {
renderer = new SVGRenderer(logger, outputOptions, graphicServer);
break;
}
default: {
final PsServer psServer = new PsServer4a();
final PdfDocument document = new org.foray.pdf.object.PDFDocument(outputStream, logger, psServer);
renderer = new PDFRenderer(logger, outputOptions, document);
break;
}
}