<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    >

  <browser:page
      name="generate-pdf-for-contents"
      for="*"
      class=".maintenance.GenerateSyncPDFView"
      permission="cmf.ManagePortal"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="generate-pdf-for-contents-async"
      for="*"
      class=".maintenance.GeneratePDFAsyncView"
      permission="cmf.ManagePortal"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="generate-pdf-for-contents-excel"
      for="*"
      class=".maintenance.GenerateExcelPDFAsyncView"
      permission="cmf.ManagePortal"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="pdf"
      for="*"
      class=".pdf.PdfView"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="render.svg"
      for="*"
      class=".svg.SVGRender"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />
  <browser:pages
      for="plone.app.contenttypes.interfaces.IFile"
      class=".poster.Poster"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      >
    <browser:page name="poster.jpg" />
    <browser:page
        name="generate-poster"
        attribute="generate_poster"
        />
  </browser:pages>

  <browser:page
      name="generate-lead-image"
      for="plone.app.contenttypes.interfaces.ILink"
      class=".lead_image.LeadImage"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="poster.jpg"
      for="*"
      class=".poster.Poster"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="pi-small-thumbnail"
      for="*"
      class=".thumbnail.SmallView"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="generate-pdf-for-recent-contents-async"
      for="*"
      class=".maintenance.GenerateMissingPDFForRecentContent"
      permission="cmf.ManagePortal"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="preview-debug"
      for="*"
      class=".maintenance.PreviewDebug"
      permission="cmf.ManagePortal"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="docconv-print-preview"
      for="plone.app.contenttypes.interfaces.IDocument"
      class=".preview.PrintPreview"
      template="templates/docconv-print-preview.pt"
      permission="zope2.View"
      layer="..interfaces.IPloneintranetDocconvClientLayer"
      />

  <browser:page
      name="purge-old-previews"
      for="*"
      class=".maintenance.PurgeOldPreviews"
      permission="cmf.ManagePortal"
      />

</configure>
