Object ranges = docProps.getPropertyValue("ColumnLabelRanges");
XLabelRanges lRanges = (XLabelRanges)
UnoRuntime.queryInterface(XLabelRanges.class, ranges);
log.println("Adding at least one element for ElementAccess interface");
CellRangeAddress aRange2 = new CellRangeAddress((short)0, 0, 1, 0, 6);
CellRangeAddress aRange1 = new CellRangeAddress((short)0, 0, 0, 0, 1);
lRanges.addNew(aRange1, aRange2);
oObj = (XLabelRange) AnyConverter.toObject(
new Type(XLabelRange.class),lRanges.getByIndex(0));
} catch (com.sun.star.lang.WrappedTargetException e) {