[dev] problems to grant code of openOffice that runs embed in an applet

2006-12-18 Thread Clovis Wichoski
hi, I have a great doubt about a Signed Applet that embed the openOffice, this applet have a ClassLoader that find some jars files located at openOffice instalation directory on client machine. the grant to allow the ClassLoader to read local jars works very well, its something like: grant

[dev] XScript.invoke throws ArrayIndexOutOfBounds in java_remote_bridge line 237

2006-12-01 Thread Clovis Wichoski
hi, i created a java method: public Object executeMacro(Object xScript, ArrayList alParams) throws Exception { //xScript.invoke(aParams, aOutParamIndex, aOutParam); Object[] aParams = alParams.toArray(); short[][] aOutParamIndex = new short[0][0]; Object[][]

Re: [dev] XScript.invoke throws ArrayIndexOutOfBounds in java_remote_bridge line 237

2006-12-01 Thread Clovis Wichoski
: Clovis Wichoski wrote: hi, i created a java method: public Object executeMacro(Object xScript, ArrayList alParams) throws Exception { //xScript.invoke(aParams, aOutParamIndex, aOutParam); Object[] aParams = alParams.toArray(); short[][] aOutParamIndex = new short[0

[dev] OOoBean really running inside an Applet

2006-09-29 Thread Clovis Wichoski
hi, I manage to run OOoBean inside an Applet that runs inside the WebBrowser, i downloaded the SDK but examples there, dont really is an applet it's a StandAlone java applet, then in my research i found files in http://api.openoffice.org/source/browse/api/bean/test/applet/Attic/ that is the only

[dev] Rhino JavaScript Debugger dont appear

2006-09-15 Thread Clovis Wichoski
Hi, I search in http://api.openoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtmldocumentation and that says Clicking the Edit button in the JavaScript Organizer will open the Rhino JavaScript Debugger: as Rhino is a Java API i must install the rhino jars or the

[dev] Read XML inside a Macro/Extension

2006-09-12 Thread Clovis Wichoski
hi, I want to create a Macro in JavaScript or Java that reads a XML from a Web Site (like AJAX) and populate cells in a SpreedSheet when that SpreedSheet is opened or a specific cell is changed, where if can find documentation to reach that goal? Thanks