OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
685 stars 95 forks source link

Parity between applications - grouping of shapes in PowerPoint #3014

Open MCGods opened 1 year ago

MCGods commented 1 year ago

PowerPoint API does not allow for creating and reading groups. This is both a parity issue between office applications and a key missing API of PowerPoint functionality. 

Your Environment

Expected behavior

I would expect PowerPoint API to be close to Excel, and have methods such as AddGroup on ShapeCollection, and the ability to get ShapeGroups and the shapes within.

Current behavior

Currently, this functionality is missing from PowerPoint. Using getItem on the ShapeCollection does give a shape, however, its type is "unknown" and cannot be used to get its subshapes.

Context

I have been looking at migrating an existing VBA add-in, however not being able to manipulate shape groups is a significant issue. Similar to how excel can leverage this functionality, PowerPoint has even more potential for this feature allowing developers to utilize shapes and easily group and manipulate those.

davidchesnut commented 1 year ago

Hi @MCGods, thanks for this feedback. @wangyun-microsoft or @ononder can you take a look at this request? Thanks!

HarryPi commented 1 year ago

It is the same scenario for us, we are looking to migrate but grouped shapes is a vital behavior we need

CraigGallagher23 commented 1 year ago

Hi, we are facing the same issue we cannot migrate to the new office-js add-ins all together without this functionality and its almost been a year. Can we have an update to this simple issue?

CaptainTammy commented 11 months ago

We are also struggling with this functionality missing. Seems like nothing is happening.

EsterBergen commented 7 months ago

Hi! I think We have this request already- See here: https://github.com/OfficeDev/office-js-docs-reference/issues/1680

We've opened an item in the backlog for this (834224) and will update this thread when more information is available. Thanks!