for(int i = 0; i < iNumRules.getCount(); i++){
PropertyValue[] aProps = (PropertyValue[]) iNumRules.getByIndex(i);
for (int j = 0 ; j < aProps.length ; ++j)
if (aProps[j].Name.equals ("NumberingType"))
aProps[j].Value = new Short(NumberingType.NUMBER_NONE);
xReplace.replaceByIndex (i, aProps);
}
XPropertySet xProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xText);
xProps.setPropertyValue("NumberingRules", iNumRules);
} catch (Exception ex) {
System.err.println(ex.getLocalizedMessage());