All this works. Thank you.
With macro approach any default action can be configured in the similar way. And this gives great flexibility.
RGB function turned out to be very simple:
R * 256 * 256 + G * 256 + B
rgb(255,204,0) -> 255 * 256 * 256 + 204 * 256 + 0 = 16763904
Found it here:
Apache OpenOffice Community Forum - [Solved] RGB Function odd results
viewtopic.php?t=99640
There were problems with renaming library with macros and macro itself. The solution is here:
Apache OpenOffice Community Forum - [Solved] Rename custom macro library or macro within
viewtopic.php?t=111517
---
macros location:
/home/username/.openoffice/4/user/basic/
---
If you want see all macro in your document, also events, save the file in .fods format, open with Notepad e look for <office:scripts> tag. There there are all scripts.
(source —
viewtopic.php?t=107865 )
---
It is convenient to configure the following custom shortcuts:
Highlighting Full: Ctrl + H
Highlighting Remove: Ctrl + G
Options: Ctrl + Shift + S
Customize: Ctrl + Shift + C
Macros: Ctrl + Shift + M