Hi Alan, On Wednesday, 2008-11-05 11:03:52 +0200, Alan Yaniger wrote:
> For Hebrew text, I would like to override the > BreakIteratorImpl::endOfScript() function. > > I tried: > > - writing a Breakiterator_he class (with hxx and cxx files) , > - I added it to the SLOFILES section of makefile.mk, > - I added it to the instances array in registerservices.cxx > - I rebuilt OOo > > But it's still not getting called from the Writer code I'm testing it with. > What should I do differently? Do you have IMPL_CREATEINSTANCE( BreakIterator_he ) in registerservices.cxx? Did you assign the service's implementation name, e.g. "com.sun.star.i18n.BreakIterator_he" if IMPL_CREATEINSTANCE( BreakIterator_he ) was used in registerservices.cxx, to the cBreakIterator member variable in the ctor of your derived class? Compare with, for example, breakiterator_th.cxx The corresponding entry in InstancesArray aInstances of registerservices.cxx does match that name? If these prerequisites are fulfilled, check if the new service implementation is registered in <instpath>/openoffice.org/basis3.0/program/services.rdb Pipe the output of regview services.rdb to a lister to check. Again, compare with for example com.sun.star.i18n.BreakIterator_th Your service implementation should be registered if you installed an install set created in the build. If instead you copied the new i18npool.uno.so to the program path of an existing installation, you'd need to manually register the service using regcomp -register -r services.rdb -c i18npool.uno.so I hope that helps. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the [EMAIL PROTECTED] account, which I use for mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] Thanks.
pgpBz9Gnmb57O.pgp
Description: PGP signature