Difference between revisions of "Documentation/DevGuide/JavaBean/The Internal Office Bean API"
From Apache OpenOffice Wiki
< Documentation | DevGuide
(Initial author Sun Microsystems, Inc.) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/JavaBean/OfficeConnection Interface | |NextPage=Documentation/DevGuide/JavaBean/OfficeConnection Interface | ||
}} | }} | ||
− | {{DISPLAYTITLE:The Internal Office Bean API}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/JavaBean/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:The Internal Office Bean API}} | ||
The Office Bean API is exported in two Java interfaces, <code>com.sun.star.comp.beans.OfficeConnection</code> and <code>com.sun.star.comp.beans.OfficeWindow</code>. | The Office Bean API is exported in two Java interfaces, <code>com.sun.star.comp.beans.OfficeConnection</code> and <code>com.sun.star.comp.beans.OfficeWindow</code>. | ||
− | {{ | + | {{Note|These interfaces are Java interfaces in the com.sun.star.comp.beans package, they are not UNO interfaces.}} |
− | {{ | + | {{Note|Prior to OpenOffice.org 2.0.0 all Office Bean classes were in the <tt>com.sun.star.bean</tt> package. As of OpenOffice.org 2.0.0 the classes are contained in the <tt>com.sun.star.comp.bean</tt> package. The classes of the <tt>com.sun.star.bean</tt> package are still contained in the ''officebean.jar'' but they are deprecated. Further development and bug fixing will occur only in the <tt>com.sun.star.comp.bean</tt> package.}} |
An implementation of <code>com.sun.star.comp.beans.OfficeConnection</code> is provided in the class <code>com.sun.star.comp.beans.LocalOfficeConnection</code>. The class <code>com.sun.star.comp.beans.LocalOfficeWindow</code> implements <code>com.sun.star.comp.beans.OfficeWindow</code>. The relationship between the Office Bean interfaces and their implementation classes is shown in the illustration below. | An implementation of <code>com.sun.star.comp.beans.OfficeConnection</code> is provided in the class <code>com.sun.star.comp.beans.LocalOfficeConnection</code>. The class <code>com.sun.star.comp.beans.LocalOfficeWindow</code> implements <code>com.sun.star.comp.beans.OfficeWindow</code>. The relationship between the Office Bean interfaces and their implementation classes is shown in the illustration below. | ||
Line 19: | Line 20: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category: JavaBean for Office Components]] | + | |
+ | [[Category:Documentation/Developer's Guide/JavaBean for Office Components]] |
Latest revision as of 17:34, 21 December 2020
- The Internal Office Bean API
- OfficeConnection Interface
- OfficeWindow Interface
- ContainerFactory Interface
- LocalOfficeConnection and LocalOfficeWindow
The Office Bean API is exported in two Java interfaces, com.sun.star.comp.beans.OfficeConnection
and com.sun.star.comp.beans.OfficeWindow
.
These interfaces are Java interfaces in the com.sun.star.comp.beans package, they are not UNO interfaces. |
An implementation of com.sun.star.comp.beans.OfficeConnection
is provided in the class com.sun.star.comp.beans.LocalOfficeConnection
. The class com.sun.star.comp.beans.LocalOfficeWindow
implements com.sun.star.comp.beans.OfficeWindow
. The relationship between the Office Bean interfaces and their implementation classes is shown in the illustration below.
The following sections describe the Office Bean interfaces OfficeConnection
and OfficeWindow
. Refer to the section Using the OOoBean for an explanation of how the implementation classes are used.
Content on this page is licensed under the Public Documentation License (PDL). |