PowerPoint TextRange divide by formatting #5593
klein-artur
started this conversation in
Ideas
Replies: 1 comment
-
By the way, in the current preview version I see there is a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If a TextRange has multiple formats (for example the first word is bold), it is currently not possible to get subTextRanges by the formatting.
For example if I only want to replace the bold word in a textrange, I currently have to instruct the user to mark it, so I can replace the text in the selected TextRange.
Let's say I have this text:
What I need is to get a list of TextRanges. Let's say a method named
splitByFormatting()
.This would return a list of TextRanges:
That way I can check what passage is the bold one and replace the text. Or I can have an programmatic overview over the formatting of the text.
Beta Was this translation helpful? Give feedback.
All reactions