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

PHPOffice / PHPPresentation / 34204645088
94%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2026 08:52AM UTC
Jobs 1
Files 147
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

08 Sep 2026 08:27AM UTC coverage: 94.102% (+0.01%) from 94.091%
34204645088

push

github

web-flow
ODPresentation Reader : Give a shape the border its style names (#978)

* ODPresentation Reader : Give a shape the border its style names

The Writer writes a shape's border as the stroke of its graphic style -- `draw:stroke`,
`svg:stroke-width`, `svg:stroke-color` and `draw:stroke-dash` -- and nothing read any of the four
back, so every shape loaded from an ODP wore the border it was born with. This is the
ODPresentation half of #969.

The dash carries the pattern in its name, `strokeDash_lgDashDot` and the nine beside it, which is
finer than the three strokes OpenDocument itself has; a name this library did not write, as
LibreOffice's `Dash_20_5`, is taken as a plain dash rather than handed to the border as a pattern.

`getLineStyle()` comes back single or none. OpenDocument has no attribute for a compound line, so
a border written as `LINE_DOUBLE` cannot say so, the way a shadow cannot say its blur.

A shape is born holding its own `Border` and hands it out rather than taking one, so what the style
says is copied onto it.

`svg:stroke-width` goes into the file as centimetres and is now written to six decimals rather than
three: a point is 127/3600 cm, and three decimals lose about a seventieth of a point, enough that
a four point border came back as 3.997.

* ODPresentation Reader : Take a border rather than copy one onto a shape

`Style\Border` holds the dash styles it can be given, so that the Reader is not the
only place that knows them, and `AbstractShape` takes a `Border` as well as handing
one out. `applyShapeBorder()` sets the border the style names instead of copying its
four properties onto the one the shape was born with.

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

11343 of 12054 relevant lines covered (94.1%)

71.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34204645088.1 08 Sep 2026 08:52AM UTC 147
94.1
GitHub Action Run
Source Files on build 34204645088
  • Tree
  • List 147
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f64e4a70 on github
  • Prev Build on master (#34202041239)
  • Next Build on master (#34204758652)
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