Commit f8f7ea9e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add more mime-type based portal type predicates.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42260 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdaef6cf
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Contribution Predicate" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<dictionary>
<item>
<key> <string>content_type</string> </key>
<value>
<list>
<string>application/vnd.oasis.opendocument.graphics</string>
<string>application/vnd.oasis.opendocument.graphics-template</string>
<string>application/vnd.sun.xml.draw</string>
<string>application/vnd.sun.xml.draw.template</string>
<string>application/vnd.stardivision.draw</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>criterion_property</string> </key>
<value>
<tuple>
<string>content_type</string>
</tuple>
</value>
</item>
<item>
<key> <string>destination_portal_type</string> </key>
<value> <string>Draw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draw_mimetype</string> </value>
</item>
<item>
<key> <string>int_index</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Contribution Predicate</string> </value>
</item>
<item>
<key> <string>test_method_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draw by mimetype</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Contribution Predicate" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<dictionary>
<item>
<key> <string>content_type</string> </key>
<value>
<list>
<string>application/vnd.oasis.opendocument.presentation</string>
<string>application/vnd.oasis.opendocument.presentation-template</string>
<string>application/vnd.sun.xml.impress</string>
<string>application/vnd.sun.xml.impress.template</string>
<string>application/vnd.stardivision.impress</string>
<string>application/mspowerpoint</string>
<string>application/vnd.ms-powerpoint</string>
<string>application/vnd.openxmlformats-officedocument.presentationml.presentation</string>
<string>application/vnd.ms-powerpoint.presentation.macroenabled.12</string>
<string>application/vnd.openxmlformats-officedocument.presentationml.template</string>
<string>application/vnd.ms-powerpoint.template.macroenabled.12</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>criterion_property</string> </key>
<value>
<tuple>
<string>content_type</string>
</tuple>
</value>
</item>
<item>
<key> <string>destination_portal_type</string> </key>
<value> <string>Presentation</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>presentation_mimetype</string> </value>
</item>
<item>
<key> <string>int_index</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Contribution Predicate</string> </value>
</item>
<item>
<key> <string>test_method_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Presentation by mimetype</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Contribution Predicate" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<dictionary>
<item>
<key> <string>content_type</string> </key>
<value>
<list>
<string>application/vnd.oasis.opendocument.spreadsheet</string>
<string>application/vnd.oasis.opendocument.spreadsheet-template</string>
<string>application/vnd.sun.xml.calc</string>
<string>application/vnd.sun.xml.calc.template</string>
<string>application/vnd.stardivision.calc</string>
<string>application/vnd.stardivision.chart</string>
<string>application/msexcel</string>
<string>application/vnd.ms-excel</string>
<string>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</string>
<string>application/vnd.ms-excel.sheet.macroenabled.12</string>
<string>application/vnd.openxmlformats-officedocument.spreadsheetml.template</string>
<string>application/vnd.ms-excel.template.macroenabled.12</string>
<string>application/vnd.ms-excel.sheet.binary.macroenabled.12</string>
<string>application/x-dbf</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>criterion_property</string> </key>
<value>
<tuple>
<string>content_type</string>
</tuple>
</value>
</item>
<item>
<key> <string>destination_portal_type</string> </key>
<value> <string>Spreadsheet</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>spreadsheet_mimetype</string> </value>
</item>
<item>
<key> <string>int_index</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Contribution Predicate</string> </value>
</item>
<item>
<key> <string>test_method_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Spreadsheet by mimetype</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -15,6 +15,25 @@
<value>
<list>
<string>text/plain</string>
<string>application/vnd.oasis.opendocument.text</string>
<string>application/vnd.oasis.opendocument.text-template</string>
<string>application/vnd.oasis.opendocument.text-web</string>
<string>application/vnd.oasis.opendocument.text-master</string>
<string>application/vnd.sun.xml.writer</string>
<string>application/vnd.sun.xml.writer.template</string>
<string>application/vnd.sun.xml.writer.global</string>
<string>application/vnd.stardivision.writer</string>
<string>application/msword</string>
<string>application/vnd.ms-word</string>
<string>application/x-doc</string>
<string>application/rtf</string>
<string>text/rtf</string>
<string>application/vnd.wordperfect</string>
<string>application/wordperfect</string>
<string>application/vnd.openxmlformats-officedocument.wordprocessingml.document</string>
<string>application/vnd.ms-word.document.macroenabled.12</string>
<string>application/vnd.openxmlformats-officedocument.wordprocessingml.template</string>
<string>application/vnd.ms-word.template.macroenabled.12</string>
</list>
</value>
</item>
......
1235
\ No newline at end of file
1236
\ No newline at end of file
portal_alarms/document_update_content_alarm
portal_caches/dms_cache_factory
portal_caches/dms_cache_factory/**
portal_contribution_registry/draw_mimetype
portal_contribution_registry/drawing_extension
portal_contribution_registry/pdf_extension
portal_contribution_registry/pdf_mimetype
portal_contribution_registry/presentation_extension
portal_contribution_registry/presentation_mimetype
portal_contribution_registry/spreadsheet_by_content
portal_contribution_registry/spreadsheet_extension
portal_contribution_registry/spreadsheet_mimetype
portal_contribution_registry/text_by_conent_type
portal_contribution_registry/text_by_content
portal_contribution_registry/text_extension
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment