Difference between revisions of "Documentation/DevGuide/JavaBean/LocalOfficeConnection and LocalOfficeWindow"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Documentation/Developers Guide/JavaBean for Office Components) |
|||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/Accessibility/Accessibility | |NextPage=Documentation/DevGuide/Accessibility/Accessibility | ||
}} | }} | ||
− | {{DISPLAYTITLE:LocalOfficeConnection and LocalOfficeWindow}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/JavaBean/{{SUBPAGENAME}}}} |
− | The class <code>LocalOfficeConnection</code> implements a connection to a locally running {{ | + | {{DISPLAYTITLE:LocalOfficeConnection and LocalOfficeWindow}} |
+ | The class <code>LocalOfficeConnection</code> implements a connection to a locally running {{AOo}} process that is an implementation of the interface <code>OfficeConnection</code>. Its method <code>createOfficeWindow()</code> creates an instance of the class <code>LocalOfficeWindow</code>, that is an implementation of the interface <code>OfficeWindow</code>. | ||
− | Where <code>LocalOfficeConnection</code> keeps a single connection to the {{ | + | Where <code>LocalOfficeConnection</code> keeps a single connection to the {{AOo}} process, there are multiple, shared <code>LocalOfficeWindow</code> instances for multiple beans. The <code>LocalOfficeWindow</code> implements the embedding of the local {{AOo}} document window into a <code>java.awt.Container</code>. |
{{PDL1}} | {{PDL1}} | ||
[[Category:Documentation/Developer's Guide/JavaBean for Office Components]] | [[Category:Documentation/Developer's Guide/JavaBean for Office Components]] |
Latest revision as of 17:36, 21 December 2020
- The Internal Office Bean API
- OfficeConnection Interface
- OfficeWindow Interface
- ContainerFactory Interface
- LocalOfficeConnection and LocalOfficeWindow
The class LocalOfficeConnection
implements a connection to a locally running Apache OpenOffice process that is an implementation of the interface OfficeConnection
. Its method createOfficeWindow()
creates an instance of the class LocalOfficeWindow
, that is an implementation of the interface OfficeWindow
.
Where LocalOfficeConnection
keeps a single connection to the Apache OpenOffice process, there are multiple, shared LocalOfficeWindow
instances for multiple beans. The LocalOfficeWindow
implements the embedding of the local Apache OpenOffice document window into a java.awt.Container
.
Content on this page is licensed under the Public Documentation License (PDL). |