Skip to content

Conversation

rasamassen
Copy link

@rasamassen rasamassen commented Oct 10, 2025

Description

I don't know how this was effecting other writers, but in RTF, "B" and "C" were the same width, resulting in "D" being below "1" and "2" and "3" being in its own column.

This was due to the following:
"B" -> 1000 width, gridspan 2
"C" -> 1000 width
"D" -> 1000 width

The chart shows C and D below B, but this wasn't possible because C + D was double the width of B. This has been fixed.

Fixes #909 (I don't know if it fixes all of #909), but it at least improves it.

Checklist:

  • My CI is 🟢
  • I have covered by unit tests my new code (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes
  • I have updated the changelog

I don't know how this was effecting other writers, but in RTF, "B" and "C" were the same width, resulting in "D" being below "1" and "2" and "3" being in its own column.

This was due to the following:
"B" -> 1000 width, gridspan 2
"C" -> 1000 width
"D" -> 1000 width

The chart shows C and D below B, but this wasn't possible because C + D was double the width of B. This has been fixed.
@coveralls
Copy link

Coverage Status

coverage: 96.757%. remained the same
when pulling 16f50eb on rasamassen:table-sample
into 0ab0b49 on PHPOffice:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Bug in Sample_09_Tables.php

2 participants