• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPOffice / PHPPresentation / 32835617025
95%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2026 10:11AM UTC
Jobs 1
Files 141
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Aug 2026 10:07AM UTC coverage: 92.558% (+0.005%) from 92.553%
32835617025

push

github

web-flow
The fill of a table row is written, in both Writers (#911)

* The fill of a table row is written, in both Writers

`Row::getFill()` reached the file by accident or not at all. `Row::nextCell()` copies the fill of
the row onto the cell it moves to, so a table walked with `nextCell()` came out banded, while the
same table reached through `getCell()` came out blank -- and a fill set on the row after its cells
were made was lost either way. The order of the calls decided it, silently.

Neither format has a fill on a row to write it to. In OOXML `CT_TableRow` carries a height and
nothing else; the row style of ODF takes a flat `fo:background-color`, no gradient, and LibreOffice
does not draw even that one -- patching it in by hand changes no pixel of the render. So both
Writers now paint a cell that has no fill of its own with the fill of its row, which is where the
formats keep it. A cell that asks for a fill of its own still keeps it.

The ODPresentation Writer needs the gradient of a row defined as well, or the style of the cell
would name a `gradient_*` that is not in the file.

* Tell a cell that was given no fill from one that refused it

A row's fill reaches its cells, but `Fill::FILL_NONE` was doing two jobs:
the state a cell starts in, and the state a cell is put in by asking for no
fill. Reading the first as "take the row's" made the second impossible to
express -- a transparent cell inside a painted row, which is what both
applications write when you ask for one. PowerPoint leaves an untouched
cell's `a:tcPr` empty and writes `a:noFill` for a refusal; LibreOffice
leaves an untouched cell without a `table:style-name` and gives a refusal a
style with `draw:fill="none"`.

So a table `Cell` and a table `Row` are born at `Fill::FILL_UNSET`, and that
is what the Writers resolve against the row. `FILL_NONE` now means what it
says everywhere else in the library: no fill, and none inherited either.

`Row::nextCell()` stops copying the row's fill onto the... (continued)

20 of 20 new or added lines in 6 files covered. (100.0%)

10385 of 11220 relevant lines covered (92.56%)

53.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32835617025.1 25 Aug 2026 10:11AM UTC 141
92.56
GitHub Action Run
Source Files on build 32835617025
  • Tree
  • List 141
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2bffafec on github
  • Prev Build on master (#32833322584)
  • Next Build on master (#32837497651)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc