Design

Transform

Move items in a page on X or Y axis
ENTERPRISE FEATURE Available for:
Carbone Cloud
Carbone On-premise
Embedded Carbone JS
  v4.22.11+ 

Compatible with ODT, ODP, PPTX, and PDF files.

The feature is available only if the tag {o.preReleaseFeatureIn=4022011} is used.

Overview

Some templates types (slideshow, presentation, drawing) uses items which are positioned in an absolute manner with a X or Y position relative to the current page, slide, paragraph, etc.

Carbone can move these items on X or Y axis with :transform(axis, unit) formatter:

This tag must be placed inside the item to move. It prints nothing by itself.

if a loop is created between two shapes, the [i+1] tag must be in the shape that is higher in the layer order than the shape with the [i] tag.

PPTX example

Data

{
  "pos" : 4
}

Template

Template with transform tag in the alternative text

Result

Result with Carbone