Parse PDF on MAC

Discussion in 'Mac Programming' started by sheetal.pawar, Aug 25, 2010.

  1. sheetal.pawar macrumors newbie

    Aug 12, 2010

    I need to search a word in a PDF file. Currently I am getting only the page on which the word exists. But the exact location of the word is not known and hence cannot highlight the word.
    Are there any PDF parsers available for MAC which can give the position of the word to be searched ?
    Or any PDF parsers which will convert PDF file text in XML format on MAC ?
  2. GorillaPaws macrumors 6502a


    Oct 26, 2003
    Richmond, VA
    Did you check the PDF Kit docs?

    Also, typically MAC refers to Media Access Control (as in MAC Address); Mac is the computer. It may seem pedantic, but using the proper spellings can greatly reduce confusion in some cases.
  3. Sydde macrumors 68020


    Aug 17, 2009
    All the letters in PC are capitalized, so some might think it should be the same for Macs. As though it were some sort of Macronym.
  4. sheetal.pawar thread starter macrumors newbie

    Aug 12, 2010
    Thanks for the reply and sorry for the confusion. I meant Mac OS.

    At times the PDF text is encoded in some format. Will this search decode the text also ?
    In the PDF kit doc nothing is mentioned on the decoding part.
  5. sheetal.pawar thread starter macrumors newbie

    Aug 12, 2010
    This will work on Mac machines, but will the same APIs work on ipad ?
  6. wrldwzrd89 macrumors G5


    Jun 6, 2003
    Solon, OH
  7. robvas macrumors 68030

    Mar 29, 2009
    While we're getting specific, Mac OS would refer to classic, and Mac OS X would refer to what Macs run these days ;)
  8. sheetal.pawar thread starter macrumors newbie

    Aug 12, 2010
    The APIs mentioned in the link are used. I am able to get the page number on which the search string exists and also able to display the page. But I am not able to highlight the exact search string on the page and bring the document visibility to that string.
  9. ytk macrumors regular

    Jul 8, 2010
    What do you mean? Everybody knows MAC stands for "Mouse Activated Computer". ;)

Share This Page