Bugzilla – Attachment 61144 Details for
Bug 49580
OfficeBean.jar references officebean.dll not officebeanlo.dll
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
OOoBean test
OOoBeanViewer.patch (text/plain), 1.19 KB, created by
Stephan Bergmann
on 2012-05-07 08:36:12 UTC
(
hide
)
Description:
OOoBean test
Filename:
MIME Type:
Creator:
Stephan Bergmann
Created:
2012-05-07 08:36:12 UTC
Size:
1.19 KB
patch
obsolete
>--- OOoBeanViewer.java >+++ OOoBeanViewer.java >@@ -32,8 +32,6 @@ > * > *************************************************************************/ > >-package com.sun.star.comp.beans; >- > import javax.swing.filechooser.*; > import javax.swing.*; > import java.io.*; >@@ -76,7 +74,7 @@ public class OOoBeanViewer extends java. > /** > * Private variables declaration - SimpleBean variables > */ >- private OOoBean aBean; >+ private com.sun.star.comp.beans.OOoBean aBean; > > /** > * Initialize the Appplet >@@ -84,7 +82,16 @@ public class OOoBeanViewer extends java. > public void init() > { > //The aBean needs to be initialized to add it to the applet >- aBean = new OOoBean(); >+ com.sun.star.comp.beans.LocalOfficeConnection c = >+ new com.sun.star.comp.beans.LocalOfficeConnection(); >+ try { >+ c.setUnoUrl("uno:socket,host=localhost,port=8123;urp;StarOffice.ServiceManager"); >+ aBean = new com.sun.star.comp.beans.OOoBean(c); >+ } catch (RuntimeException e) { >+ throw e; >+ } catch (Exception e) { >+ throw new RuntimeException(e); >+ } > > //Initialize GUI components > rightPanel = new java.awt.Panel();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 49580
:
61143
| 61144 |
61146