// a list binding for cell range C1-C5
final short listSourceSheet = (short)1;
final short column = (short)0;
final short topRow = (short)0;
final short bottomRow = (short)4;
XListEntrySource entrySource = document.createListEntrySource(
listSourceSheet, column, topRow, bottomRow );
// bind it to the list box
XListEntrySink consumer = (XListEntrySink)UnoRuntime.queryInterface(
XListEntrySink.class, listBox );