Class

RepeatableRegionComponent

RepeatableRegionComponent

Component which maps repeated data in a Word report.

Available in word reporting only!

Since:
  • 5.2

Methods

addCopiedRegion(originalRegion)

Copy a given data region and add it to the component.

Parameters:
Name Type Description
originalRegion RegionContainer

The region to copy.

addRegion() → {RegionContainer}

Adds a new data region to the component.

The created data region.

copy() → {Component}

Create a mutable copy of the component.

This will copy only the component, not the actual shape in the template.

Mutable copy of the component

Component

hide() → {Component}

Hides the component. Short for #withHidden(true)

The component itself.

Component

withHidden(hidden) → {Component}

Set the visibility of the component.

Parameters:
Name Type Description
hidden boolean

Whether the component shall be visible or not.

The component itself.

Component