The OOoBean offers methods that can be applied to all OpenOffice.org document types.
来源:互联网 发布:淘宝信誉值怎么提升 编辑:程序博客网 时间:2024/06/06 09:29
Methods of com.sun.star.comp.beans.OOoBean | OOoBean()
constructor
- creates an OOoBean with an implicit connectionOOoBean(OfficeConnection)
constructor
- creates an OOoBean with an explicit connectionsetOOoStartTimeOut(...)
void
- sets the timeout for methods which start OpenOffice.orgsetOOoCallTimeOut(...)
void
- sets the timeout for other methodsSetOOoCheckCycle(...)
void
- sets repeat period for cyclic OpenOffice.org alive checksetOOoConnection(...)
void
- sets an explicit connection to a OpenOffice.org instancestartOOoConnection(...)
void
- starts a connection with an explicit connection URLisOOoConnected()
boolean
- returns whether the OOoBean is connected to a OpenOffice.orgstopOOoConnection()
void
- stops the current connection to OpenOffice.orggetOOoConnection()
OfficeConnection
- returns the current connection to OpenOffice.orggetMultiServiceFactory()
XMultiServiceFactory -- returns the service factory of the connected OpenOffice.orggetOOoDesktop()
XDesktop - returns the desktop object of the connected OpenOffice.orgclearDocument()
void
-- resets the Bean to an empty documentclear()
void
- removes the document from the BeanaquireSystemWindow()
void
- has to be called when the Bean has a parent component which has a valid system windowreleaseSystemWindow()
void
-- has to be called before the parent component loses its system window, e.g. before it is removed from its parent omponentloadFromURL()
void
-- loads a document into the BeanloadFromStream()
void
-- loads a document from a Java stream int o the BeanloadFromByteArray()
void
-- loads a document from a byte array into the BeanstoreToURL()
void
- stores the document in the Bean to an URLstoreToStream()
void
- stores the document in the Bean to a streamstoreToByteArray()
void
- stores the document in the Bean to a byte arraygetFrame()
Frame
-- returns a wrapper for FramegetController()
Controller
-- returns a wrapper for ControllergetDocument()
Document
-- returns a wrapper for OfficeDocumentsetAllBarsVisible()
void
- sets visibility of all tool bars, known by this Beanset...BarVisible()
void
- sets visibility of a specific tool baris...BarVisible()
boolean
- returns visibility of a specific tool bar