// Determine width and height. Use from the template for the first item
ServiceItem item = ServiceListTable.getActiveInstance().getServiceItem(0);
if (item == null)
return;
DisplayTemplate firstTemplate = TemplateManager.getInstance().newDisplayTemplate(item.getTemplate());
int width = firstTemplate.getWidth();
int height = firstTemplate.getHeight();
// Create output
ServiceListExporterSlides sles = new ServiceListExporterSlides(fileName, width, height);
try{