The Internal Office Bean API

From Apache OpenOffice Wiki
Jump to: navigation, search



The Office Bean API is exported in two Java interfaces, com.sun.star.comp.beans.OfficeConnection and com.sun.star.comp.beans.OfficeWindow.

Documentation note.png These interfaces are Java interfaces in the com.sun.star.comp.beans package, they are not UNO interfaces.
Documentation note.png Prior to OpenOffice.org 2.0.0 all Office Bean classes were in the com.sun.star.bean package. As of OpenOffice.org 2.0.0 the classes are contained in the com.sun.star.comp.bean package. The classes of the com.sun.star.bean package are still contained in the officebean.jar but they are deprecated. Further development and bug fixing will occur only in the com.sun.star.comp.bean package.

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 OfficeBean structure

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).
Personal tools
In other languages