for (int i = 0; i < props.length; i++) {
String pName = props[i].Name;
try {
PropertyState state = pState.getPropertyState(pName);
if (state.equals(PropertyState.DIRECT_VALUE)) {
if (isUsable(pName)) direct.add(pName);
}
} catch (com.sun.star.beans.UnknownPropertyException e) {
log.println("Property '" + pName + "'");
}