M
mhi
Hi,
I want to extract ranges from a paragraph which have the same
formatting. At the moment I solve this problem iterating over all
characters in a paragraph and comparing their formatting(font, color,
bold, italic, ...). Groups of consecutive characters with the same
formatting build a range. The result of my algorithm is a list of
these ranges.
But this is tooooo slow.
Does anyone knows a possibility to extract these ranges in another
way? Is there a substructure under the paragraph object containing
such an info?
Thanks,
Martin
I want to extract ranges from a paragraph which have the same
formatting. At the moment I solve this problem iterating over all
characters in a paragraph and comparing their formatting(font, color,
bold, italic, ...). Groups of consecutive characters with the same
formatting build a range. The result of my algorithm is a list of
these ranges.
But this is tooooo slow.
Does anyone knows a possibility to extract these ranges in another
way? Is there a substructure under the paragraph object containing
such an info?
Thanks,
Martin