[Erp5-report] r13565 - /erp5/trunk/products/ERP5/Document/TextDocument.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 22 15:43:46 CET 2007


Author: jp
Date: Thu Mar 22 15:43:45 2007
New Revision: 13565

URL: http://svn.erp5.org?rev=13565&view=rev
Log:
More property sheets

Modified:
    erp5/trunk/products/ERP5/Document/TextDocument.py

Modified: erp5/trunk/products/ERP5/Document/TextDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TextDocument.py?rev=13565&r1=13564&r2=13565&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TextDocument.py (original)
+++ erp5/trunk/products/ERP5/Document/TextDocument.py Thu Mar 22 15:43:45 2007
@@ -34,6 +34,8 @@
 from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
 from Products.ERP5.Document.Document import Document
 from Products.ERP5Type.WebDAVSupport import TextContent
+
+import re
 
 class TextDocument(Document, TextContent):
     """
@@ -75,6 +77,9 @@
                       , PropertySheet.DublinCore
                       , PropertySheet.Version
                       , PropertySheet.Document
+                      , PropertySheet.Snapshot
+                      , PropertySheet.ExternalDocument
+                      , PropertySheet.Url
                       , PropertySheet.TextDocument
                       )
 
@@ -157,4 +162,4 @@
         return searchable_text
 
     # Compatibility with CMF Catalog / CPS sites
-    SearchableText = getSearchableText # XXX-JPS - Here wa have a security issue - ask seb what to do
+    SearchableText = getSearchableText # XXX-JPS - Here wa have a security issue - ask seb what to do




More information about the Erp5-report mailing list