use a anonymous namespace and sane function names

(cherry picked from commit 2ee3b6deff5d1e65ca0ba1479a1125fbea73a9ab)
Signed-off-by: Eike Rathke <erack@redhat.com>

Cherry-picked to be able to cherry-pick
5e2b4da10caaa15ee7e846c42ada2a20218d9591 without merge conflicts.

Change-Id: I8fdd5fb4f21e6c90e352089858ce98a62ac213de
handle autocomplete with dot in formula name, fdo#80058

The problem is that a dot is a word separator so the break iterator
provided by ICU will think that the dot separates two words whereas it
is part of the name here.

Change-Id: I73cee4304f83888b1645fec7b1851b9f42ef879f
(cherry picked from commit 5e2b4da10caaa15ee7e846c42ada2a20218d9591)
Signed-off-by: Eike Rathke <erack@redhat.com>
fdo#82241 fix autocompletion for calc functions with

dot or underscore in function name

Change-Id: Id460cad619098265b4ae000894df64a996ef0514
Reviewed-on: https://gerrit.libreoffice.org/10801
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit 9fc83ae4e479f7e6784dfdce87de35c283fbadd2)
Signed-off-by: Eike Rathke <erack@redhat.com>