}
}
void collectData() {
TableCollector collectTablesCallback = new TableCollector();
new TraversalUtil(mainDocumentPart, collectTablesCallback);
TextVisitor collectAliasesCallback = new TextVisitor();
new TraversalUtil(mainDocumentPart, collectAliasesCallback);
tables = collectTablesCallback.tableManagers;
texts = collectAliasesCallback.textWrappers;
//collect data from headers
List<SectionWrapper> sectionWrappers = wordprocessingMLPackage.getDocumentModel().getSections();