Stamp
Stamp feature helps you to insert an image into a document.
Stamp are shown in a table structure.
Name Descripcion Text Script Colour Active
Create new stamp based on text
Section titled “Create new stamp based on text”Fields description:
| Field | Description |
|---|---|
| Name | Stamp name. |
| Description | Stamp description. |
| Text | The text to be shown in stamp. |
| Script | When is set the result of the script will be stamped text. List of variables what can be used directly: - document: Document object of the document node. For more information see com.openkm.bean.Document class at API description. Sample: <br>import java.util;<br>String value = "";<br>value = document.getActualVersion().getName();<br>value += "-" + String.valueOf(new Date());<br>return value;<br> |
| Layer | Stamped image position. Available values: - Under content. - Over content. |
| Opacity | The text opacity. The range of values allowed are from 0 to 1. An Opacity equals to 0 means a transparent text or image and you won’t see it. Set to 0.5 to see an semi-transparent text or set to 1 to be opaque. Also play with layer to stamp over or below the default text layer. |
| Size | Text size. |
| Align | Text align. Available values: - Left. - Center. - Right. |
| Rotation | Text rotation. The range of values allowed are from 0 to 360. |
| Colour | The text colour. |
| Expr. X | Expression to set the position in X coordinates. |
| Expr. Y | Expression to set the position in Y coordinates. |
| Active | When enabled the stamp will be available to the users. |
| Users | List of users who can use the stamp. |
- Click on
Create new Stamp icon. - Fill the form.
- Click on Create button.
Create new stamp based on image
Section titled “Create new stamp based on image”Fields description:
| Field | Description |
|---|---|
| Name | Stamp name. |
| Description | Stamp description. |
| Image | The image to be added into the document. |
| Layer | Stamped image position. Available values: - Under content. - Over content. |
| Opacity | The text opacity. The range of values allowed are from 0 to 1. |
| Expr. X | Expression to set the position in X coordinates. |
| Expr. Y | Expression to set the position in Y coordinates. |
| Active | When enabled the stamp will be available to the users. |
| Users | List of users who can use the stamp. |
- Click on
Create new Stamp icon. - Fill the form.
- Click on Create button.
Edit stamp
Section titled “Edit stamp”- Click on
Edit icon. - Modify the form.
- Click on Edit button.
Delete stamp
Section titled “Delete stamp”- Click on
Delete icon. - Click on Delete button.
Test stamp
Section titled “Test stamp”- Click on
icon.