Orca overriding a method?



Hi all. 

Generically speaking, how does one override a method? In looking over
the existing scripts, it *seems* like you simply (re)define your method
within your script and your redefined method gets used instead of the
one in default.py, but since that's not actually working for me.... :)

Specifically speaking, I noticed that Insert+F doesn't identify text
that is bold within Openoffice.org. Since weight seems to be the
relevant text attribute, I thought I'd experiment to see if I could
cause that information to be announced -- but only when Insert+F is
pressed in StarOffice/OOo. I tried defining readCharAttributes in
staroffice.py, but through a little debugging code I see that my
readCharAttributes is being ignored in favor of the one in default.py. 

I'm not creating a new event handler and/or key binding, right???  

So, what am I missing? 

Thanks much in advance!
Joanie





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]