{ "info": { "author": "Alter Way Solutions", "author_email": "support@ingeniweb.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Plone", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "===========\naws.pdfbook\n===========\n\nDescription\n===========\n\n``aws.pdfbook`` is a component for Plone 3 or Plone 4 that enables to download\ncontent rendered to PDF. It provides support for default content types. Third\nparty content type authors and integrators may add support to their personal\ncontent types through dedicated Zope 3 named views.\n\nWhen downloading a Folder or a Topic/Collection, all subcontents is included in\nthe PDF document but not recursively.\n\n.. warning::\n\n `htmldoc `_ requires ISO latin 9 encoded HTML. As a\n consequence, this component is suitable only to site in western european\n languages. We cannot support Hebrew, Arabic, (...) as long as htmldoc does not\n support UTF-8.\n\n\nRequirements\n============\n\nThe following softwares should be installed:\n\n* Tested with Plone 3.x, Plone 4.0, Plone 4.1.\n* htmldoc (required)\n* recode (optional)\n\nInstallation\n============\n\nInstance wide\n-------------\n\nIn your ``buildout.cfg`` file::\n\n [buildout]\n ...\n eggs =\n ...\n aws.pdfbook\n\nWe assume that:\n\n* The site charset is ``utf-8``\n* The server buffer for downloading has 40000 bytes.\n\nOtherwise you can change these default values in your ``zope.conf`` or in\n``buildout.cfg`` like this::\n\n [instance]\n recipe = plone.recipe.zope2instance\n ...\n zope-conf-additional =\n ...\n \n # Your site charset (default: utf-8)\n site-charset utf-8\n # The download buffer bytes size (default: 40000)\n download-buffer-size 40000\n \n ...\n\n.. note::\n\n Increasing the buffer size may speed up download but at the expense of a\n bigger memory footprint.\n\nPlone site\n----------\n\nIn your Plone site go to the 'Site Setup' page and click on the 'Add/Remove\nProducts' link.\n\nChoose ``aws.pdfbok`` (check its checkbox) and click the 'Install' button.\n\nThe go **as soon as possible** to the **PDF Book** configuration panel and\nconfigure according to your system settings and your layout preferences.\n\nMore particularly, you may change default ``pdfbook`` options. See the `pdfbook\ndocumentation `_ for the\nvarious available options.\n\nIf you want to use logo in headers, you just have to setup the path to get the\nlogo on Logo path field. *Don't* set --logo option in htmldoc options,\nthis is done by the system. But you may use --webpage option.\n\nOther setups\n------------\n\nIt is strongly recommanded to use linking with UID in your visual editor\npreferences. Otherwise images may not display in topics prints.\n\nDevelopers\n==========\n\nCustomizing default templates in ZMI\n------------------------------------\n\nOpen your Plone site in ZMI, then the ``portal_view_customization`` object.\n\nClick on a link **printlayout** that suits the interface of the content items\nyou want to customize.\n\nChange the template as you prefer...\n\nAdd a template for your content types\n-------------------------------------\n\nAssuming you have a personal content type that implements the\n``myproduct.interfaces.IMyContentType`` interface, You must add a view like this\none::\n\n \n\nKeep the following attributes as above:\n\n* ``name=\"printlayout\"``\n* ``layer=\"aws.pdfbook.interfaces.IAWSPDFBookLayer\"``\n* ``permission=\"zope.Public\"``\n\nExamples for standard content types are provided in the\n``browser/transformers.zcml`` configuration and associated files.\n\nOtherwise ``aws.pdfbook`` provides a default template that may or may not fit\nwith paper layout.\n\n.. important::\n\n Your personal template:\n\n * must provide a \"body\" macro that renders the body of your content.\n * the title of your content must be in an ``

`` element.\n * must be careful with HTML limitations of htmldoc.\n\nIf the default layout for personal or third party content types is somehow\nawful, you may blacklist such content types in the configuration panel.\n\nContributors\n============\n\nThe github repository for this component is\ngit@github.com:collective/aws.pdfbook.git .\n\nThe development kit comes with a ``buildout.cfg`` for the latest Plone stable\nversion.\n\nPlease don't forget to file your changes in the ``docs/HISTORY.txt`` file.\n\nSupport\n=======\n\nPlease use the tracker at http://plone.org/products/aws.pdfbook/issues\n\nCredits\n=======\n\n\n* Original version for Plone 2.x by `John Doe `_\n* Plone 3.x support by `Gilles Lenfant `_ for\n `Alter Way Solutions `_\n* Sponsored by `Materis `_\n* Maintained by `Thomas Desvenain `_\n\n.. image:: http://www.materis.com/template/imgs_fr/logo.gif\n :align: center\n\nChangelog\n=========\n\n1.1 (2014-02-26)\n----------------\n\n- Keep &, < and > characters in pdf.\n [vincentfretin]\n\n- Replace unicode mdash by simple ascii dash.\n The mdash character was replaced by '?' in pdf before.\n [vincentfretin]\n\n- Added a 'logo' property to allow us to use htmldoc logo options in headers.\n [thomasdesvenain]\n\n- Brazilian translations.\n [lepri]\n\n\n1.0.3 (2013-08-27)\n------------------\n\n- Fixed release.\n\n\n1.0.2 (2013-08-27)\n------------------\n\n- Fixed getting image scales.\n [thomasdesvenain]\n\n- Plone 4.3 compatibility.\n [thomasdesvenain]\n\n\n1.0.1 (2011-12-22)\n------------------\n\n- Export FSImage in pdf.\n [vincentfretin]\n\n- Fixed recoding of windows apostroph and '...' character.\n [vincentfretin]\n\n- Synced atevent.pt with latest event_view.pt template from Products.CMFPlone\n so the messages are translated properly.\n [vincentfretin]\n\n- Avoid site error at conversion when img tag has no src attribute...\n [thomasdesvenain]\n\n\n1.0.0 (2011-09-22)\n------------------\n\n* Image is not exported if user has not the right to View it.\n [thomasdesvenain]\n\n* Image export works with images referenced with a size.\n Image is printed with the good size.\n [thomasdesvenain]\n\n* Disable export link in portal factory.\n [thomasdesvenain]\n\n* Avoid failures on viewlet kss updates.\n [thomasdesvenain]\n\n* Image export works with image custom types and blob images.\n So image export now works under Plone 4.\n [thomasdesvenain]\n\n* Plone 4.1 compatibility.\n [thomasdesvenain]\n\n1.0.0b1\n-------\n\n* i18nisation and added french translation\n [glenfant]\n\n* Unit tests\n [glenfant]\n\n* Cleaned up useless code from Products.PDFBook\n [glenfant]\n\n1.0.0a1\n-------\n\n- Initial release\n [glenfant]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/aws.pdfbook", "keywords": "pdf plone", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "aws.pdfbook", "package_url": "https://pypi.org/project/aws.pdfbook/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/aws.pdfbook/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/aws.pdfbook" }, "release_url": "https://pypi.org/project/aws.pdfbook/1.1/", "requires_dist": null, "requires_python": null, "summary": "Download Plone content views as PDF", "version": "1.1" }, "last_serial": 1013024, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "848e369efda4c6b5360775d8be55004c", "sha256": "4c99a15a71b587f4c3b4cdef8cf7113c4d720b27ef29982745fbae8f97414bcb" }, "downloads": -1, "filename": "aws.pdfbook-1.0.0.zip", "has_sig": false, "md5_digest": "848e369efda4c6b5360775d8be55004c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42643, "upload_time": "2011-09-22T20:37:41", "url": "https://files.pythonhosted.org/packages/fd/f1/19e004ba859e515e198f6376e46697f43ec8fc12114ad8407b325b6fc8c6/aws.pdfbook-1.0.0.zip" } ], "1.0.0a1": [ { "comment_text": "", "digests": { "md5": "9c3abbbc5781fa2278ef5ba1bc78cbdc", "sha256": "0168b11641661fba0a78ed2ed24df1b1e208bd81422606c84bc19249bf258d50" }, "downloads": -1, "filename": "aws.pdfbook-1.0.0a1.tar.gz", "has_sig": false, "md5_digest": "9c3abbbc5781fa2278ef5ba1bc78cbdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24622, "upload_time": "2010-04-26T20:15:41", "url": "https://files.pythonhosted.org/packages/a7/66/3ab19d5a443df8cb8dfb93171d511905ae9802d63bf1c2126ff14a7b3ede/aws.pdfbook-1.0.0a1.tar.gz" } ], "1.0.0b1": [ { "comment_text": "", "digests": { "md5": "4ae80278183a6053923a12fbce927fcf", "sha256": "d81a108f5a847f24da310c9b976acc0da1451a2f9891fcc363438e2d209924fe" }, "downloads": -1, "filename": "aws.pdfbook-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "4ae80278183a6053923a12fbce927fcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21084, "upload_time": "2010-05-07T14:18:06", "url": "https://files.pythonhosted.org/packages/21/ae/00c3108cb1c8beaab3301e41d2144c02c9d1521581263efd2072b5bdd767/aws.pdfbook-1.0.0b1.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7bba0dc05f72a5b6781b8c6e833d4224", "sha256": "fdf7578555b2540efdefe378edd9812ff836335251e46ea2e4ac1481439a14d9" }, "downloads": -1, "filename": "aws.pdfbook-1.0.1.zip", "has_sig": false, "md5_digest": "7bba0dc05f72a5b6781b8c6e833d4224", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43185, "upload_time": "2011-12-22T14:32:26", "url": "https://files.pythonhosted.org/packages/dc/9a/fa0ae2f52cc6eeec0940c0e2f2a18403a7a1eb46c7303f6479655f607463/aws.pdfbook-1.0.1.zip" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "ca7d6be314c7a465383c82de887b33d2", "sha256": "e8f2f70ee87040cc04d180cf872f9b39ebe7f8a768797b5d9c4a658bc1de3f7d" }, "downloads": -1, "filename": "aws.pdfbook-1.0.3.zip", "has_sig": false, "md5_digest": "ca7d6be314c7a465383c82de887b33d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43600, "upload_time": "2013-08-27T08:42:17", "url": "https://files.pythonhosted.org/packages/d3/da/b8487da8f79de81a2eae7d35c25a0d2172cc0fb9f8bd55bc38d2c9ce0ec3/aws.pdfbook-1.0.3.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "be1be4f31189facc1163079b77889456", "sha256": "4034c87a49900de08926e8445558bda0556fec40bf896e01a750b32e9b6d247b" }, "downloads": -1, "filename": "aws.pdfbook-1.1.zip", "has_sig": false, "md5_digest": "be1be4f31189facc1163079b77889456", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49169, "upload_time": "2014-02-26T17:04:44", "url": "https://files.pythonhosted.org/packages/ce/4f/68e3fd64e69fcc063cb6d608fe737aee5776255e7d7fc32ca38646b900cf/aws.pdfbook-1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "be1be4f31189facc1163079b77889456", "sha256": "4034c87a49900de08926e8445558bda0556fec40bf896e01a750b32e9b6d247b" }, "downloads": -1, "filename": "aws.pdfbook-1.1.zip", "has_sig": false, "md5_digest": "be1be4f31189facc1163079b77889456", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49169, "upload_time": "2014-02-26T17:04:44", "url": "https://files.pythonhosted.org/packages/ce/4f/68e3fd64e69fcc063cb6d608fe737aee5776255e7d7fc32ca38646b900cf/aws.pdfbook-1.1.zip" } ] }