Expose properties on TextRange for PowerPoint (office.js)

Expose properties on TextRange for PowerPoint (office.js)
2

Upvotes

Upvote

 Dec 18 2021
2 Comments (2 New)
New

Using old interop I can access shape.TextFrame.TextRange.LanguageID. I see the preview of office.js for PowerPoint expose TextRange with a limited set of properties. Any plans to expose LanguageID or other missing properties?

Or if possible provide generic getters/setters as long as you known the property name of an object.

Reason I ask is that I have an old VSTO which sets the same language on all shapes, very useful in multi-national companies where multiple people edit a deck, leading to spell squigglies all over. And would be nice to use this in non-Windows versions of PowerPoint.

Comments
Copper Contributor

The same applies not only for Powerpoint, but also e.g. for Word.
Also Text Direction should be exposed by the API.

Copper Contributor

I'm looking also for other text properties like paragraph line spacing and some of the formatting like superscript, subscript, strikethrough. Ultimately all of the formatting that can be done in the UI should be exposed also in the API otherwise we will always come short.