Using getSelectedContent to retrieve the selected text
I have selected three lines of text in a pdf ....
These lines contain three words LEADERSHIP, ECONOMY and LIFESTYLE.
I am using the "PREVIEW_SELECTION_END" event ,this returns the 3 bounding boxes for the lines of text.
I then call the api getSelectedContent and this is working succesfully, but unfortunately the result it is returning is LEADERSHIPECONOMYLIFESTYLE.
As you can see all three lines of text have been concatenated and I can't see how I can turn it into anything meaningful.
Any idea how to get usable strings from getSelectedContent?
TIA
Rob
