log.println( "getting Drawpage" );
XDrawPagesSupplier oDPS = (XDrawPagesSupplier)
UnoRuntime.queryInterface(XDrawPagesSupplier.class, xDrawDoc);
XDrawPages the_pages = oDPS.getDrawPages();
for (int i = 1; i < 10; i++){
the_pages.insertNewByIndex(i);
}
XIndexAccess oDPi = (XIndexAccess)
UnoRuntime.queryInterface(XIndexAccess.class,the_pages);
XDrawPage oDrawPage = null;