From 57ad0cdc98f3b631dc2fa75b5ba191460085779c Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 22 Oct 2008 15:14:33 +0000 Subject: [PATCH] Add png_to_text transformation git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24290 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_transforms/png_to_text.xml | 87 +++++++++++++++++++ .../ERP5/bootstrap/erp5_core/bt/change_log | 1 + product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_transforms/png_to_text.xml diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_transforms/png_to_text.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_transforms/png_to_text.xml new file mode 100644 index 0000000000..bedfe55813 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_transforms/png_to_text.xml @@ -0,0 +1,87 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Transform" module="Products.PortalTransforms.Transform"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_config</string> </key> + <value> + <object> + <klass> + <global id="1.1" name="UserDict" module="UserDict"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>__allow_access_to_unprotected_subobjects__</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_config_metadata</string> </key> + <value> + <object> + <klass> <reference id="1.1"/> </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>png_to_text</string> </value> + </item> + <item> + <key> <string>inputs</string> </key> + <value> + <tuple> + <string>image/png</string> + </tuple> + </value> + </item> + <item> + <key> <string>module</string> </key> + <value> <string>Products.ERP5Type.patches.transforms.png_to_text</string> </value> + </item> + <item> + <key> <string>output</string> </key> + <value> <string>text/plain</string> </value> + </item> + <item> + <key> <string>output_encoding</string> </key> + <value> <string>utf-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log index 7918058cc9..842ff2b445 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/change_log +++ b/product/ERP5/bootstrap/erp5_core/bt/change_log @@ -1,5 +1,6 @@ 2008-10-22 Romain * portal_transforms subobject should exported with the path parameter of the business template +* Add png_to_text transformation 2008-10-20 Thibaut * Allow portal_transforms to extract content.xml file from odt file (zip file). diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index cf5106d72a..7cebf7db5f 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -999 \ No newline at end of file +1001 \ No newline at end of file -- 2.30.9