From 2d2f668775a5818ae7d78744087469fde8037e50 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 4 Jan 2011 17:50:43 +0000 Subject: [PATCH] --- inc/extranet/Controlleur/class.extranet.core.php | 1 + inc/ws/Controlleur/class.ws.flash.php | 8 ++++++++ inc/ws/DAO/class.ws.dao.document.php | 2 +- inc/ws/Metier/_common.php | 1 + inc/ws/Metier/class.ws.document.conversioninfos.php | 0 inc/ws/Metier/class.ws.document.php | 4 +--- 6 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 inc/ws/Metier/class.ws.document.conversioninfos.php diff --git a/inc/extranet/Controlleur/class.extranet.core.php b/inc/extranet/Controlleur/class.extranet.core.php index e43a1764a..79001320d 100644 --- a/inc/extranet/Controlleur/class.extranet.core.php +++ b/inc/extranet/Controlleur/class.extranet.core.php @@ -312,6 +312,7 @@ class extranetCore extends cubeCore { $db->documents->date('integer', 0, false); $db->documents->localInfos('text', 0, false); $db->documents->generalInfos('text', 0, false); + $db->documents->conversionInfos('text', 0, false); $db->documents->bookmarks('text', 0, false); $db->documents->numberSections('text', 0, false); $db->documents->links('text', 0, false); diff --git a/inc/ws/Controlleur/class.ws.flash.php b/inc/ws/Controlleur/class.ws.flash.php index 7c2eae359..9093e3030 100644 --- a/inc/ws/Controlleur/class.ws.flash.php +++ b/inc/ws/Controlleur/class.ws.flash.php @@ -32,6 +32,14 @@ class wsFlash extends cubeFlashGateway { $li->creationDate = $this->args['creationDate']; $li->modificationDate = $this->args['modificationDate']; $data['localInfos'] = $li; + + $ci = new cubeObject(); + $ci->global=new cubeObject(); + $ci->resolution = 150; + $ci->method = wsDocument::NORMAL; + $ci->quality = 85; + + $data['conversionInfos'] = $ci; $document = $dao->sauve($data); $document->copyOriginal($infos['tmp_name']); } diff --git a/inc/ws/DAO/class.ws.dao.document.php b/inc/ws/DAO/class.ws.dao.document.php index 4c3145b1f..70fef51f2 100644 --- a/inc/ws/DAO/class.ws.dao.document.php +++ b/inc/ws/DAO/class.ws.dao.document.php @@ -1,7 +1,7 @@