Example #1
0
 def is_preview_supported(self):
     # XXX TODO: should be persistent called two times
     if PDFCONVERTER_AVAILABLE:
         return IPreviewMarker.providedBy(self.context)
     return False
Example #2
0
 def is_preview_supported(self):
     # XXX TODO: should be persistent called two times
     if is_pdfconverter_enabled():
         return IPreviewMarker.providedBy(self.context)
     return False
Example #3
0
 def is_preview_supported(self):
     # XXX TODO: should be persistent called two times
     if PDFCONVERTER_AVAILABLE:
         return IPreviewMarker.providedBy(self.context)
     return False
Example #4
0
 def previewSupported(self):
     if not PDFCONVERTER_AVAILABLE:
         # PDF Converter isn't available at all
         return False
     else:
         return IPreviewMarker.providedBy(self.context)
Example #5
0
 def previewSupported(self):
     if not PDFCONVERTER_AVAILABLE:
         # PDF Converter isn't available at all
         return False
     else:
         return IPreviewMarker.providedBy(self.context)