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

PHPOffice / PHPPresentation / 33426243922
94%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2026 06:44PM 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

31 Aug 2026 06:39PM UTC coverage: 93.901% (+0.02%) from 93.885%
33426243922

push

github

web-flow
PowerPoint2007 Writer and Reader : Write the pattern a pattern fill names, and read it back (#952)

* PowerPoint2007 Writer and Reader : Write the pattern a pattern fill names, and read it back

`a:pattFill` names its pattern with `prst`, and the Writer never wrote the attribute. The
element that came out carried two colours and no pattern -- valid, because the schema has
`prst` optional, so nothing ever said the pattern had gone missing. Every pattern fill this
library has written since patterns were added came out as a plain two-colour nothing.

The seventeen `FILL_PATTERN_*` constants could not have written a pattern either: their
values were the `ST_PatternType` of SpreadsheetML (`darkDown`, `lightGrid`, `mediumGray`),
inherited from PHPExcel, and that vocabulary shares not one value with the
`ST_PresetPatternVal` a presentation names a pattern by. All seventeen were invalid there.

`Fill` now carries the 54 presets the format defines, named after the value they write, and
keeps the seventeen old names as deprecated aliases of the preset each was asking for.
`Fill::PATTERN_TYPES` lists them, which is how the Writer tells a pattern fill from a fill
type that is none of the kinds it knows: a type outside the list is written as it was
before, without an attribute the schema would refuse.

The Reader had no branch for `a:pattFill` at all, so a pattern fill was read as no fill. It
reads one now, with its foreground and background colours, and goes on ignoring an element
that names no preset -- there is no fill type to read that back as.

* Changelog for #952

14 of 14 new or added lines in 2 files covered. (100.0%)

10808 of 11510 relevant lines covered (93.9%)

68.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33426243922.1 31 Aug 2026 06:43PM UTC 141
93.9
GitHub Action Run
Source Files on build 33426243922
  • Tree
  • List 141
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7237bafe on github
  • Prev Build on master (#33425135357)
  • Next Build on master (#33431763213)
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