Commit 0d00dba9 authored by Bartek Górny's avatar Bartek Górny

Changed DMS Pdf File into PdfDocument (with another base class)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9411 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a83eacf9
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>50.0</float> </value>
<value> <float>35.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,16 +2,13 @@
<portal_type id="DMS File">
<item>Role Definition</item>
</portal_type>
<portal_type id="DMS Pdf File">
<item>Role Definition</item>
</portal_type>
<portal_type id="Document Module">
<item>Text</item>
<item>Spreadsheet</item>
<item>DMS Pdf File</item>
<item>Presentation</item>
<item>DMS File</item>
<item>Graphic</item>
<item>PdfDocument</item>
</portal_type>
<portal_type id="File">
<item>Role Definition</item>
......@@ -22,6 +19,9 @@
<portal_type id="Image Module">
<item>Image</item>
</portal_type>
<portal_type id="PdfDocument">
<item>Role Definition</item>
</portal_type>
<portal_type id="Presentation">
<item>Role Definition</item>
</portal_type>
......
......@@ -58,19 +58,16 @@
</item>
<item>
<key> <string>content_meta_type</string> </key>
<value> <string>ERP5 DMS File</string> </value>
<value> <string>ERP5 Pdf Document</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string> Special base class, different from File only in that it can contain things \n
(like Role Definition, for example)\n
Could (perhaps should) be a parent class for OOoDocument\n
Should probably be located somewhere else\n
</string> </value>
<value> <string> PdfDocument - same as DMS File, but has its own getSearchableText method\n
(converts via pdftotext)</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addDMSFile</string> </value>
<value> <string>addPdfDocument</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
......@@ -90,7 +87,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>DMS Pdf File</string> </value>
<value> <string>PdfDocument</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......
......@@ -3,14 +3,14 @@
<type>DMS File</type>
<workflow>document_publication_workflow, edit_workflow, local_permission_interaction_workflow, dms_file_interaction_workflow</workflow>
</chain>
<chain>
<type>DMS Pdf File</type>
<workflow>document_publication_workflow, edit_workflow, dms_file_interaction_workflow, local_permission_interaction_workflow</workflow>
</chain>
<chain>
<type>Graphic</type>
<workflow>ooo_interaction_workflow, edit_workflow, local_permission_interaction_workflow, dms_file_interaction_workflow, document_publication_workflow</workflow>
</chain>
<chain>
<type>PdfDocument</type>
<workflow>dms_file_interaction_workflow, edit_workflow, document_publication_workflow, local_permission_interaction_workflow</workflow>
</chain>
<chain>
<type>Presentation</type>
<workflow>document_publication_workflow, local_permission_interaction_workflow, dms_file_interaction_workflow, edit_workflow, ooo_interaction_workflow</workflow>
......
2006-08-24 BG
Changed DMS Pdf File into PdfDocument (with another base class)
Done a number of small fixtures.
2008-08-17 BG
Parsing search string for extra tricks
......
88
\ No newline at end of file
96
\ No newline at end of file
......@@ -4,12 +4,6 @@ DMS File | local_permission
DMS File | metadata
DMS File | related_document
DMS File | view
DMS Pdf File | download
DMS Pdf File | history
DMS Pdf File | local_permission
DMS Pdf File | metadata
DMS Pdf File | related_document
DMS Pdf File | view
Document Module | advanced_search
Document Module | list_ui
Document Module | sort_on
......@@ -30,6 +24,12 @@ Graphic | view
Image Module | list_ui
Image Module | sort_on
Image Module | view
PdfDocument | download
PdfDocument | history
PdfDocument | local_permission
PdfDocument | metadata
PdfDocument | related_document
PdfDocument | view
Preference | dms_preferences
Presentation | convert
Presentation | create_snapshot
......
DMS File | Role Definition
DMS Pdf File | Role Definition
Document Module | DMS File
Document Module | DMS Pdf File
Document Module | Graphic
Document Module | PdfDocument
Document Module | Presentation
Document Module | Spreadsheet
Document Module | Text
File | Role Definition
Graphic | Role Definition
Image Module | Image
PdfDocument | Role Definition
Presentation | Role Definition
Spreadsheet | Role Definition
Text | Role Definition
\ No newline at end of file
DMS File
DMS Pdf File
Document Module
Graphic
Image Module
PdfDocument
Presentation
Role Definition
Spreadsheet
......
......@@ -2,15 +2,15 @@ DMS File | dms_file_interaction_workflow
DMS File | document_publication_workflow
DMS File | edit_workflow
DMS File | local_permission_interaction_workflow
DMS Pdf File | dms_file_interaction_workflow
DMS Pdf File | document_publication_workflow
DMS Pdf File | edit_workflow
DMS Pdf File | local_permission_interaction_workflow
Graphic | dms_file_interaction_workflow
Graphic | document_publication_workflow
Graphic | edit_workflow
Graphic | local_permission_interaction_workflow
Graphic | ooo_interaction_workflow
PdfDocument | dms_file_interaction_workflow
PdfDocument | document_publication_workflow
PdfDocument | edit_workflow
PdfDocument | local_permission_interaction_workflow
Presentation | dms_file_interaction_workflow
Presentation | document_publication_workflow
Presentation | edit_workflow
......
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