How to manipulate a table in .odt document? Technical Solution | 2 min read LibreOffice Basic can use the object model of Open Office. Take the ThisComponent object which is the active document. It has a method to get the tables getTextTables.