Skip to main content

An alternative implementation of RML

Project description

z3c.rml – An alternative implementation of RML

This is an alternative implementation of ReportLab’s RML PDF generation XML format. Like the original implementation, it is based on ReportLab’s reportlab library.

You can read all about z3c.rml and see many examples on how to use it, see the “RML Reference”:http://svn.zope.org/z3c.rml/trunk/src/z3c/rml/rml-reference.pdf?view=auto

CHANGES

0.7.2 (2007-11-10)

  • Upgraded to work with ReportLab 2.1 and lxml 1.3.6.

  • Fix sub-process tests for a pure egg setup.

0.7.1 (2007-07-31)

  • Bug: When the specified page size (within the pageInfo element) was a word or set thereof, the processing would fail. Thanks to Chris Zelenak for reporting the bug and providing a patch.

0.7.0 (2007-06-19)

  • Feature: Added a Chinese PDF sample file to tests/expected under the name sample-shipment-chinese.pdf.

  • Feature: Added another tag that is commonly needed in projects. The <keepTogether> tag will keep the child flowables in the same frame. When necessary, the frame break will be automatic. Patch by Yuan Hong.

  • Feature: Added the “alignment” attribute to the blockTable directive. This attribute defines the horizontal alignment for a table that is not 100% in width of the containing flowable. Patch by Yuan Hong.

  • Feature: When creating Chinese PDF documents, the normal TTF for Chinese printing is ‘simsun’. However, when bold text is neeed, we switch to ‘simhei’. To properly register this, we need the reportlab.lib.fonts.addMapping function. This is missing in the reportlab RML specification, so a new directive has been defined:

    <addMapping faceName="simsun" bold="1" italic="0" psName="simhei" />

    Patch by Yuan Hong.

  • Feature: The para and paraStyle directive now support the “wordWrap” attribute, which allows for selecting a different wrod wrapping algorithm. This is needed because some far-East Asian languages do not use white space to separate words. Patch by Yuan Hong.

  • Bug: Handle Windows drive letters correctly. Report and fix by Yuan Hong.

0.6.0 (2007-06-19)

  • Bug: Fixed setup.py to include all dependencies.

  • Bug: Added test to show that a blocktable style can be applied multiple times. A user reported that this is not working, but I could not replicate the problem.

  • Update: Updated the expected renderings to ReportLab 2.1. There were some good layout fixes that broke the image comparison.

0.5.0 (2007-04-01)

  • Initial Release

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

z3c.rml-0.7.2.tar.gz (831.0 kB view details)

Uploaded Source

File details

Details for the file z3c.rml-0.7.2.tar.gz.

File metadata

  • Download URL: z3c.rml-0.7.2.tar.gz
  • Upload date:
  • Size: 831.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for z3c.rml-0.7.2.tar.gz
Algorithm Hash digest
SHA256 f2bf97b492f983e242374a7e276d0acc0d01ca39e98036648e1f483fc6c69b88
MD5 5a708b89634d6f051a8f0779906d155a
BLAKE2b-256 65b27fc3161c1b694030b138641861133177eb2663651da80b395f354eedb07d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page