Difference between revisions of "Documentation/DevGuide/JavaBean/API Overview"
From Apache OpenOffice Wiki
< Documentation | DevGuide
m (1 revision(s)) |
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:JavaBean for Office Components) |
||
Line 97: | Line 97: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category: JavaBean for Office Components]] | + | |
+ | [[Category:Documentation/Developers Guide/JavaBean for Office Components]] |
Revision as of 09:07, 4 June 2008
The OOoBean<code> offers methods that can be applied to all OpenOffice.org document types.
Methods of <code>com.sun.star.comp.beans.OOoBean | |
---|---|
OOoBean()
|
constructor - creates an OOoBean with an implicit connection
|
OOoBean(OfficeConnection)
|
constructor - creates an OOoBean with an explicit connection
|
setOOoStartTimeOut(...)
|
void - sets the timeout for methods which start OpenOffice.org
|
setOOoCallTimeOut(...)
|
void - sets the timeout for other methods
|
SetOOoCheckCycle(...)
|
void - sets repeat period for cyclic OpenOffice.org alive check
|
setOOoConnection(...)
|
void - sets an explicit connection to a OpenOffice.org instance
|
startOOoConnection(...)
|
void - starts a connection with an explicit connection URL
|
isOOoConnected()
|
boolean - returns whether the OOoBean is connected to a OpenOffice.org
|
stopOOoConnection()
|
void - stops the current connection to OpenOffice.org
|
getOOoConnection()
|
OfficeConnection - returns the current connection to OpenOffice.org
|
getMultiServiceFactory()
|
XMultiServiceFactory -- returns the service factory of the connected OpenOffice.org |
getOOoDesktop()
|
XDesktop - returns the desktop object of the connected OpenOffice.org |
clearDocument()
|
void -- resets the Bean to an empty document
|
clear()
|
void - removes the document from the Bean
|
aquireSystemWindow()
|
void - has to be called when the Bean has a parent component which has a valid system window
|
releaseSystemWindow()
|
void -- has to be called before the parent component loses its system window, e.g. before it is removed from its parent omponent
|
loadFromURL()
|
void -- loads a document into the Bean
|
loadFromStream()
|
void -- loads a document from a Java stream int o the Bean
|
loadFromByteArray()
|
void -- loads a document from a byte array into the Bean
|
storeToURL()
|
void - stores the document in the Bean to an URL
|
storeToStream()
|
void - stores the document in the Bean to a stream
|
storeToByteArray()
|
void - stores the document in the Bean to a byte array
|
getFrame()
|
Frame -- returns a wrapper for Frame
|
getController()
|
Controller -- returns a wrapper for Controller
|
getDocument()
|
Document -- returns a wrapper for OfficeDocument
|
setAllBarsVisible()
|
void - sets visibility of all tool bars, known by this Bean
|
set...BarVisible()
|
void - sets visibility of a specific tool bar
|
is...BarVisible()
|
boolean - returns visibility of a specific tool bar
|
Content on this page is licensed under the Public Documentation License (PDL). |