Skip to content

Implement ImageUtils.getDimensionFromAnchor variation.#1090

Merged
pjfanning merged 1 commit into
apache:trunkfrom
jaragunde:calculate-dimensions-anchor
May 27, 2026
Merged

Implement ImageUtils.getDimensionFromAnchor variation.#1090
pjfanning merged 1 commit into
apache:trunkfrom
jaragunde:calculate-dimensions-anchor

Conversation

@jaragunde
Copy link
Copy Markdown
Contributor

Add a variation of ImageUtils.getDimensionFromAnchor() that accepts ClientAnchor objects. A Sheet needs to be passed to obtain the cell width and height needed for the calculation. It uses the same code underneath as getDimensionFromAnchor(Picture).

Add a variation of ImageUtils.getDimensionFromAnchor() that accepts
ClientAnchor objects. A Sheet needs to be passed to obtain the cell
width and height needed for the calculation. It uses the same code
underneath as getDimensionFromAnchor(Picture).
Copy link
Copy Markdown
Member

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pjfanning pjfanning merged commit a1f491b into apache:trunk May 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants