tRes.tested("NumberingRules", result);
}
public void _ParaUserDefinedAttributes() {
XNameContainer uda = null;
boolean res = false;
try {
try{
uda = (XNameContainer) AnyConverter.toObject(
new Type(XNameContainer.class),
oObj.getPropertyValue("ParaUserDefinedAttributes"));
} catch (com.sun.star.lang.IllegalArgumentException e){
log.println("ParaUserDefinedAttributes is empty.");
uda = new _ParagraphProperties.OwnUserDefinedAttributes();
}
AttributeData attr = new AttributeData();
attr.Namespace = "http://www.sun.com/staroffice/apitest/Cellprop";
attr.Type = "CDATA";
attr.Value = "true";
uda.insertByName("Cellprop:has-first-alien-attribute", attr);
String[] els = uda.getElementNames();
oObj.setPropertyValue("ParaUserDefinedAttributes", uda);
uda = (XNameContainer) AnyConverter.toObject(
new Type(XNameContainer.class),
oObj.getPropertyValue("ParaUserDefinedAttributes"));
els = uda.getElementNames();
Object obj = uda.getByName("Cellprop:has-first-alien-attribute");
res = true;
} catch (com.sun.star.beans.UnknownPropertyException upe) {
if (isOptional("ParaUserDefinedAttributes")) {
log.println("Property is optional and not supported");
res = true;