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

PHPOffice / PHPPresentation / 32941136472
95%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2026 07:09AM 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

26 Aug 2026 07:06AM UTC coverage: 93.171% (+0.3%) from 92.919%
32941136472

push

github

web-flow
Write the shadow a shape was given, whatever the shape is (#937)

Every `AbstractShape` is born with a `Shadow` and every one of them has a
setter, but only four kinds of shape had a writer that reads it back. A shadow
set on anything else was dropped without a word -- which is
https://github.com/PHPOffice/PHPPresentation/issues/736, open since 2023 for
the autoshape case: "Shadow does not work with AutoShape ... but it works for
RichTextShape".

Measured by putting a visible shadow on one shape of each kind and looking for
it in the output:

                    PowerPoint2007   ODPresentation   HTML
    RichText        yes              yes              no -> yes
    Drawing         yes              yes              yes
    Media           yes              yes              yes
    Chart           yes              no               n/a
    Line            no -> yes        no -> yes        n/a
    AutoShape       no -> yes        n/a              n/a
    Group           no -> yes        n/a              n/a
    Table           n/a              n/a              no -> yes

Six cells, six one-line calls into a container each writer already opens:
`p:spPr` for a line and an autoshape, `p:grpSpPr` for a group,
`style:graphic-properties` for a line, and the `$styles` array the HTML writer
already merges a shadow into for an image.

`a:effectLst` goes after `a:ln`, which is the order `CT_ShapeProperties` wants
and what `writeShapeText()` already does; the ECMA-376 schema rejects it either
way round, so the tests hold the placement as well as the presence.

What is marked `n/a` is not a shadow question. The HTML writer renders four
kinds of shape and no others, so a line, an autoshape and a group have no
element to carry a shadow. The ODPresentation writer does not write an
autoshape at all. A table is a `p:graphicFrame` in PowerPoint and an unstyled
`draw:frame` in ODF, neither of which takes shape properties, and a chart in
ODF is the same unstyled frame; thos... (continued)

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

10506 of 11276 relevant lines covered (93.17%)

58.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32941136472.1 26 Aug 2026 07:09AM UTC 141
93.17
GitHub Action Run
Source Files on build 32941136472
  • Tree
  • List 141
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9f0d6601 on github
  • Prev Build on master (#32939816605)
  • Next Build on master (#32947681076)
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