Thanks for the link Hans. I added this macro in LibreOffice:
------------------------------------
REM ***** BASIC *****
Sub Main
End Sub
Sub add2dic
oDok = StarDesktop.getCurrentComponent()
oViewCursor = oDok.getCurrentController().getViewCursor()
oCur = oViewCursor.getText().createTextCursorByRange(oViewCursor)
if oCur.IsCollapsed then
if NOT oCur.isStartOfWord() then
oCur.gotoStartofWord(FALSE)
endif
oCur.gotoEndofWord(TRUE)
sWort = oCur.getString
else
sWort = oCur.getString
end if
if (Len(sWort) = 0) or (inStr(sWort, " ") > 0) then
exit sub
end if
oWBListe = createUnoService ("com.sun.star.linguistic2.DictionaryList")
oWB = oWBListe.getDictionaryByName("standard.dic")
oWB.add(sWort, FALSE, "")
End Sub
------------------------------------
But nothing happens when I run this macro. A file should be created I guess, but where?
I use Zemberek in LibreOffice, perhaps that is the problem.
Most Windows users prefer Microsoft Office speller. Is it planned for CT in any of the future versions?
Selçuk
Most Windows users prefer Microsoft Office speller. Is it planned for CT in any of the future versions?Selçuk
Michael is doing this for UK English, since he couldn't find a decent speller.
Well, at least: I've advised him to do so ;). He doesn't always follow my suggestions, much like my girlfriend.