}
// MXD properties
PropertySet docInfo = stub.getDocumentInfo();
if (docInfo != null) {
PropertySetProperty[] psps = docInfo.getPropertyArray();
if (psps != null) {
for (PropertySetProperty psp: psps) {
String key = Val.chkStr(psp.getKey());
String value = "";
Object oVal = psp.getValue();