throws IOException {
List<Entry> entries = wordDoc.getRoot().list();
Entry main = find(entries, "WordDocument");
SeekInputStream mainStream = main.open();
mainStream.position(10);
int flags = Endian.littleChar(mainStream);
boolean complex = (flags & 0x0004) == 0x0004;
boolean tableOne = (flags & 0x0200) == 0x0200;
String tableName = tableOne ? "1Table" : "0Table";
Entry table = find(entries, tableName);