- 12 May, 2010 40 commits
-
-
Nicolas Delaby authored
* no need to call getTextFormat, this property hsa been removed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35243 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
Now if a TextDocument is filledi in with a file, convertToBaseFormat will try to convert the content of this file into utf-8 whatever the encoding used. The result of base_data conversion will not be stored into base_data property but text_content. Backward compatibility is keept, thanks to getContentType which reads text_format property if content_type is empty. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35242 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* setData and setFile can be used * text_format and content_type are similar so delete this property from TextDocument PropertySheet * Delete ad hoc support for DAV control git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35241 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* use DEFAULT_QUALITY constant * Postpone the test off relevance conversion parameters in order to check if resizing is not needed to fit display ratio. If test succeed then call convert, otherwise return raw image (getData). * remove _getDisplayPhoto and merge is code inside _makeDisplayPhoto because this method is called from only one statement and factorisation is null git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35240 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* Call hasData instead of get_size to follow ERP5 API * call getSizeFromImageDisplay()only once * getSizeFromImageDisplay will return default dimension of Image itself of display is not inside DEFAULT_DISPLAY_ID_LIST git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35239 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35238 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35237 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
from string format git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35236 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35235 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
No need to inherit from CachedConvertableMixin as Image already inherit. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35234 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35233 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35232 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35231 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
because it does not implement IBaseConvertable interface git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35229 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35228 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35227 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* override _setData to wrapp it into PData * override getData to extract PData * use new size property from Data PropertySheet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35226 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35225 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* According content_type wrap data into TempDocument who support convert then return the converted value from this temporary document. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35224 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
import text format list from Document git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35223 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35222 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
in order to share them in all Document's (OOoDocument, Image, File, ...) code and improve consistency. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35221 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35220 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35219 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
let convert method return the expected data (for TextDocument, data comes from text_content). Also, convert method only should raise NotConvertedError if needed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35218 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
acceptable encoding (it is reliable for html content only), So fallback to file command (only available on linux2 platform) to detect used encoding for text/plain. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35217 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
public methods: - getConversion - getConversionMd5 - getConversionDate - getConversionSize git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35216 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35215 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35214 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35213 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35212 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35211 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
Search button emulates a link now. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35210 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
- Follows TextDocument PropertySheet - implement content substitution feature git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35209 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35208 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35207 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35206 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
This method will help caching handling by checking that cached conversion result is computed from same data as the one carried by document. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35205 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35204 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
of the returned filename git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35203 20353a03-c40f-0410-a6d1-a30d3c3de9de
-