Transformers and
Calculators
Transformer and Calculator are essentially the same thing. The only
difference is the first one pastes the result over the current selection
whereas the second one pastes the result on the DataClipboard. The following
explanation only deals with Transformers but pertains to Calculators
as well.
Each line in the workbench.xml files corresponds to one entry in the DataWorkshop Transformer menu. The general format is:
< transformer class="type (see below)" majorversion=
"0" minorversion="8"
name="Name in Menu">
<parametername>parametervalue</parametername>
</transformer>
Below is a listing of some DataTransformer types and their parameters. Complex
Parameters like Data are explained in the section Complex Types.
| Parameter | Type | Range | Explanation |
|---|---|---|---|
| encoder | DataConverter | - | |
| decoder | DataConverter | - |
| Parameter | Type | Range | Explanation |
|---|---|---|---|
| pattern | Data | - | The pattern used for filling |
| Parameter | Type | Range | Explanation |
|---|---|---|---|
| swappedBytes | Integer | 0 - n | the number of bytes swapped |