-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
This is:
- a bug report
- a feature request
- not a usage question (ask them on https://stackoverflow.com/questions/tagged/phpword)
Expected Behavior
When reading in a document saved with Word 2016 that contains a table with multiple vertically merged cells, the Cell Style for merged cells should indicate either "Restart" or "Continue".
Current Behavior
When inspecting the read document, the first cell of a rowspan has a vMerge Cell Style of "restart", the subsequent merged cells have a vMerge Cell Style of null. This means there is no way to know those cells should be merged.
Failure Information
Due to the document.xml not explicitly specifying a "continue" value (which is perfectly acceptable in the spec). The Reader is ignoring the w:vMerge tag because it has no w:val attribute.
Context
- PHP version: 7.1.9
- PHPWord version: 0.14.0
Metadata
Metadata
Assignees
Labels
No labels