[Erp5-report] r42260 kazuhiko - in /erp5/trunk/bt5/erp5_dms: PathTemplateItem/portal_contri...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 12 13:02:27 CET 2011


Author: kazuhiko
Date: Wed Jan 12 13:02:27 2011
New Revision: 42260

URL: http://svn.erp5.org?rev=42260&view=rev
Log:
add more mime-type based portal type predicates.

Added:
    erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/draw_mimetype.xml
    erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/presentation_mimetype.xml
    erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/spreadsheet_mimetype.xml
Modified:
    erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/text_by_conent_type.xml
    erp5/trunk/bt5/erp5_dms/bt/revision
    erp5/trunk/bt5/erp5_dms/bt/template_path_list

Added: erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/draw_mimetype.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/draw_mimetype.xml?rev=42260&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/draw_mimetype.xml (added)
+++ erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/draw_mimetype.xml [utf8] Wed Jan 12 13:02:27 2011
@@ -0,0 +1,71 @@
+<?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>

Added: erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/presentation_mimetype.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/presentation_mimetype.xml?rev=42260&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/presentation_mimetype.xml (added)
+++ erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/presentation_mimetype.xml [utf8] Wed Jan 12 13:02:27 2011
@@ -0,0 +1,77 @@
+<?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>

Added: erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/spreadsheet_mimetype.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/spreadsheet_mimetype.xml?rev=42260&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/spreadsheet_mimetype.xml (added)
+++ erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/spreadsheet_mimetype.xml [utf8] Wed Jan 12 13:02:27 2011
@@ -0,0 +1,80 @@
+<?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>

Modified: erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/text_by_conent_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/text_by_conent_type.xml?rev=42260&r1=42259&r2=42260&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/text_by_conent_type.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/PathTemplateItem/portal_contribution_registry/text_by_conent_type.xml [utf8] Wed Jan 12 13:02:27 2011
@@ -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>

Modified: erp5/trunk/bt5/erp5_dms/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/revision?rev=42260&r1=42259&r2=42260&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/bt/revision [utf8] Wed Jan 12 13:02:27 2011
@@ -1 +1 @@
-1235
\ No newline at end of file
+1236
\ No newline at end of file

Modified: erp5/trunk/bt5/erp5_dms/bt/template_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/template_path_list?rev=42260&r1=42259&r2=42260&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/template_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/bt/template_path_list [utf8] Wed Jan 12 13:02:27 2011
@@ -1,12 +1,15 @@
 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



More information about the Erp5-report mailing list