AVDocGetPageText trouble on Mac
Hi
I am using AVDocGetPageText to extract all text on the pages. On Win it works like the documentation says. The callback proc is called twice when I use it like this:
AVDocGetPageText(avDoc, pageNum, NULL, ASAtomFromString("Text"), copyProc, NULL);
First it returns the text with format "Text" and next with "UcsText". Now I can use ASTextFromUnicode to extract text from the page.
BUT, on the Mac the callback is only called once and it only returns "Text". No "UcsText". In the documentation it looks like it should behave the same for both Win and Mac.
How can I get the "UcsText" on the Mac ?
Thanks
Rune
