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 2.5.X, Plone 3.0.X
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
Using SmartPrintNG:
on Plone 2.5 you will a new PDF icon within your document actions. Clicking on it will open the SmartPrintNG control panel at the bottom of your current page.
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.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 Distribution
Built Distribution
Hashes for Products.SmartPrintNG-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cc3655776f818d51a88960b9845411d1d4b31e841207e404800d85ad2ce7ed5 |
|
MD5 | e773b8aad1f76857b1eede117466f1a6 |
|
BLAKE2b-256 | 35400157747118b5cf5370e98e8abc785c2cdbc0fe12bd88cab1d9a1b25ec551 |
Hashes for Products.SmartPrintNG-1.0.1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 504b6258489134944d467e029ccfa4cfb122964443d02f990ef819895ee0fa8f |
|
MD5 | 74d8f69d39f0cf7da05e93ca4a9070ef |
|
BLAKE2b-256 | 9c49b9aec78b9c84982f464a05e24119cf1e9e65476b5019ddbbab2e8334ba15 |