On 06/29/2010 01:33 PM, Andrew Harmel-Law wrote:
Hi there,I am developing an applet which embeds OpenOffice 3.2 using the OfficeBean to allow users to redact MSWord documents. To do this I load a read only document and disable all functionality apart from three buttons which i have implemented: one to highlight selected text with a strikethrough and make the test red ("mark"), one to remove this marking, and the third to turn the marking into "~" characters with a black background ("redact"). I have been able to to disable all the contectual menus, buttons bars and menus and keyboard shortcuts (with some help from the forum: http://www.oooforum.org/forum/viewtopic.phtml?p=380030#380030) but I am having a problem with the final hurdle; turning off the "F1" shortcut to display the OOo Help.
Last time I checked that was hard code in VCL. Looks as if this needs some extra code in OOo to make that possible. We could perhaps implement something in sfx2 where the final Help class is implemented.
Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[email protected]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
