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]

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

ftwbook.graphicblock-3.1.2.tar.gz (33.0 kB view details)

Uploaded Source

File details

Details for the file ftwbook.graphicblock-3.1.2.tar.gz.

File metadata

  • Download URL: ftwbook.graphicblock-3.1.2.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.2

File hashes

Hashes for ftwbook.graphicblock-3.1.2.tar.gz
Algorithm Hash digest
SHA256 4aae519c18aaa9807a28a5e6dfdbc2f9e8cf6d98a94de30f77666ac25066d917
MD5 9c4d4dd3e7f3d144f2f25cca15c52bdb
BLAKE2b-256 50989965d3f59d52c843cc52adc060b9fbf7ae7e96cb59e972d546d027436180

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