diff --git a/product/ERP5OOo/Document/OOoDocument.py b/product/ERP5OOo/Document/OOoDocument.py index 43f37b75566de8657da77d1352d9b9f826c27d0b..6005a04c860fd287769d12a8d0e59e87af2e75e4 100644 --- a/product/ERP5OOo/Document/OOoDocument.py +++ b/product/ERP5OOo/Document/OOoDocument.py @@ -239,31 +239,6 @@ class OOoDocument(PermanentURLMixIn, BaseConvertableFileMixin, File, return cached_getTargetFormatItemList(self.getBaseContentType()) - security.declareProtected(Permissions.AccessContentsInformation, - 'getTargetFormatTitleList') - def getTargetFormatTitleList(self): - """ - Returns a list of acceptable formats for conversion - """ - return map(lambda x: x[0], self.getTargetFormatItemList()) - - security.declareProtected(Permissions.AccessContentsInformation, - 'getTargetFormatList') - def getTargetFormatList(self): - """ - Returns a list of acceptable formats for conversion - """ - return map(lambda x: x[1], self.getTargetFormatItemList()) - - security.declareProtected(Permissions.ModifyPortalContent, - 'isTargetFormatAllowed') - def isTargetFormatAllowed(self, format): - """ - Checks if the current document can be converted - into the specified target format. - """ - return format in self.getTargetFormatList() - def _getConversionFromProxyServer(self, format): """ Communicates with server to convert a file