Integer dossierId = new Integer(dossierIdStr);
Integer versionId = new Integer(versionIdStr);
byte[] tempCont = dpDAO.getPresentationVersionContent(dossierId, versionId);
BIObject dossier = DAOFactory.getBIObjectDAO().loadBIObjectById(dossierId);
String bookName = dossier.getName();
ObjTemplate templ = new ObjTemplate();
templ.setActive(new Boolean(true));
templ.setName(bookName + ".ppt");
templ.setContent(tempCont);
// load all functionality
List storeInFunctionalities = new ArrayList();
List functIds = request.getAttributeAsList("FUNCT_ID");
Iterator iterFunctIds = functIds.iterator();
while(iterFunctIds.hasNext()) {