Thank you for the response. In lots of documents, shapes are used for styling purposes: users can put rectangles colored in red and write inside them important information that immediately sticks in the mind, or they can put a picture in a circle shape so that it better fits the document style (for example in lots of CV templates a circular image is used). I think that lots of processes using shapes can be automated: filling the shape space with a picture would permit to create documents with more complex styles.
For example
- The user can fill some fields about their occupatiom in the UI and, with Office.JS, a Word document with their full CV will be created, with a circular picture of the person at the top and other shapes in the corners of the CV to make it better-looking
- A plugin that does searches on a private image library could add the image directly on the document with rounded corners, and under that write the source. By adding multiple shapes, writing into one of them and grouping them it would be possible
These are things that currently can be done from the Word UI on both Windows and macOS, and I really hope it'll be possible to do that also programmatically using the Office.JS API. Also, for more complex shapes, the ability to group them would be really useful, so that the user doesn't risk to accidentally move only a part of the entire shape