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

PHPOffice / PHPPresentation / 32845239352
95%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2026 12:03PM 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 12:00PM UTC coverage: 92.602% (+0.02%) from 92.58%
32845239352

push

github

web-flow
Order the columns of a text shape, instead of always left to right (#926)

* Order the columns of a text shape, instead of always left to right

`rtlCol` on `a:bodyPr` is written as `'0'` at three sites in the PowerPoint2007
Writer, with no setter, no documentation and no test. Only one of the three is on
a shape that can have columns at all: `writeShapeText()`, sixteen lines above the
`numCol` it belongs with. The other two are a table cell and an autoshape, neither
of which has a `setColumns()`, so they stay `'0'`.

ECMA-376 calls the attribute *Columns Right-To-Left*: it orders the columns of a
multi-column text body and says nothing about the direction of the text, which
`a:pPr@rtl` already carries. So a deck whose text reads right to left had its
columns laid out left to right, and no way to say otherwise.

`setColumnsRTL(?bool)` is nullable on purpose, following `setAutoShrinkVertical()`
in the same class. `null`, the default, takes the order from the paragraphs -- all
of them right to left, and there has to be at least one, because "every element
satisfies it" is vacuously true on an empty shape. `true`/`false` is written as
given, which is what makes left-to-right text in right-to-left columns reachable:
a legal state in both formats that deriving the order would have made impossible
to express. `hasColumnsRTL()` gives back what was set, `isColumnsRTL()` gives what
the writers use.

ODF carries the same thing as `style:writing-mode` on the frame's
`style:graphic-properties`, valid there per the schema and written by LibreOffice
itself on every frame it saves. It cannot leak into the text: `writeTxtStyle()`'s
neighbour writes `style:writing-mode` on every paragraph style unconditionally, so
each paragraph always states its own direction. Both writers state the order for
every shape, as the PowerPoint2007 Writer already did, so a value that was never
set comes back said outright after a round trip.

* Cover the two branches the round trip cannot... (continued)

34 of 34 new or added lines in 5 files covered. (100.0%)

10452 of 11287 relevant lines covered (92.6%)

56.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32845239352.1 25 Aug 2026 12:03PM UTC 141
92.6
GitHub Action Run
Source Files on build 32845239352
  • Tree
  • List 141
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 51f05a84 on github
  • Prev Build on master (#32844890294)
  • Next Build on master (#32891891486)
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