<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:five="http://namespaces.zope.org/five"
    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
    xmlns:zcml="http://namespaces.zope.org/zcml"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    xmlns:pp="http://namespaces.zopyx.com/pp"
    xmlns:plone="http://namespaces.plone.org/plone"
    i18n_domain="zopyx.plone.smashdocs"
    >

    <browser:page
        name="convert-docx"
        for="..smashdocument.ISmashDocument"
        permission="cmf.ModifyPortalContent"
        class=".converters.Converters"
        attribute="convert_docx"
        layer="zopyx.plone.smashdocs.interfaces.IBrowserLayer"
        />

    <browser:page
        name="convert-pdf"
        for="..smashdocument.ISmashDocument"
        permission="cmf.ModifyPortalContent"
        class=".converters.Converters"
        attribute="convert_pdf"
        layer="zopyx.plone.smashdocs.interfaces.IBrowserLayer"
        />

    <browser:page
        name="convert-epub"
        for="..smashdocument.ISmashDocument"
        permission="cmf.ModifyPortalContent"
        class=".converters.Converters"
        attribute="convert_epub"
        layer="zopyx.plone.smashdocs.interfaces.IBrowserLayer"
        />

    <browser:page
        name="asHTML"
        for="..smashdocument.ISmashDocument"
        permission="cmf.ModifyPortalContent"
        class=".converters.Converters"
        attribute="asHTML"
        layer="zopyx.plone.smashdocs.interfaces.IBrowserLayer"
        />

    <browser:page
        name="convert-html"
        for="..smashdocument.ISmashDocument"
        permission="cmf.ModifyPortalContent"
        class=".converters.Converters"
        attribute="convert_html"
        layer="zopyx.plone.smashdocs.interfaces.IBrowserLayer"
        />

    <browser:page
        name="convert-sdxml"
        for="..smashdocument.ISmashDocument"
        permission="cmf.ModifyPortalContent"
        class=".converters.Converters"
        attribute="convert_sdxml"
        layer="zopyx.plone.smashdocs.interfaces.IBrowserLayer"
        />

</configure>
