arimu1 opened a new pull request, #1211: URL: https://github.com/apache/poi/pull/1211
## Summary - Fix `ImageUtils.getDimFromCell` when `hssfUnits == 0` (XSSF/OOXML anchors): use `endD` for trailing space instead of `dim - endD`, matching the semantics of the HSSF branch above it. - Add regression test for a single-cell XSSF anchor where zero offsets previously produced 0-sized dimensions and broke `picture.resize()`. Fixes #1201 ## Test plan - [x] `./gradlew :poi-ooxml:test --tests org.apache.poi.xssf.usermodel.TestXSSFPicture.testGetDimensionFromAnchorSingleCell` - [x] `./gradlew :poi:test --tests org.apache.poi.ss.util.TestImageUtils` Made with [Cursor](https://cursor.com) -- 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]
