FR|NL

Leaflet XII in 2015

Leaflet XII implements 2 important functionalities:

  1. Cell spanning in 2D tables and
  2. The smart viewer for HTML5 pages on tablets and computer screens.

Next to that here is a series of features that will boost productivity when designing complex templates:

  1. Nested templates
  2. Template profiler
  3. Assisted monitoring

And there is also the new internal script processor for automating repetitive tasks and a series of othernice enhancements.

Just read further on…

Cell spanning in 2D tables

The 2D DBC already optimizes column width depending on the content of the cells.

With Leaflet XII, it will be possible to automatically span cells over several columns or rows.

Leaflet will compare the values of the span criteria. If they are the same cell spanning will be applied (if asked for).

Both spanning directions can be used at the same time. An order of preference is to be defined.

image002

Figure 1 : Advanced properties of a 2D DB Container with

1) a horizontal span triggered by the Boolean value of Buglist.LType followed by
2) a vertical span triggered by the value of the calculated field.VersionPerPage

 

Cell spanning improves the readability of tables and depending on the data can dramatically reduce the space taken by the table. Combined with dynamic column widths it is the most efficient way of publishing tables how complex they may be.

HTML5 mixed tablet/PC output

Users are asking for a mixed HTML5 output.

Leaflet XII will have an HTML5 output option that will detect the kind of terminal reading the pages.

  1. If it’s a tablet then a single page is displayed.
    The menu icon calls the menu on the left hand side with all the available functions.


    image003


    Browsing from page to page is done by swiping
  2. If it’s a PC with a broad screen, 2 pages are displayed. Depending on the display ratio of the screen, the menu is permanent or displayed on request.


    image004


    Browsing from page to page is done by flipping the pages with the mouse or the keyboard arrows.

Several functions are built into the standard HTML5 viewer that’s output by default by Leaflet:

image006

  • image005use a menu to browse through the document by following for example a multi-level classification.
  • image008 search full-text at high speed and find highlighted words in the page easily.image009
  • image010 use the flatplan view of the document by browsing through thumbnails of the pages to select one of them.image011
  • image013 get a PDF of any page of the document.image012
  • image014 add/edit bookmarks to pages of the document in order to find them faster the next time.image015
  • image016 directly goto to any page of the document

Nested templates

Experienced Leaflet users can draw very complex templates with hundreds of graphical objects making use of every feature. Nice! But sometimes hard to maintain.image017

Leaflet XII implements template nesting. Simple to understand, yet powerful for design purposes.

Any child database Container (DBC) can be replaced by another (child) template (as long as it fits).

Ever wanted templates made out of building blocks you can reuse across the whole set of templates of a document? Well this is it.
Those child templates are just like other Database Container Styles (DBCS), but they don’t need item keys defined and they will not appear in the lists of templates that can be used in a document.

There are several advantages to child templates:

  1. You can nest child templates into many other templates, all maintenance will be done at one single place.
  2. Like Russian pops, you can nest child templates in other child templates.
  3. Template reading is much easier due to the modular design possibility

Child templates can be nested several levels deep, but not recursively!
In the parent template, placeholders indicate where child templates are. They can be edited in place.

image018

Figure 2 : Using nested templates.
The Disegno and Foto child template are used twice in this template.
Left/right visibility is used to obtain a mirror effect on a spread.
Child templates are used instead of duplicating the composing objects.

Template profiler

Sometimes Leaflet slows down and the project is too big to understand easily where the culprit is.

A template profiler will show in real time for the current page the memory and Leaflet internal resource usage

image019

With this information it will be much easier to determine the origin of the problems when they arise.

Is the response time due to poor database performance, poor calculated field coding or picture processing overload? Which is the SQL request that is to be improved?

All information is displayed a graphical way. Clicking on the graph leads to the next level of analysis.

Assisted monitoring

Since long monitor messages help watch the quality of a document. Sometimes it is however difficult to locate the source of the problem just by reading the message. With Leaflet XII when you click on the message the corresponding object is selected in the offending page.

image020

Internal script processor

Next to the interactive version, Leaflet exists also in (Power)Server version. For repetitive and time-consuming tasks, an extensive API allows to generate and output documents with a lot of control. This is typically used for on demand publishing or automation.

image021

Scripts in VBS can now be executed within Leaflet in order to bring about the same possibilities within the interactive version of Leaflet.

Some examples of scripts that can be played in Leaflet:

  • Export a document to Acrobat with one document for each page
  • Switch left and right sides of a recto-verso document
  • Import a Pantone color.

Other nice features

  • Unlimited spot colors (instead of 8)
  • Support of Drag & Drop between Windows Explorer and Leaflet. Works with text, images and video
    (just like in InDesign)
  • Close of panels with image022 at the panel edge.
  • The value of the gallery in the Hyperlink Highlight can be dynamic.
  • The value of the Offset and Length of a SQL request can be dynamic.