pjfanning opened a new pull request, #1335:
URL: https://github.com/apache/poi/pull/1335

   Fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=69522
   
   `XSLFFreeformShape.setPath` (also reached via `SLGraphics.fill`, the 
reporter's route) failed with `XmlComplexContentImpl cannot be cast to 
CTPath2DQuadBezierTo` for any path containing a quadratic curve when 
`poi-ooxml-lite` is on the classpath: the `CTPath2DQuadBezierTo` interface was 
in the ooxml-lite report, but nothing exercised `addNewQuadBezTo()`, so 
`CTPath2DQuadBezierToImpl` and its `.xsb` type entry were missing from the lite 
jar. Every other path segment type (`moveTo`, `lnTo`, `cubicBezTo`, `arcTo`, 
`close`) was already covered.
   
   Adds a `TestXSLFFreeformShape` test that round-trips a path with a line, a 
quadratic and a cubic curve through `setPath`/`getPath` and through 
`SLGraphics.fill` on a group shape; running it regenerated 
`ooxml-lite-report.clazz`/`.xsb` with the missing entries.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to