Leaflet XI

In 2014, Leaflet focuses on better Internet support with a lot of new tools with dynamic behaviour.

Furthermore, Leaflet XI adds features to face the problematic of multi-languages catalogues.

Finally, in order to reduce image manipulations, Leaflet can directly process your RGB pictures with the support of your own ICC profiles.

So, hereafter, the list of new Leaflet XI features:

1 HTML5_Logo_256output

We have been continuing our efforts on HTML5 output. Oddly enough one important concern was the older browsers compatibility. We try hard to have HTML5 code that is backward compatible until IE8 (dating from 2009 when HTML5 was in its infancy).

Recent versions of Google chrome and Mozilla are also taken care of.

New objects (see Slider or Tabs in the Multistate DBC and video) or features on existing objects (see scrolling) have been created in order to broaden the possibilities of designing templates for interactive media.

Object Available in LL XI Available later or on request
Overlay PDF, Indesign, HTML5
Slider HTML5 PDF, Indesign, SWF
Tabs HTML5 PDF, Indesign, SWF
Video HTML5, PDF, Indesign SWF
Scrolling HTML5 PDF, Indesign, SWF

2     New objects

2.1    The Multistate DBC (Database Container)

The original DBC has 1 dimension (corresponding to 1 detail criteria). This dimension can be rows or columns. In order to make a totally dynamic table 2 1D DBC have to be nested into each other.

The 1D DBC is the cornerstone of Leaflet since version 1.0.

The 2D DBC contains 2 detail criteria for both rows and columns. It is much easier to create complex tables with it because rows and columns are naturally synchronized.

Like in a browser table, the 2D is able to automatically calculate optimal column widths when the table width is constrained. One template fits all!

The 2D DBC is available since LL7 that came out in 2008

The Multistate DBC can be considered as a 1D (1 dimensional) DBC with a supplemental dimension in the Z axis. The multistate DBC contains objects that are stacked and should not be visible all at the same time.

There are several uses for the multistate:

  • The overlay where each state corresponds to a layer. This is most useful for multilingual documents where each language goes to a (dynamic) layer. Most useful for documents with lots of languages.
    And of course the longest language stretches the containing text box.
  • The slider where each state has any content that can be scrolled (horizontally) one at a time.
  • The tabs where each state is an HTML tab.

2.2    Video

Now it is possible to embed video into HTML, PDF and Indesign.

The supported video formats are:

  • Avi
  • Flv
  • Swf
  • Ogg
  • Webm


They are natively embedded into HTML pages.

For PDF or Indesign files there is an on the fly conversion to Swf that can be embedded into Adobe documents.

3      New features

3.1    Layers

Layers have been added to Leaflet. This notion is familiar to you from other software. layers
Here they function the same way and they are compatible with Indesign and Acrobat.

Layers are particularly interesting when working in multiple languages. Typically there is a layer for each language and one layer for the language-independent items like pictures and other graphical elements.

They can also be used to put “draft” data into a separate layer that can be made visible when needed for reviewing purposes.

In a few words you can:

  1. Create layers
  2. Change the Z order of layers
  3. Make them visible or invisible
  4. Assign statically objects or a collection of objects to a layer
  5. Assign dynamically through the overlay variant of the Multistate DBC.
  6. Export separate layers (only visible or all) to Acrobat or to Indesign.
  7. Leaflet interface adapts in order to only select, cut, delete objects located on visible layers. Furthermore, all Leaflet previews conform to the layers settings

3.2    Scrolling

Scrolling is a new feature that is available for the 1D DBC.

It allows a detail surface to gracefully overflow on interactive media. So this feature is an alternative to Splitting. On the short term available for DB Containers, this could be later extended to text boxes.

3.3    Object locking

Any graphical object can be locked. When locked it cannot be moved or resized in any axis (X, Y, Z)

3.4    ICC profiles

ICC profile
With LL 11 it is possible to specify which ICC profile to use when converting from RGB to CMYK and vice-versa. Previously the ICC profile was hardcoded.

It is only required to install the ICC in Windows in order to use it.

Once selected, the ICC profile is saved inside the Leaflet document and can be transported to other machines.







3.5    Gradient color stops 2013-12-19 18-49-50

Starting and ending color stops can now be displaced along the ramp.

3.6    Dynamic Multiple/Divider

gabarits p10-11c-1
The module of an object (DBC, text, picture) can be dynamically defined. This allows to make templates more generic and to drive the behavior of such templates from the database.

In this sample catalog most of the templates grow vertically by fixed increments also called the modulation of the page. The spread shown has a modulation of 8. Other pages are modulated differently, but they all use the same templates based on dynamic modulation.
2013-12-19 18-22-21


3.7    Copy to static

Sometimes, while debugging a template, it is not obvious to understand why an object displays a certain way, certainly when the template is complex, was designed by somebody else or is rather old.
The “copy to static” button takes an object selected in a rendered template and makes a static copy of it. All attributes of the selected object can be queried.

3.8   612px-Adobe_InDesign_icon   plug-in

The Leaflet plug-in for InDesign is now able to export a TOC (Table Of Contents) table of the open Indesign document formatted the same way as the TOC table exported by Leaflet on a Leaflet document.

This way it is possible to analyze the differences between database and Indesign document in order to synchronize them during reworks of an earlier exported document.

It is also a very reliable source of information to localize items in the document and build or update tables of content or indexes even after blocks have moved to other parts of the document and pages added, deleted or swapped.

The generation of this TOC table is instantaneous even for hefty Indesign documents.

3.9    Hyperlinks in the text

Until LL10 a hyperlink could be attached to a graphic object like DBC, text or picture. The hyperlink was fired by clicking on the surface taken by the object.

With LL11 textual hyperlinks defined in <html> text are also processed. The destination can be external to the document or internal (any page of the document)

3.10    Colors on the fly with calculated fields

New instructions in calculated fields related to colors make it possible to declare colors on the fly.

The values of these colors can be fetched from the database or derived from other existing colors.

These temporary colors can be exported to Indesign.

3.11    Horizontal split of the 2D DBC

LL XI brings the horizontal split of the 2D DBC.