PHPWord icon indicating copy to clipboard operation
PHPWord copied to clipboard

MsDoc table reader

Open IhostVlad opened this issue 8 years ago • 1 comments

In implementing open an existing text document stored in word 97 (.doc) format, found the following bug: The tables from the original document is not presented in the form of Element structure \ Table with the corresponding hierarchical structure - instead formed a list of sections If you use a new word 2007 format (.docx), the problem does not arise, and elements Element \ Table, Element \ Row and Element \ Cell read properly

In the source code reader doc-file has suspicious string https://github.com/PHPOffice/PHPWord/blob/develop/src/PhpWord/Reader/MsDoc.php#L1930, which judging by the table structures are ignored Is there a proper way to solve the above problem?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

IhostVlad avatar Aug 22 '16 12:08 IhostVlad