1 Reply Latest reply on Apr 11, 2010 8:53 AM by Steve L Walker

    Search for text in a PDF

    crich2784 Level 1

      Is there a Livecycle component that will help me find the pages where a phrase is found?  If so, what is it?  And, can you provide an example?

        • 1. Re: Search for text in a PDF
          Steve L Walker Level 5

          Charles,

           

          Take a look at using the DocumentText element.

           

          <DDX ...>
          <DocumentText mode="WithQuads" result="text.xml">
          <PDF source="inDoc"/>
          </DocumentText>
          </DDX>

           

          This example returns text.xml which is a word list xml document. It can output words per page (the default) or it can output the location for each word by setting the mode to "WithQuads".

           

          Steve