Skip to main content

Addon for `ftw.book` providing a graphics block for including PDF documents in the book.

Project description

ftwbook.graphicblock

This package is a addon for the ftw.book package. It provides an additional simplelayout-based block for uploading PDF documents, which will then be included in the book PDF.

The block is intended to be used for including vector based data such as charts. The uploaded PDF is included in the exported PDF of the whole book directly as PDF, so that there is no quality loss.

Features

  • resizing the PDF
  • cropping the PDF
  • automatic generation of PNG preview for the displaying in the browser (based on ghostscript)
  • including PDF like an picture (intended for charts etc)
  • including PDF as sub-document (multiple pages)

Installation

  • Ghostscript needs to be installed on the server (http://www.ghostscript.com/)

  • Add ftwbook.graphicblock to your buildout configuration:

    [instance]
    eggs +=
        ftwbook.graphicblock
    
  • Install the generic import profile.

Changelog

3.1.2 (2020-02-12)

  • Fix file download and possible other errors (primary field was not defined) [Nachtalb]

3.1.1 (2020-01-09)

  • Add ftwbook.graphicblock portal_type translation to plone domain. [tinagerber]

3.1.0 (2019-12-10)

  • Add Plone5 support. [busykoala]

3.0.1 (2019-11-08)

  • Hide graphic blocks from navigation and from search results. [jone]

3.0.0 (2019-11-05)

  • Drop Plone 4.1 support. [jone]
  • Drop Plone 4.2 support. [jone]
  • Introduce uninstall profile. [busykoala]
  • Introduce upgrade steps. [busykoala]
  • Reimplement Graphicblock with Dexterity [busykoala, jone].
  • Requires ftw.book >= 4.0.0.

2.2.3 (2014-07-15)

  • No longer use simplelayout.types.common’s view. s.t.common is deprecated. [jone]

2.2.2 (2013-04-17)

  • Lawgiver support: map permissions. [jone]
  • Plone 4.3 compatibility. [jone]

2.2.1 (2012-10-16)

  • Remedy deprecation warning “set_schema not supported”. [jone]

2.2 (2012-05-16)

  • Fix bug in preview width calculation which causes plone.app.scaling to fail. [jone]

2.1 (2012-05-09)

  • LaTeX: use special caption implementation since we have a non-floating environment. [jone]

2.0 (2012-03-05)

  • Use ftw.pdfgenerator instead of plonegov.pdflatex. This is compatible with the new ftw.book version (>=2). [jone]

1.0b1

  • Forked package from izug.graphicblock, renamed and refactored [jbaumann]

Download files

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

Files for ftwbook.graphicblock, version 3.1.2
Filename, size File type Python version Upload date Hashes
Filename, size ftwbook.graphicblock-3.1.2.tar.gz (33.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page