[dev] Problem in viewing OOo in web browser

2007-08-18 Thread Joseph Bashir
Nature
Hi!

I have made an applet that loads OpenOffice document. when I want to view this 
applet in a web browser like Internet Explorer or Mozilla, it throws exception: 

My html file has the following code for applet:
APPLET code= SOEditor.class  width= 800 height= 600
  archive= 
ssoeditor.jar,sofficebean.jar,sridl.jar,sunoil.jar,sjuh.jar,sjurt.jar,sunoloader.jar,ssandbox.jar
/APPLET 

All jar files included in the above APPLET tag are signed jars.

This is the information and exception in the JavaConsole:

basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://192.168.1.21:8080/so/ssandbox.jar is read from 
JAR cache
network: Connecting http://192.168.1.21:8080/so/msvcr70.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/msvcr71.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/uwinapi.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/jawt.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/jawt.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/jawt.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/officebean.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/officebean.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/officebean.dll with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher 
certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher 
certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Connecting http://192.168.1.21:8080/../lib/msvcr71.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/msvcr71.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/msvcr70.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/msvcr70.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/msvcr70.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/uwinapi.dll with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/uwinapi.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/sal3.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/sal3.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/sal3.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/jpipe.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/jpipe.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/jpipe.dll with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/../lib/soffice.exe with 
proxy=DIRECT
network: Connecting http://192.168.1.21:8080/bin/soffice.exe with proxy=DIRECT
network: Connecting http://192.168.1.21:8080/so/soffice.exe with proxy=DIRECT
java.lang.Exception: 
java.io.IOException: CreateProcess: \soffice -nologo -nodefault 
-accept=pipe,name=Administrator_25B7Office;urp;StarOffice.ServiceManager error=2
java.io.IOException: CreateProcess: \soffice -nologo -nodefault 
-accept=pipe,name=Administrator_25B7Office;urp;StarOffice.ServiceManager error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.init(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at 
com.sun.star.comp.beans.LocalOfficeConnection$OfficeService.startupService(LocalOfficeConnection.java:793)
at 
com.sun.star.comp.beans.LocalOfficeConnection.connect(LocalOfficeConnection.java:344)
at 
com.sun.star.comp.beans.LocalOfficeConnection.getComponentContext(LocalOfficeConnection.java:248)
at com.sun.star.comp.beans.OOoBean.setOOoConnection(OOoBean.java:188)
at com.sun.star.comp.beans.OOoBean.getOOoConnection(OOoBean.java:288)
at SOEditor.getConnected(SOEditor.java:69)
at SOEditor.paint(SOEditor.java:34)
at sun.awt.RepaintArea.paintComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at 

[dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-18 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

i know i asked this question a year ago, but OO 2.3 has a new feature:
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Addon_Menu_Toolbar_Merging

Is it now possible to create a menu structure like this ?

[File] [MyTopLevelMenu] [Edit]
 - Entry 1
 - Entry 2
 - Submenu 3
   - Entry 3.1
   - Entry 3.2
 - Entry 4

How can I add the Submenu 3 with Entry 3.1 and Entry 3.2 ?

Can one please give me an example ?

Oliver




- --


GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxsITTiyrQM/QSkURArf3AJ4yfmVYWTCYn5VhaH99HAMPO/KH3wCePfj3
xxn1Iu8dHwF3zt7Fs0AmmmM=
=i48f
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-18 Thread KAMI

Oliver Brinzing írta:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

i know i asked this question a year ago, but OO 2.3 has a new feature:
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Addon_Menu_Toolbar_Merging

Is it now possible to create a menu structure like this ?

[File] [MyTopLevelMenu] [Edit]
 - Entry 1
 - Entry 2
 - Submenu 3
   - Entry 3.1
   - Entry 3.2
 - Entry 4

How can I add the Submenu 3 with Entry 3.1 and Entry 3.2 ?

Can one please give me an example ?

Oliver

  

If I remember well, there are examples in sdk documentation.

KAMI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-18 Thread KAMI

Oliver Brinzing írta:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

i know i asked this question a year ago, but OO 2.3 has a new feature:
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Addon_Menu_Toolbar_Merging

Is it now possible to create a menu structure like this ?

[File] [MyTopLevelMenu] [Edit]
 - Entry 1
 - Entry 2
 - Submenu 3
   - Entry 3.1
   - Entry 3.2
 - Entry 4

How can I add the Submenu 3 with Entry 3.1 and Entry 3.2 ?

Can one please give me an example ?

Oliver

  

also:


 Example 1

A new top-level menu entry with two menu items is added after the tools 
menu.



It should fit your reqs.



[dev] Disabled Record macro menu in Impress and Draw

2007-08-18 Thread KAMI

Hi!

Few minutes ago someone said on IRC channel the Record Macro menu 
elements in the Tools are disabled in Impress and Draw. I can confirm it 
hoewer it works well in Writer and Calc. What is the problem with it? 
Why is it disabled?



Best regards,
KAMI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]