Conversion of Plone content to PDF, RTS, ODT, DOCX and WML
Project description
SmartPrintNG provides high-quality export to the most common office formats like PDF, RTF, ODT, DOCX and WML based on XSL-FO.
Features:
SmartPrintNG can convert the ‘content’ view of Plone documents into different formats:
PDF
ODT (native Openoffice format)
RTF (Rich Text Format)
DOCS (native Microsoft Office 2007 format)
WML (older Microsoft Office 2003(?) XML-based format)
Other features:
customizable templates per content-type
customizable stylesheets per content-type
configurable per-content-type content aggregation
customizable conversion workflow chain e.g. to prepare the HTML e.g by removing links or generating link lists
document-structure-driven conversion: e.g. the H1 tags can be used to enforce page-breaks in order to use sections starting with a H1 tag as marker for a new chapter.
Requirements:
zopyx.convert V 1.0.0 or higher, see http://cheeseshop.python.org/pypi/zopyx.convert
BeautifulSoup
Plone 3.0, 3.1 (no support for Plone 2.5)
Javascript-enabled browser
PIL (Python Imaging Library)
Installation:
ensure that zopyx.convert is installed including all its dependencies
unpack the SmartPrintNG archive inside the Products folder of your instance home
add SmartPrintNG through the Add/Remove programms functionalty inside the Plone UI
if you create a new Plone site, ensure to pick up the proper extension profile matching your Plone version
Using SmartPrintNG:
on Plone 3.0 you will see Export as new document action. Clicking on it will open the SmartPrintNG control panel at the bottom of your current page.
License
SmartPrintNG is published under LGNU Public License V 3.0 (LGPL 3.0) for non-commercial use (NGOs, charity organizations, educational institutions). Any commercial use requires a commercial license. Contact us for terms and conditions.
Copyright
SmartPrintNG is (C) 2007, 2008, ZOPYX Ltd. & Co KG, Charlottenstr. 37/1, D-72070 Tuebingen, Germany
Contact
CHANGES
1.1.3 (18.06.2008)
‘filename’ parameter was not properly escaped causing some trouble on MacOSX where temporary directory names contained ‘+++’
1.1.2 (20.04.2008)
fixed jQuery integration issue related to the $() shortcut
1.1.1 (18.04.2008)
removeLinks no longer removed complete <a> tags but replaces it with a <span> tag containing the former linktext
dropping support for Plone 2.5
1.1.0 (15.04.2008)
replaced prototype.js with JQuery (patch by Alessandro XXXX)
Plone 3.1 compatiblity
now comes with dedicated GenericSetup profiles for Plone 3.0 and Plone 3.1
1.0.1 (27.01.2008)
fixed a manipulation error with internal anchors (having no ‘href’ attribute)
escaping whitespaces (browser.deliver())
license change: now using LGPL 3
some stylesheet fine-tuning
support for ‘redirect=1’ as URL parameter fixed
provided adapter for extracting HTML from standard documents (basically for supporting document actions without the JS popup).
1.0.0 (30.09.2007)
official 1.0.0 release
0.2.0 (08.09.2007)
per-interface IHTMLExtractor support (backend and UI). Look at the demo folder (plone_adapters.py)
fixed JS racing condition in smartprint.js
better error handling in case of a backend failure
german translation
the new ZCML directive smartprintng:resourceDirectory allows you to register all templates (suffix .pt) and stylesheets (suffix .css) within the given directory for one or more interfaces. See demo/configure.zcml and the whole demo directory for examples.
templates, stylesheets and FO related stylesheets completely configurable on a per-interface basis
moved default styles and default FO styles to ‘resources’ directory
using the BeautifulSoup module for HTML manipulations
0.1.1 (19.07.2007)
Plone 2.5 support
0.1.0 (13.07.2007)
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for Products.SmartPrintNG-1.1.3-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91a99079d2b28900651ae9154cc79d6c5e84bdb37a0d6ff38aafcc8383e3e308 |
|
MD5 | 2fa1d624a3678b2d274259eea4f3bdcf |
|
BLAKE2b-256 | 376cfba70e378d0605692d4ef0106b12dc4830e518903c53d83c2ab31b432dc7 |