protectedbyte[] getImplementationID(XInterface ifc) { byte[] res = newbyte[0];
XTypeProvider provider = UnoRuntime.queryInterface(XTypeProvider.class, ifc); if (provider != null) {
res = provider.getImplementationId();
} return res;
}
protectedboolean checkImplementationID(XInterface org, XInterface clone) { boolean res = Arrays.equals(getImplementationID(org), getImplementationID(clone)); if (res && getImplementationID(org).length > 0) {
log.println("ImplementationID equals the clone has the same id as the original Object");
log.println("------------------------------------------------------------------------");
} return res;
}
protected String getImplementationName(XInterface ifc) {
String res = "";
XServiceInfo info = UnoRuntime.queryInterface(XServiceInfo.class, ifc); if (info != null) {
res = info.getImplementationName();
} return res;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.