Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Group shape to allow moving all contained shapes at once. #690

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

DennisBirkholz
Copy link
Contributor

This pull requests modifies the Group container shape so moving it around moves all contained shapes with it.
To make this work reliably all offsets, extents and dimensions are calculated based on the contained shapes and not cached anymore.
I also fixed the Group writing part in the PowerPoint2007 writer which used the extentX/Y methods to get the width and height. (The XML nodes/attributes are named really misleading here)

Thank you for considering this contribution and thank you for your work!

@auto-assign auto-assign bot requested a review from Progi1984 December 8, 2021 17:11
@DennisBirkholz DennisBirkholz changed the title Improve Group shape to allow moving all contained shapes at one. Improve Group shape to allow moving all contained shapes at once. Dec 8, 2021
OffsetX/Y, ExtentX/Y, Width and Height are always calculated to prevent desync between Group and contained shapes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants