To extract tables from Microsoft Office Word document getStructure method is used. This method returns XML representation of the document. Tables are represented by “table” tag. For more details, see Extract text structure.
Warning getStructure method returns null value if text structure Extraction isn’t supported for the document. For example, text structure Extraction isn’t supported for TXT files. Therefore, for TXT file getStructure method returns null. If Microsoft Office Word document has no text, getStructure method returns an empty org....Usage / Extract data from various formats / Extract data from...Microsoft Office Word documents / Extract tables from Microsoft Office...