Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #285: Skip repeated rows and columns when possible
According to the ODF 1.3 spec, repeated columns cannot contain cells which span multiple rows or columns and repeated rows cannot contain vertical merges. Therefore, we can skip repeated rows and columns after the first one while searching for covering cells. Note that while this code should properly handle horizontal merges in repeated rows, such merges are ignored after the first instance of the repeated row in current versions of LibreOffice, OpenOffice, and Excel, so this scenario is unlikely to come up.
- Loading branch information