208209210211212213214215216217218
else{ int pos = tables.indexOf(getTable((CTTbl)o))+1; tables.add(pos,newT); } int i=0; cursor = t.newCursor(); while(cursor.toPrevSibling()){ o =cursor.getObject(); if(o instanceof CTP || o instanceof CTTbl) i++; }
215216217218219220221222223224225
o =cursor.getObject(); if(o instanceof CTP || o instanceof CTTbl) i++; } bodyElements.add(i, newT); cursor = t.newCursor(); cursor.toEndToken(); return newT; } return null; }
419420421422423424425426427428429
426427428429430431432433434435436
402403404405406407408409410411412
409410411412413414415416417418419
607608609610611612613614615616617
614615616617618619620621622623624
206207208209210211212213214215216
213214215216217218219220221222223