Difference between revisions of "Documentation/DevGuide/Charts/Prerequisites"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Documentation/Developers Guide/Charts) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/Charts/How Add-Ins Work | |NextPage=Documentation/DevGuide/Charts/How Add-Ins Work | ||
}} | }} | ||
− | {{DISPLAYTITLE:Prerequisites}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Charts/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Prerequisites}} | ||
The following interfaces must be supported for a component to serve as a chart add-in: | The following interfaces must be supported for a component to serve as a chart add-in: | ||
Line 12: | Line 13: | ||
* <idl>com.sun.star.lang.XServiceName</idl> | * <idl>com.sun.star.lang.XServiceName</idl> | ||
* <idl>com.sun.star.lang.XServiceInfo</idl> | * <idl>com.sun.star.lang.XServiceInfo</idl> | ||
− | * <idl>com.sun.star.lang.XTypeProvider</idl> to access the add-in interfaces from {{ | + | * <idl>com.sun.star.lang.XTypeProvider</idl> to access the add-in interfaces from {{AOo}} Basic and other interpreted programming languages (optional). |
In addition to these interfaces, the following services must be supported and returned in the <code>getSupportedServiceNames()</code> method of <idl>com.sun.star.lang.XServiceInfo</idl>): | In addition to these interfaces, the following services must be supported and returned in the <code>getSupportedServiceNames()</code> method of <idl>com.sun.star.lang.XServiceInfo</idl>): |
Latest revision as of 19:37, 20 December 2020
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). |