Prerequisites
From Apache OpenOffice Wiki
< Documentation | DevGuide
The following interfaces must be supported for a component to serve as a chart add-in:
- com.sun.star.lang.XInitialization
- com.sun.star.util.XRefreshable
- com.sun.star.lang.XServiceName
- com.sun.star.lang.XServiceInfo
- com.sun.star.lang.XTypeProvider to access the add-in interfaces from Apache OpenOffice Basic and other interpreted programming languages (optional).
In addition to these interfaces, the following services must be supported and returned in the getSupportedServiceNames() method of com.sun.star.lang.XServiceInfo):
- com.sun.star.chart.Diagram
- A unique service name that identifies the component. This service name has to be returned in the
getServiceName()method of com.sun.star.lang.XServiceName.
| Content on this page is licensed under the Public Documentation License (PDL). |