public void testETextTable() {
IOfficeApplication officeApplication = OfficeApplicationRuntime.getLocalOfficeApplication();
ITextDocument docu = null;
try {
LocalOfficeApplicationConfiguration localOfficeApplicationConfiguration = new LocalOfficeApplicationConfiguration();
localOfficeApplicationConfiguration.setPort("8101");
localOfficeApplicationConfiguration.setApplicationHomePath("d:\\Programme\\OpenOffice.org1.1.3");
officeApplication.setConfiguration(localOfficeApplicationConfiguration);
officeApplication.activate();
docu = (ITextDocument)officeApplication.getDocumentService().loadDocument("file:///d:/java/eclipse/workspace/officeapi/test/testETables.sxw");
ITextTable table = docu.getTextTableService().getTextTables()[0];