<?xml version="1.0"?>
<type-info id="Document"
           kind="Factory-based Type Information">
  <property name="title">Document</property>
  <property name="description">Documents contain text that can be formatted using 'Structured Text.'
They may also contain HTML, or "plain" text.</property>
  <property name="content_icon">document_icon.gif</property>
  <property name="content_meta_type">Document</property>
  <property name="product">CMFDefault</property>
  <property name="factory">addDocument</property>
  <property name="immediate_view">metadata_edit_form</property>
  <property name="global_allow">True</property>
  <property name="filter_content_types">True</property>
  <property name="allowed_content_types"></property>
  <property name="allow_discussion">False</property>
  <aliases>
   <alias from="gethtml" to="source_html"/>
   <alias from="(Default)" to="document_view"/>
   <alias from="view" to="document_view"/>
  </aliases>
  <action action_id="view" title="View" condition_expr=""
          url_expr="string:${object_url}/document_view"
          category="object" visible="True">
   <permission>View</permission>
  </action>
  <action action_id="edit" title="Edit" condition_expr=""
          url_expr="string:${object_url}/document_edit_form"
          category="object" visible="True">
   <permission>Modify portal content</permission>
  </action>
  <action action_id="metadata" title="Metadata"
          condition_expr=""
          url_expr="string:${object_url}/metadata_edit_form"
          category="object" visible="True">
   <permission>Modify portal content</permission>
  </action>
</type-info>
