pdfOptions.setOption(IPDFRenderOption.PAGE_OVERFLOW, Boolean.TRUE );
} else if ("application/vnd.ms-word".equalsIgnoreCase(contentType)) { // MS Word
options.setOutputFormat("doc");
} else if ("application/vnd.ms-excel".equalsIgnoreCase(contentType)) { // MS Excel
options.setOutputFormat("xls");
new EXCELRenderOption(options);
} else if ("application/vnd.ms-powerpoint".equalsIgnoreCase(contentType)) { // MS Power Point
options.setOutputFormat("ppt");
} else if ("application/vnd.oasis.opendocument.text".equalsIgnoreCase(contentType)) { // Open Document Text
options.setOutputFormat("odt");
} else if ("application/vnd.oasis.opendocument.spreadsheet".equalsIgnoreCase(contentType)) { // Open Document Spreadsheet