|
Contains the text definition.
You may mix static text along with macros referring to select statements that will be evaluated against the business object holding the file.
Alternate to static text along with macros is to point out a custom Java class that provides the text. The class must implement the interface com.technia.tif.enovia.job.executors.file.TextProvider .
|
<Text>Current state is ${current} and attribute x is ${attribute[attribute_X]}</Text>
<Text>${type}, ${name}:${revision} (${current})</Text>
<Text className="com.acme.tif.MyTextProvider" />
|
|
The name of the font to be used. Default is Arial
|
<FontName>Verdana</FontName>
|
|
The size of the font to be used. Default is 50.
|
|
|
Defines the color of the font. Different ways of specifying the color is supported, for example:
-
RGB value. Example: rgb(255,124,92)
-
HEX Value. Example: #FFEA00
-
Named color. Example: black, red, white, yellow, green, blue
The default color is black.
|
<FontColor>rgb(127,56,24)</FontColor>
<FontColor>red</FontColor>
<FontColor>#ae0122</FontColor>
|
|
Defines the rotation in degrees. -360 - 360 are allowed values. Default value is 0.
|
<TextRotation>45</TextRotation>
|
|
Defines the transparency of the watermark. Allowed values are in the range 0 to 255. Default is 255.
|
<TextTransparency>100</TextTransparency>
|
|
Number of times the text is printed between (start-x, start-y) and (end-x, end-y). Default is 1.
|
|
|
Start position on X-axis. Valid value is a percentage between 0 and 100. Default is 50.
|
|
|
Start position on Y-axis. Valid value is a percentage between 0 and 100. Default is 50.
|
|
|
End position on X-axis. Valid value is a percentage between 0 and 100. Default is 50.
|
|
|
End position on Y-axis. Valid value is a percentage between 0 and 100. Default is 50.
|
|
|
Defines file name of an image to be used as a watermark.
<ImageFileName> can be either a local file path or a file URL along with TIF macros. Alternate is to point out a custom Java class that provides the file name. The class must implement the interface com.technia.tif.enovia.job.executors.file.FileNameProvider .
|
<ImageFileName>c:\pictures\picture.jpg</ImageFileName>
<ImageFileName>${tif.home}\${job.param.imageFileName}</ImageFileName>
<ImageFileName className="com.acme.tif.MyFileNameProvider" />
|
|
Image start position on X-axis. Valid value is a percentage between 0 and 100. Default is 50.
|
<ImageStartX>0</ImageStartX>
|
|
Image start position on Y-axis. Valid value is a percentage between 0 and 100. Default is 50.
|
<ImageStartY>0</ImageStartY>
|