Commit 47f3f54e authored by Jean-Paul Smets's avatar Jean-Paul Smets

More property sheets

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13565 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7cf0a72a
......@@ -35,6 +35,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):
"""
A Document contains text which can be formatted using
......@@ -75,6 +77,9 @@ class TextDocument(Document, TextContent):
, PropertySheet.DublinCore
, PropertySheet.Version
, PropertySheet.Document
, PropertySheet.Snapshot
, PropertySheet.ExternalDocument
, PropertySheet.Url
, PropertySheet.TextDocument
)
......@@ -157,4 +162,4 @@ class TextDocument(Document, TextContent):
return searchable_text
# Compatibility with CMF Catalog / CPS sites
SearchableText = getSearchableText # XXX-JPS - Here wa have a security issue - ask seb what to do
\ No newline at end of file
SearchableText = getSearchableText # XXX-JPS - Here wa have a security issue - ask seb what to do
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