... | ... | @@ -98,4 +98,26 @@ You can create many tools you wish : just be careful for the display of the tool |
|
|
Colours are inherited from type of tool, but you can change them here.
|
|
|
|
|
|
## Example
|
|
|
You will probably need these base tools:
|
|
|
|
|
|
| contextid | axis | type | colors | cartridge | cartridge_color | texts | label | reply | enabled | order |
|
|
|
| --------- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
|
|
|
| 1 | 0 | 8 | NULL | NULL | NULL | NULL | pen | 0 | 1 | NULL |
|
|
|
| 1 | 0 | 9 | NULL | NULL | NULL | NULL | line | 0 | 1 | NULL |
|
|
|
| 1 | 0 | 10 | NULL | NULL | NULL | NULL | rectangle | 0 | 1 | NULL |
|
|
|
| 1 | 0 | 11 | NULL | NULL | NULL | NULL | oval | 0 | 1 | NULL |
|
|
|
| 1 | 0 | 12 | NULL | NULL | NULL | NULL | highlight | 0 | 1 | NULL |
|
|
|
|
|
|
Note the id of the axis: has it's base tools from the editpdf plugin, axis is **0**.
|
|
|
|
|
|
And you can create custom tools, like:
|
|
|
|
|
|
| contextid | axis | type | colors | cartridge | cartridge_color | texts | label | reply | enabled | order |
|
|
|
| --------- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
|
|
|
| 1 | 1 | 7 | NULL | Axis1 | NULL | NULL | COMMENT | 1 | 1 | 1 |
|
|
|
| 1 | 1 | 1 | NULL | LEX | NULL | "wrong meaning","bad word" | LEXIQUE | 1 | 1 | 2 |
|
|
|
| 1 | 1 | 4 | NULL | REP | NULL | "repetition","duplication" | REPETION | 1 | 1 | 3 |
|
|
|
|
|
|
|
|
|
|
|
|
//TODO |