OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Register an external dictionary file to OOo

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets
View previous topic :: View next topic  
Author Message
PAX
General User
General User


Joined: 04 Oct 2008
Posts: 11

PostPosted: Fri Oct 10, 2008 4:34 am    Post subject: Register an external dictionary file to OOo Reply with quote

i've got a problem.

if i create a persistant dictionary file by
Code:
...
mxDic.createDictionary("dopeDict.dic",
               newLocale, DictionaryType.POSITIVE, u.toString());

         newDic.setActive(true);
...
this word book obviously (check it out) isn't editable if i get it by
Code:
...
XDictionary dic1 = mxDic.getDictionaryByName("dopeDict.dic");
...
and after a restart of the connection with OOo it doesn't exist any longer. how can i reload an existing external persistent dictionary file into OOo und how can i add words?

best regards


PAX
_________________
"Wenn man irgendwann mal von allen akzeptiert wird, dann weiƟ man, dass man irgendwas falsch gemacht hat." Zitat: Herr Weidner
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Code Snippets All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group