Using the OOoBean
The Java class OOoBean
can be instantiated directly, or application classes can be derived from this class. If a real Java Bean is to be created, which for example can be used in Java Bean UI builders, it has to be subclassed. The application class then might use the UNO bootstrapping mechanism to find the OOoBean
, Apache OpenOffice and its API classes. This mechanism is not built into OOoBean
itself because it can not be used to find itself. And once the OOoBean
class has been found, you intrinsically also find the Apache OpenOffice installation and the API classes.
A standard Apache OpenOffice is a prerequisite. The Apache OpenOffice executable, as well as the UNO libraries and runtime, is found using the Java Class Loader. Moving or copying the needed class files will not result in a working OOoBean
.
Content on this page is licensed under the Public Documentation License (PDL). |