Skip to main content

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]

Release files for ftwbook.graphicblock 3.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ftwbook.graphicblock 3.1.2
File Size Uploaded
ftwbook.graphicblock-3.1.2.tar.gz 33.0 kB Details

Release files / ftwbook.graphicblock-3.1.2.tar.gz

Download URL ftwbook.graphicblock-3.1.2.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4aae519c18aaa9807a28a5e6dfdbc2f9e8cf6d98a94de30f77666ac25066d917
BLAKE2b-256 checksum
How to use checksums
50989965d3f59d52c843cc52adc060b9fbf7ae7e96cb59e972d546d027436180
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

3.1.2 This release

1 release file

3.1.1

1 release file

3.1.0

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0.0

1 release file

2.2.3

1 release file

2.2.2

1 release file

2.2.1

1 release file

2.2

1 release file

2.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page