Something like:
DoVerb("Documents[0].Pages[0].Text.Paragraphs[0].Quad", "Get", vDataIn, vDataOut)
I searched in the ActiveX SDK manual but can't find a good solution for that... The idea is then to apply a simple ordering algorithm to the list (top-bottom an left right).
For example, extracting text from untagged document (bad order):
Code: Select all
Emma and Ben are excited. Emma doesn’t
want to go to Scott’s party now!
We’re in the car park
at Heathrow Airport
in London...
Culture
Spot
Disney World, in Orlando, is the number
Code: Select all
[Box Coords: x1,y1,x2,y2...]
Emma and Ben are excited. Emma doesn’t
want to go to Scott’s party now!
[Box Coords: x1,y1,x2,y2...]
We’re in the car park
at Heathrow Airport
in London...
[Box Coords: x1,y1,x2,y2...]
Culture
Spot
Disney World, in Orlando, is the number
Code: Select all
We’re in the car park
at Heathrow Airport
in London...
Emma and Ben are excited. Emma doesn’t
want to go to Scott’s party now!
Culture
Spot
Disney World, in Orlando, is the number
Thank you in advance (apologize for my bad english

Fabrizio