Top > OOoBasic > Generic > SpellChecker

スペルチェッカー Edit


sWord = "hoge"
aLocale = CreateUnoStruct("")
oChecker = CreateUnoService("")
If Not oChecker.isValid(sWord, aLocale, Array()) Then
  oAlter = oChecker.spell(sWord, aLocale, Array())
  words = oAlter.getAlternatives()
  s = ""
  For i = 0 To UBound(words) step 1
    s = s & words(i)
  msgbox s
End If

Reload   New Lower page making Edit Freeze Diff Upload Copy Rename   Front page List of pages Search Recent changes Backup   Help   RSS of recent changes