[Erp5-report] r35206 nicolas - /erp5/trunk/products/ERP5/interfaces/document.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 12 14:50:40 CEST 2010
Author: nicolas
Date: Wed May 12 14:50:36 2010
New Revision: 35206
URL: http://svn.erp5.org?rev=35206&view=rev
Log:
remove private method from interface
Modified:
erp5/trunk/products/ERP5/interfaces/document.py
Modified: erp5/trunk/products/ERP5/interfaces/document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/document.py?rev=35206&r1=35205&r2=35206&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/document.py [utf8] Wed May 12 14:50:36 2010
@@ -187,7 +187,7 @@
def convert(format, **kw):
"""Call a wrapped function with CachingMethod and
- return always converted result.
+ return always converted result: ie. tuple(content_type, data)
format - the format specied in the form of an extension
string (ex. jpeg, html, text, txt, etc.)
@@ -217,22 +217,6 @@
Use accessors (getBaseData, setBaseData, hasBaseData, etc.)
"""
- def _convertToBaseFormat():
- """Placeholder method. Must be subclassed by classes
- which need a base format. Refer to OOoDocument
- for an example of ODF base format which is used
- as a way to convert about any file format into
- about any file format.
-
- Other possible applications: conversion of HTML
- text to tiddy HTML such as described here:
- http://www.xml.com/pub/a/2004/09/08/pyxml.html
- so that resulting text can be processed more
- easily by XSLT parsers. Conversion of internal
- links to images of an HTML document to local
- links (in combindation with populate).
- """
-
def hasConversion(**kw):
"""Return a boolean if conversion is cached
"""
@@ -252,10 +236,6 @@
"""Returns the size of the converted document.
"""
- def _getCacheFactory():
- """Return list of cache plugins
- """
-
def isSupportBaseDataConversion():
"""This is a public interface to check a document that is support conversion
to base format and can be overridden in subclasses.
More information about the Erp5-report
mailing list