String type = oObj.getContentType();
log.println("Type: " + type);
return type != null && type.indexOf("vnd.sun.star.tdoc") != -1;
}
public boolean _getIdentifier() {
XContentIdentifier xIdent = oObj.getIdentifier();
String id = xIdent.getContentIdentifier();
String scheme = xIdent.getContentProviderScheme();
log.println("Id: " + id);
log.println("Scheme: " + scheme);
return id != null && scheme != null && id.indexOf("vnd.sun.star.tdoc") != -1 && scheme.indexOf("vnd.sun.star.tdoc") != -1;
}