Definition Nodes
Definition nodes are the elements to define a Report Type. A definition node has the following attributes;
Attribute | Description | Example |
---|---|---|
|
|
|
|
|
|
| A list (array) of children (definition nodes) | |
| The set of parameters values to be applied when evaluating the building block. | |
| The slot to be produced into
| "slot": "{left}" |
|
| "enabled": "=params.ShowChapterXY" |
|
| "buildingBlock": "SectionBB", "iterateOver": [ "de", "en", "fr" ], "iterateInto": "reportLanguage", "parameters": { "mainTitle": { "text": "This is produced for reportLanguage {1}", "args": [ "=params.reportLanguage" ] } } |
Built-in Building Blocks
BuildingBlock | Description | Parameters | Example |
---|---|---|---|
* | Common parameters for all building blocks |
| |
| Creates a paragraph.
|
| |
|
| ||
| This building block has no effect on the visual output but just produces it’s children. It can be used to set common parameters for a list of blocks | ||
| Like | ||
| Like | ||
| This building block produces it’s children and places them in the specified “slots”. Children are expected to have the attribute |
| for word reporting select a lacout component defined in the template: "style": "CS_C_CoverOverview" for online reports select one of the predefined styles: "style": "CS_W_Block2x1" |
|
| ||
|
Word reports will just place all children in a flow design, Same as NoOpBB would do. |
0 Comments