OpenXml

OpenXml documents support for Plone

Current release
Products.OpenXml 1.0.3

Released Dec 18, 2009 — tested with Plone 3, Plone 2.5

Requires now openxmllib 1.0.6 + that fixes an ambiguous API issue that may slow down file parsing on big files.
More about this release…

Download fileGet OpenXml for all platforms (38.1 kB)
Products.OpenXml-1.0.3.tar.gz
Download fileGet OpenXml for all platforms (94.3 kB)
Products.OpenXml-1.0.3-py2.4.egg

Project Description

OpenXml

By Gilles Lenfant

About OpenXml

OpenXml provides Plone resources for OpenXml documents :

  • A set of icons for Office 2007 documents
  • A set of PortalTransforms plugins suitable to OpenXml documents indexing

Requirements

  • Plone 2.5 or Plone 3 (note that indexing of OpenXml documents in ATFile or FileFields only works from Plone 3.x due to AT changes in field indexing).
  • openxmllib 1.0.0 (+) for Python: http://code.google.com/p/openxmllib/
  • Note that openxmllib requires the - excellent - lxml. See the instructions provided in openxmllib documentation.

Note that if you install OpenXml with zc.buildout, you should not care about installing openxmllib or lxml.

Install

With zc.buildout

From now, OpenXml is an egg, but you already know it if you're reading this browsing the pypi site. So to get the latest distro suitable to your Plone, you only need to add Products.OpenXml to the eggs list of your buildout.cfg.

Without zc.buildout
::
$ easy_install openxmllib

Install the OpenXml directory from the unzipped egg into your instance Products folder.

License

This software is subject to the provisions of the GNU General Public License, Version 2.0 (GPL). A copy of the GPL should accompany this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE

More details in the LICENSE file included in this package.

Testing

Please read tests/README.txt for unit tests.

Credits

Download

You may find newer versions of PloneArticle from http://plone.org/products/openxml

Support

Before asking for support, please make sure that your problem is not described in the documentation that ships with OpenXml or any required component (see Requirements above).

History

1.0.3

  • Added dependency on openxmllib 1.0.6 due to API changes and bugfix on large powerpoint files. [glenfant]
  • Added metadata.xml to the GS-profile to avoid DeprecationWarning "Version for profile Products.OpenXml:default taken from version.txt" [WouterVH]

1.0.1

https://svn.plone.org/svn/collective/Products.OpenXml/tags/1.0.1

  • Added Plone 2.5 compatibility. Note that ATFile that ships with Plone 2.5 does not attempt to index file contents. So only icons and mime types work on a Vanilla Plone 2.5. If you need support for indexing, consider using AttachmentField and PloneExFile that fit with Plone 2.5. As a consequence, the unit test "testATfileSearchableText" fails. [glenfant]
  • Fixed a typo in unit tests. [glenfant]

1.0.0

https://svn.plone.org/svn/collective/Products.OpenXml/tags/1.0.0

  • Added new mime types to the "mimetypes" standard module (should be done by openxmllib in next release) [glenfant]
  • Transform support when mime type is not provided but the filename is available. [glenfant]
  • Log the error message and traceback when the user provides a crappy file. [glenfant]