-
Interfaces Interface Description com.sun.star.comp.beans.ContainerFactory com.sun.star.comp.beans.OfficeConnection com.sun.star.comp.beans.OfficeWindow
-
Exceptions Exceptions Description com.sun.star.comp.beans.InvalidArgumentException
-
Methods Method Description com.sun.star.comp.beans.LocalOfficeConnection.createOfficeWindow(Container) com.sun.star.comp.beans.LocalOfficeConnection.setContainerFactory(ContainerFactory) com.sun.star.comp.beans.OOoBean.applyToolVisibilities() Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsosetAllBarsVisible
.com.sun.star.comp.beans.OOoBean.clearDocument(boolean) There is currently no way to dismiss changes, except for loading of the unchanged initial document. Furthermore it is unclear how derived classes handle this and what exactly their state is (e.g. what members make up their state). Calling this method on a derived class requires knowledge about their implementation. Therefore a deriving class should declare their own clearDocument if needed. Clients should call the clearDocument of the deriving class orOOoBean.clear()
which discards the currently displayed document.com.sun.star.comp.beans.OOoBean.isMenuBarVisible() Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.isOOoConnected() This method is not useful in a multithreaded environment. Then all threads accessing the instance would have to be synchronized in order to make is method work. It is better to call OOoBean's methods and be prepared to catch a NoConnectionException.com.sun.star.comp.beans.OOoBean.isStandardBarVisible() Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.isStatusBarVisible() Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.isToolBarVisible() Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.paint(Graphics) com.sun.star.comp.beans.OOoBean.readExternal(ObjectInput) com.sun.star.comp.beans.OOoBean.releaseSystemWindow() When Component.removeNotify of the parent window of the actual office window is called, then the actions are performed for which this method needed to be called previously.com.sun.star.comp.beans.OOoBean.setAllBarsVisible(boolean) Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. For example:com.sun.star.beans.XPropertySet xPropSet = (com.sun.star.beans.XPropertySet) UnoRuntime.queryInterface( com.sun.star.beans.XPropertySet.class, aFrame ); com.sun.star.frame.XLayoutManager xLayoutManager = (com.sun.star.frame.XLayoutManager) UnoRuntime.queryInterface( com.sun.star.frame.XLayoutManager.class, xPropSet.getPropertyValue( "LayoutManager" ) ); xLayoutManager.showElement("private:resource/menubar/menubar");
com.sun.star.comp.beans.OOoBean.setMenuBarVisible(boolean) Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.setStandardBarVisible(boolean) Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.setStatusBarVisible(boolean) Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.setToolBarVisible(boolean) Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.setToolVisible(String, String, boolean, boolean) Clients should use the service com.sun.star.frame.LayoutManager, which can be obtained from a frame, to control toolbars. See alsoOOoBean.setAllBarsVisible(boolean)
.com.sun.star.comp.beans.OOoBean.writeExternal(ObjectOutput)
-
Constructors Constructor Description com.sun.star.comp.beans.OOoBean(OfficeConnection) Clients could use the getOOoConnection to obtain an OfficeConnection and use it as argument in a constructor for another OOoBean instance. Calling the dispose method of the OfficeConnection or the OOoBean's stopOOoConnection method would make all instances of OOoBean stop working.