Difference between revisions of "Documentation/DevGuide/JavaBean/The Internal Office Bean API"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (talk | contribs) m (FINAL VERSION FOR L10N) |
|||
| Line 9: | Line 9: | ||
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 {{PRODUCTNAME}} {{OO2.0.0}} all Office Bean classes were in the <tt>com.sun.star.bean</tt> package. As of {{PRODUCTNAME}} {{OO2.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. | ||
Revision as of 19:42, 3 July 2018
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). |