Skip to main content

OpenXml documents support for Plone

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, Plone 3.x, or Plone 4.0 (note that indexing of OpenXml documents in ATFile or FileFields only works from Plone 3.x onwards 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

  • Icons gracefully given by Alexander Gross <http://www.therightstuff.de/2006/12/16/Office+2007+File+Icons+For+Windows+SharePoint+Services+20+And+SharePoint+Portal+Server+2003.aspx>

  • Minor Plone 4 updates by David Breitkreutz (davidjb)

SVN repository

Point your SVN client to https://svn.plone.org/svn/collective/Products.OpenXml/

Download

You may find newer versions of Products.OpenXml 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.1.0

  • Updated mimetypes registry unit test to work with Plone 4 as well since isImplentedBy doesn’t exist on InterfaceClass objects. [davidjb]

  • Modified setup handler to overwrite existing mimetype registry entries as Plone 4 provides a basic implementation. [davidjb]

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.2

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

  • Removed unnecessary required eggs.

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]

1.0.0 beta 1

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

  • First public release [glenfant]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.OpenXml-1.1.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distributions

Products.OpenXml-1.1.0-py2.6.egg (97.2 kB view details)

Uploaded Source

Products.OpenXml-1.1.0-py2.4.egg (97.3 kB view details)

Uploaded Source

File details

Details for the file Products.OpenXml-1.1.0.tar.gz.

File metadata

File hashes

Hashes for Products.OpenXml-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3aac7d2872d8ea55bdbf1cf8d2247f9fa8e1e00f40e064460e013b13d7959667
MD5 a955282e62804251d456e558fec61cfd
BLAKE2b-256 a6845b4e9465bc3c84b3bb9c72f82fee7fe922602bc62291719e00f08bd94cc9

See more details on using hashes here.

File details

Details for the file Products.OpenXml-1.1.0-py2.6.egg.

File metadata

File hashes

Hashes for Products.OpenXml-1.1.0-py2.6.egg
Algorithm Hash digest
SHA256 a22a2801243f845ba08ec584aafc20edb571d45bbd2823b707489f636fde4877
MD5 ef7fde11a324c3f9cff136db83a16ded
BLAKE2b-256 b91f8908dbe5641847ca117413d8c02c4ffd1914e5fe2a19ccfee1b7cda4b12b

See more details on using hashes here.

File details

Details for the file Products.OpenXml-1.1.0-py2.4.egg.

File metadata

File hashes

Hashes for Products.OpenXml-1.1.0-py2.4.egg
Algorithm Hash digest
SHA256 19da5470f9e99812a1bd101b875d1d5c24d164bc8a5f3f52f70337db4783df85
MD5 8bd513fa533cb3f3f64bac685a7ac208
BLAKE2b-256 312c39a2ab9b7983563d141c6f493a39cdda725e0629540041ed6e0a906f8c79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page